problemduring posting to moderated groups

Todd Olson tco2 at cornell.edu
Mon Mar 27 21:40:03 UTC 2000


Hi

I've finally twigged to the fact that our users are getting error messages
when posting messages to moderated groups.  Here is an example 
from MT-Newswatcher on a Mac, but other news clients report the same thing.

>An error occurred when NewsWatcher tried to send a command to your news server.
>
>NewsWatcher sent the following command:
>POST
>
>The server sent the following response:
>441 Mailer exited with status -1 -- Article might not have been mailed

However the message is correctly forwarded to the moderator.
The sendmail logs show nothing unusual. (just a line for the message from news
and a line for the message being sent out to the moderator (and being accepted))

The news.debug logs show "Mailer exited with status -1" message.

The line that generates the "Mailer exited with ..." is in inews.
I'm having a hard time figuring what is going on.

1) I can repeat the problem by posting to a moderated group with a news client
2) It is unclear if I can repeat the problem with inews on the command line
3) I have truss-ed the inews on a command line, but I am not knowledgeable
   enough to figure out what is wrong.  It seems that sendmail is getting
   called correctly ....  (See truss excerpt below)

I'm running inn 2.2-1999-12-21-03-02
on solaris 2.6
compiled with Sun's CC

Any hints as to what I'm doing wrong would be appreciated.

Regards,
Todd Olson
Cornell University


[...]
15497:  execve("/bin/sh", 0xEFFFEE20, 0x00045C40)  argc = 3
15497:   argv: sh -c
15497:    /l/S/05/inn/lbin/sendmail -oi comp-protocols-dns-bind at moderators.isc.o
rg
[...]
15497:  brk(0x000387F0)                                 = 0
15497:  brk(0x000389F0)                                 = 0
15497:  ioctl(2, TCGETA, 0xEFFFF86C)                    = 0
15497:          iflag=0022402 oflag=0014005 cflag=0000275 lflag=0105073 line=0
15497:              cc:  003 034 177 025 004 000 000 000
15497:  ioctl(-1, TCGETA, 0xEFFFF86C)                   Err#9 EBADF
15497:  brk(0x00038BF0)                                 = 0
15497:  fork()                                          = 15499
15499:  fork()          (returning as child ...)        = 15497
15499:  getpid()                                        = 15499 [15497]
15499:  brk(0x00038EF0)                                 = 0
15499:  brk(0x000391F0)                                 = 0
15499:  execve("/l/S/05/inn/lbin/sendmail", 0x000388FC, 0x0003890C)
15499:          *** cannot trace across exec() of /l/S/05/inn/lbin/sendmail ***
15493:  close(7)                                        = 0
15493:  fstat64(8, 0xEFFFE078)                          = 0
15493:      d=0x03000000 i=8897787 m=0010000 l=0  u=10001 g=20001 sz=0
15493:          at = Mar 27 13:43:43 EST 2000  [ 954182623 ]
15493:          mt = Mar 27 13:43:43 EST 2000  [ 954182623 ]
15493:          ct = Mar 27 13:43:43 EST 2000  [ 954182623 ]
15493:      bsz=5120  blks=0     fs=fifofs
15493:  ioctl(8, TCGETA, 0xEFFFE004)                    Err#22 EINVAL
15493:  write(8, 0x00048B64, 47)                        = 47
15493:     T o :   c o m p - p r o t o c o l s - d n s - b i n d @ m o d e
15493:     r a t o r s . i s c . o r g\n
15493:  write(8, 0x00048B64, 45)                        = 45
15493:     P a t h :   n e w s s t a n d . c i t . c o r n e l l . e d u !
15493:     n o t - f o r - m a i l\n
15493:  write(8, 0x00048B64, 23)                        = 23
15493:     F r o m :   t c o 2 @ c o r n e l l . e d u\n
15493:  write(8, 0x00048B64, 36)                        = 36
15493:     N e w s g r o u p s :   c o m p . p r o t o c o l s . d n s . b
15493:     i n d\n
15493:  write(8, 0x00048B64, 18)                        = 18
15493:     S u b j e c t :   t e s t   # 1 1\n
15493:  write(8, 0x00048B64, 33)                        = 33
15493:     D a t e :   2 7   M a r   2 0 0 0   1 3 : 4 3 : 3 8   - 0 5 0 0
15493:    \n
15493:  write(8, 0x00048B64, 33)                        = 33
15493:     O r g a n i z a t i o n :   C o r n e l l   U n i v e r s i t y
15493:    \n
15493:  write(8, " L i n e s :   2\n", 9)               = 9
15493:  write(8, 0x00048B64, 36)                        = 36
15493:     S e n d e r :   n e w s @ n e w s 0 1 . c i t . c o r n e l l .
15493:     e d u\n
15493:  write(8, 0x00048B64, 50)                        = 50
15493:     M e s s a g e - I D :   < 8 b o a 4 q $ f 4 5 $ 1 @ n e w s 0 1
15493:     . c i t . c o r n e l l . e d u >\n
15493:  write(8, "\n T e s t   # 1 1\n\n", 11)          = 11
15493:  close(8)                                        = 0
15497:  waitid(P_PID, 15499, 0xEFFFF768, WEXITED|WTRAPPED|WNOWAIT) = 0
15497:        siginfo: SIGCLD CLD_EXITED pid=15499 status=0x0000
15497:  ioctl(0, TIOCGPGRP, 0xEFFFF724)                 Err#22 EINVAL
15497:  getpgid(15499)                                  = 15492
15497:  ioctl(0, TIOCGPGRP, 0xEFFFF724)                 Err#22 EINVAL
15497:  waitid(P_PID, 15499, 0xEFFFF768, WEXITED|WTRAPPED) = 0
15497:        siginfo: SIGCLD CLD_EXITED pid=15499 status=0x0000
15497:  llseek(0, 0, SEEK_CUR)                          Err#29 ESPIPE
15497:  _exit(0)
15493:  waitid(P_PID, 15497, 0xEFFFEDE0, 0403   )       = 0
15493:        siginfo: SIGCLD CLD_EXITED pid=15497 status=0x0000
15493:  write(6, " q u i t\r\n", 6)                     = 6
15493:  read(5, " 2 0 5   .\r\n", 1016)                 = 7
15493:  llseek(5, 0, SEEK_CUR)                          Err#29 ESPIPE
15493:  close(5)                                        = 0
15493:  close(6)                                        = 0
15493:  llseek(0, 0, SEEK_CUR)                          = 180374
15493:  _exit(0)




More information about the inn-workers mailing list