Empty envelope from when calling sendmail
Marcel Janssen <maja <at> oce.nl>
2000-11-01 14:45:02 GMT
Hi,
We use procmail to filter all our mail. When sendmail processes mail, it
attaches a pseudo-domain ".PROCMAIL" and uses the procmail mailer. In the
procmailrc file we scan on subject and if there is no match, the mail is
send back tosendmail using the rule:
:0 # Hand back to sendmail.
! -v -oi -f "$ <at> "
Normally this has the following sendmail call as a result ( from the
procamil log):
procmail: Executing
"/usr/lib/sendmail,-oi,-oi,-f,sender <at> fromaddress,recipient <at> PROCMAIL"
and this works.
However, if the mail is coming from <> ( MAILER-DAEMON ) , we get the
following error:
Oct 27 18:08:25 smtp sendmail[8725]: SAA08725: from=<>, size=7836,
class=0,pri=37836, nrcpts=1,msgid=<51117DC811D0D311902E00508B8B9DD7CEBD15 <at> exchange02>,
proto=ESMTP, relay=smtp-opco [x.x.x.x]
Oct 27 18:08:26 smtp sendmail[8727]: SAA08725: to=<user <at> domain.com>,delay=00:00:01,
xdelay=00:00:00, mailer=procmail,relay=/etc/procmailrcs/filter, stat=Sent
Oct 27 18:08:26 smtp sendmail[8729]: SAA08729: setsender: : invalid or unparseable,
received from root <at> localhost
Oct 27 18:08:26 smtp sendmail[8729]: SAA08729: from=root, size=8047,class=0,
pri=38047, nrcpts=1,msgid=<51117DC811D0D311902E00508B8B9DD7CEBD15 <at> exchange02>,
relay=root <at> localhost
(Continue reading)