fetchmail-friends
[Top] [All Lists]

[fetchmail]Trouble getting mail from <MAILER-DAEMON>

2002-05-21 03:08:08
I'm having trouble getting fetchmail to retreive this message:

    Return-Path: <MAILER-DAEMON>
    Received: from there (gfn.org [207.73.176.178])
              by 2search2.com (8.10.2/8.10.2) with ESMTP id g4L9VRk01637
              for <sgifford(_at_)suspectclass(_dot_)com>; Tue, 21 May 2002 
05:31:33 -0400
    Date: Tue, 21 May 2002 05:31:33 -0400
    Message-Id: <200205210931(_dot_)g4L9VRk01637(_at_)ns1(_dot_)prevo(_dot_)net>
    X-UIDL: a+k!!C8k"!`WD!!F7`"!
    
    this is a test of a bounce message.

I get an error like this:

    reading message 2 of 5 (1954 octets) fetchmail: SMTP error: 553 5.1.8 
<MAILER-DAEMON(_at_)216(_dot_)12(_dot_)213(_dot_)139>... Domain of sender 
address MAILER-DAEMON(_at_)216(_dot_)12(_dot_)213(_dot_)139 does not exist
    fetchmail: mail from FETCHMAIL-DAEMON(_at_)gfn(_dot_)org bounced to 
MAILER-DAEMON
    . flushed

My .fetchmailrc looks like this:

    poll 216.12.213.139 protocol pop3 
      no dns,
      no envelope,
      user sgifford there is swgsh here
      fetchall

It seems that fetchmail is rewriting the unqualified MAILER-DAEMON
envelope sender to MAILER-DAEMON(_at_)216(_dot_)12(_dot_)213(_dot_)139(_dot_)  
Since that's not the
correct syntax for saying a user is at an IP address (the address
should be in square-brackets), my local mail server assumes that this
is a domain name, tries to look it up, fails, and rejects the message.

I tried chaning my .fetchmailrc to:

    poll [216.12.213.139] protocol pop3 

but that doesn't work, either.  I also tried using the "-n" flag, and
that didn't make a difference.

Does anybody have any idea how to fix this, apart from rewriting my
.fetchmailrc to use a domain name?  My hosting provider's DNS is a
little flakey these last few days, and I'd like to use the IP address
until things get a bit more stable.

Thanks for any advice,

----ScottG.