From: Rob M. <rob...@gm...> - 2007-08-29 20:37:55
|
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 :) -- Please keep list traffic on the list. Rob MacGregor Whoever fights monsters should see to it that in the process he doesn't become a monster. Friedrich Nietzsche |