procmail
[Top] [All Lists]

Empty envelope from when calling sendmail

2000-11-01 09:30:19
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 "$@"


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(_dot_)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
Oct 27 18:08:27 smtp sendmail[8731]: SAA08729: 
to=user(_at_)domain(_dot_)com(_dot_)PROCMAIL, 
delay=00:00:01, xdelay=00:00:01, mailer=uucp-uudom, relay=smtp-extern,
stat=Sent

How do we tell sendmail (8.9.3 btw ) to include MAILER-DAEMON as
envelope-from or how do we tell procmail to correctly include the 
'<>' sending address when calling sendmail?


Regards,

Marcel Janssen
Marc Albers

--

_______________________________________________
procmail mailing list
procmail(_at_)lists(_dot_)RWTH-Aachen(_dot_)DE
http://MailMan.RWTH-Aachen.DE/mailman/listinfo/procmail

<Prev in Thread] Current Thread [Next in Thread>