From: Neal B. <ndb...@gm...> - 2007-08-30 02:02:47
|
On Wednesday 29 August 2007, Rob MacGregor wrote: > On 8/29/07, Neal Becker <ndb...@gm...> wrote: > > I'm using fetchmail with msmtp as mda: > > > > poll host proto imap user me password ... mda "/usr/bin/msmtp -i -f %F > > nb...@nb..." > > > > Problem is: > > > > Aug 29 11:48:14 host=10.4.0.1 tls=off auth=off from=<> > > recipients=nb...@nb... smtpstatus=501 smtpmsg='501 <<>>: > > missing or malformed local part' errormsg='envelope from address <> not > > accepted by the server' exitcode=EX_DATAERR > > > > These same messages just keep accumulating. Every time fetchmail runs, it > > tries again the same deliveries. How do I teach it these are permanent > > failures? > > I suspect you need to ensure that msmtp returns a status of zero for > permanent failures (see the MDA option in the man page). > > Of course, you're failing to comply with the RFCs by refusing <> as a > sender :) Acutally, it now appears the reason for this is that exim was set to: require verify = sender which is the default. According to exim spec: require verify = sender This statement requires the sender address to be verified before any subsequent ACL statement can be used. If verification fails, the incoming recipient address is refused. |