On Sun, 19 Oct 2003, Christian G. Warden wrote:

>Try applying this patch, and then check the error log to see if you can
>glean anymore information as to why sendmail is failing.

10:04pm dbmail-1.2#grep send_reply /var/log/maillog
Oct 19 21:58:31 bigguy dbmail/smtp[21389]: send_reply(): found
sendmail command to be [/usr/sbin/sendmail]
Oct 19 21:58:31 bigguy dbmail/smtp[21389]: send_reply(): found
SUBJECT [test]
Oct 19 21:58:31 bigguy dbmail/smtp[21389]: send_reply(): found FROM
[Butch Evans <[EMAIL PROTECTED]>]
Oct 19 21:58:31 bigguy dbmail/smtp[21389]: send_reply(): header
fields scanned; opening pipe to sendmail
Oct 19 21:58:31 bigguy dbmail/smtp[21389]: send_reply(): sending
data
Oct 19 21:58:31 bigguy dbmail/smtp[21389]: send_reply(): pipe closed
Oct 19 21:58:31 bigguy dbmail/smtp[21389]: send_reply(): reply could
not be sent: sendmail error
Oct 19 22:03:10 bigguy dbmail/smtp[22857]: send_reply(): found
sendmail command to be [/usr/sbin/sendmail]
Oct 19 22:03:10 bigguy dbmail/smtp[22857]: send_reply(): found
SUBJECT [test]
Oct 19 22:03:10 bigguy dbmail/smtp[22857]: send_reply(): found FROM
[Butch Evans <[EMAIL PROTECTED]>]
Oct 19 22:03:10 bigguy dbmail/smtp[22857]: send_reply(): header
fields scanned; opening pipe to sendmail
Oct 19 22:03:10 bigguy dbmail/smtp[22857]: send_reply(): sending
data
Oct 19 22:03:10 bigguy dbmail/smtp[22857]: send_reply(): pipe closed
Oct 19 22:03:10 bigguy dbmail/smtp[22857]: send_reply(): reply could
not be sent: error executing /usr/sbin/sendmail [Undefined error: 0]
Oct 19 22:04:46 bigguy dbmail/smtp[23171]: send_reply(): found
sendmail command to be [/usr/local/bin/trapmail.pl]
Oct 19 22:04:46 bigguy dbmail/smtp[23171]: send_reply(): found
SUBJECT [test]
Oct 19 22:04:46 bigguy dbmail/smtp[23171]: send_reply(): found FROM
[Butch Evans <[EMAIL PROTECTED]>]
Oct 19 22:04:46 bigguy dbmail/smtp[23171]: send_reply(): header
fields scanned; opening pipe to sendmail
Oct 19 22:04:46 bigguy dbmail/smtp[23171]: send_reply(): sending
data
Oct 19 22:04:46 bigguy dbmail/smtp[23171]: send_reply(): pipe closed
Oct 19 22:04:46 bigguy dbmail/smtp[23171]: send_reply(): reply could
not be sent: error executing /usr/local/bin/trapmail.pl [Undefined
error: 0]

FWIW...
10:24pm dbmail-1.2#ls -lA /var/log/trapmail.log
-rwxrwxrwx  1 root  wheel  0 Oct 19 22:21 /var/log/trapmail.log

root on bigguy
10:24pm dbmail-1.2#ls -lA /usr/local/bin/trapmail.pl
-rwxrwxrwx  1 root  wheel  140 Oct 19 21:55
/usr/local/bin/trapmail.pl

root on bigguy
10:24pm dbmail-1.2#trapmail.pl <pipe.c

root on bigguy
10:24pm dbmail-1.2#diff pipe.c /var/log/trapmail.log

root on bigguy
10:25pm dbmail-1.2#

When I do "su dbmail && /usr/local/bin/trapmail.pl <pipe.c", it will
insert a message from somewhere into the trapmail.log???  Perhaps it
is a misuse of the su command on my part.  Not sure.  The log file
still does not show any calls to send_reply() other than those
listed above.

 --
Butch Evans
BPS Networks
Bernie, MO
573.293.2638

Reply via email to