From: Eddie <st...@at...> - 2007-01-25 21:55:58
|
On Thursday 25 January 2007 12:28, Rob MacGregor wrote: > On 1/25/07, Eddie <st...@at...> wrote: > > I've been running some tests, for about 3 days now, using fetchmail, in > > daemon mode, to pull my mail down from a POP server every 10 minutes, and > > then pass it off to procmail. As far as I can make out, reading the man > > pages, I am running in singledrop-mode. This appears to work fine, > > except on one or two e-mails, I got the following error: > > > > Jan 24 11:51:23 The-Tardis sm-mta[22324]: l0OJpNXo022324: > > ruleset=check_mail, arg1=<ke...@la...""chantelfisher" > > ame...@sh...">, > > relay=localhost [127.0.0.1], reject=553 5.1.8 > > <ke...@la...""chantelfisher" ame...@sh...">... Domain of > > sender address ke...@la...chantelfisher ame...@sh... does > > not exist > > Sendmail generates a permanent failure as the sender's address doesn't > resolve. > > > Jan 24 11:51:23 The-Tardis fetchmail[22142]: SMTP error: 553 5.1.8 > > <ke...@la...""chantelfisher" ame...@sh...">... Domain of > > sender address ke...@la...chantelfisher ame...@sh... does > > not exist Jan 24 11:51:23 The-Tardis sm-mta[22324]: l0OJpNXo022324: > > from=<ke...@la...""chantelfisher" ame...@sh...">, > > size=2187, class=0, nrcpts=0, proto=ESMTP, daemon=MTA, relay=localhost > > [127.0.0.1] Jan 24 11:51:23 The-Tardis fetchmail[22142]: flushed > > Fetchmail drops it on the floor, as per the man page (see SMTP/ESMTP > ERROR HANDLING). > > > In this snippet, 2 messages were retrieved from the server. For the > > first one, it looks like sendmail tried to deliver the mail, and failed, > > instead of putting it into the mailbox for eddie. > > I fail to see the problem. Sendmail is doing what you've told it to - > rejecting emails with a sender domain that doesn't resolve. Fetchmail > is doing what it's supposed to - dropping emails that the SMTP server > rejects with an error code of 553. OK, I guess it was my misunderstanding of exactly how sendmail works. :-( I'd assumed that fetchmail would direct all mail, regardless, to my inbox, which I now realise it is. What I didn't know, was that even though sendmail *is* trying to deliver it locally, it still validates the sender domain. So, it was a validation that failed, not an attempt at sending that failed. Thanks for the explanation. -- Cheers |