fetchmail-friends
[Top] [All Lists]

Re: [fetchmail]Fetchmail refuses to deliver occasional junk mail messsages

2002-04-26 02:13:44
On Fri, Apr 26, 2002 at 08:51:14AM +0000, Rob MacGregor wrote:
From: Chris Green <cgreen(_at_)x-1(_dot_)net>

Every so often I get a piece of junk mail which gets permanently stuck
on the POP3 server because fetchamil refuses to collect it, it
produces error messages as follows:-

    reading message 2 of 3 (1260 octets)
    fetchmail: SMTP> MAIL FROM:<postmaster(_at_)uk> SIZE=1260
    fetchmail: SMTP< 250 2.1.0 <postmaster(_at_)uk>... Sender ok
    fetchmail: SMTP> RCPT TO:<chris(_at_)localhost>
    fetchmail: SMTP< 501 5.1.8 <chris(_at_)localhost>... Domain of sender 
address
postmaster(_at_)uk does not exist

Your SMTP server is rejecting the email because the domain isn't valid.  If 
you're feeling brave, set 501 as a spam indicator (in which case all email 
from invalid domains will be deleted).

Thanks for the explanation.  In the case that occurred just yesterday
it was a misconfiguration in the sender's mail set up, they had their
"Return-Path:" set tp "postmaster(_at_)uk", I'd already spotted that and 
told them.

The fatchmail man page says "The  fetchmail code recognizes and
discards the message on any of a list of responses that  defaults  to
[571,  550, 501, 554] but can....".  I've not changed this so why
isn't the mail deleted?


Alternatively, tell your mail server to accept domains that don't resolve.

Not easy, I'm just a user here not the sysadmin.

-- 
Chris Green (chris(_at_)areti(_dot_)co(_dot_)uk)
  Home: chris(_at_)isbd(_dot_)co(_dot_)uk                Work: 
cgreen(_at_)bcs(_dot_)org(_dot_)uk
  WWW: http://www.isbd.co.uk/