Gossamer Forum
Home : General : Perl Programming :

returned messages and sendmail

Quote Reply
returned messages and sendmail
I can't seem to find a way to have sendmail report back bounced email messages. I've tried the following solution from another post here:



$mailprog = "/usr/sbin/sendmail -f me\@mydomain.com -t";

But that simply isn't working. The info is appearing in the emails, but the destination servers are not sending back the info to the me@mydomain.com address I've provided.

I saw another posting about pulling this data out of sendmail logs, but I haven't got a clue as to where to start looking for those.

Any ideas?

Thanks in advance....

Stefan
Quote Reply
Re: [slehmann] returned messages and sendmail In reply to
/var/log/sendmail

?

- wil
Quote Reply
Re: [slehmann] returned messages and sendmail In reply to
Have you tried printing a return path header?

print MAIL "Return-Path: me\@here.com\n";