On Sun, 19 Oct 2003, Christian G. Warden wrote: >On Sun, Oct 19, 2003 at 10:26:21PM -0500, Butch Evans wrote: >> 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. > >Try `su -c "/usr/local/bin/trapmail.pl < pipe.c" dbmail`.
Nothing shows up in the log when I do this. I don't think it is a permissions problem anyway. I found where the messages were coming from. They were bounce messages (dbmail uses the sendmail config item to bounce messages). So, dbmail is capable of running the trapmail.pl file (and Postfix's sendmail) for bounce, but not for auto_replies. >You might want to try running dbmail-smtp directly using strace or >similar. Not sure how to do this. Nor am I familiar with what to look for if I did it. >You might also want to post the relevant portion of your postfix >configuration. I'm not familiar with postfix, but perhaps someone on >the list will notice a red flag. Nothing is really relevant to this problem. The Postfix sendmail is different from the "real" sendmail. This is not a postfix configuration option, but is simply a fact. I can live with "it does not work", but would like to know if ANYONE using postfix has gotten this to work. How about anyone using any MTA? -- Butch Evans BPS Networks Bernie, MO 573.293.2638
