fetchmail-friends
[Top] [All Lists]

[fetchmail] Problems when > 1 '@' in Received: header

2003-06-29 22:49:54
Greetings,

I'm using fetchmail 6.2.1 in multi-drop mode, and have had no unforseeable problems with it up until now.

Recently my ISP have outsourced their mail services, and for some bizarre reason the new MDA is putting an @ symbol in the Received: headers, which I believe is causing problems with fetchmail identifying the multidrop recipient.

An example verbose session follows:

# fetchmail -v -v -k -f /etc/mail/.fetchmailrc -m "/usr/sbin/sendmail -i -oem -f %F %T" fetchmail: 6.2.1 querying pop.isp.com.au (protocol POP3) at Mon, 30 Jun 2003 14:51:32 +0930 (CST): poll started
fetchmail: POP3< +OK InterMail POP3 server ready.
fetchmail: POP3> USER username
fetchmail: POP3< +OK please send PASS command
fetchmail: POP3> PASS
fetchmail: POP3< +OK username is welcome here
fetchmail: selecting or re-polling default folder
fetchmail: POP3> STAT
fetchmail: POP3< +OK 1 6095
fetchmail: POP3> LAST
fetchmail: POP3< +OK 0
1 message for username at pop.isp.com.au (6095 octets).
fetchmail: POP3> LIST
fetchmail: POP3< +OK 1 messages
fetchmail: POP3< 1 6095
fetchmail: POP3< .
fetchmail: POP3> RETR 1
fetchmail: POP3< +OK 6095 octets
reading message (username)@pop.isp.com.au:1 of 1 (6095 octets)
About to rewrite Return-Path: <mailing-list-admin(_at_)domain(_dot_)com>
Rewritten version is Return-Path: <mailing-listt-admin(_at_)domain(_dot_)com>

fetchmail: analyzing Received line:
Received: from gateway.domain.net ([212.19.87.146])
         by mta.mail.outsourced_to.isp.net.au with ESMTP
id <20030630051809(_dot_)CUQA15495(_dot_)mta(_dot_)mail(_dot_)outsourced_to(_dot_)isp(_dot_)net(_dot_)au(_at_)gateway(_dot_)domain(_dot_)net>
         for <another(_dot_)username(_at_)domain(_dot_)com(_dot_)au>;
         Mon, 30 Jun 2003 15:18:09 +1000
fetchmail: line rejected, mta.mail.outsourced_to.isp.net.au is not an alias of the mailserver

[...]


It's that last line that's the problem. fetchmail _should_ recognise @domain.com.au as a localdomain. It certainly has up until now, and the only change is the new mail server courtesy of my ISP's cost-cutting.


Instead, it would seem fetchmail quites at the first @ expression, which is not an email address at all, but rather an id expression.

Here's my configuration for the record:

This is fetchmail release 6.2.1
Fallback MDA: /usr/sbin/sendmail -i %T
Darwin wensleydale 5.5 Darwin Kernel Version 5.5: Thu May 30 14:51:26 PDT 2002; root:xnu/xnu-201.42.3.obj~1/RELEASE_PPC Power Macintosh powerpc
Taking options from command line and /etc/mail/.fetchmailrc
Poll interval is 60 seconds
Idfile is /var/root/.fetchids
Progress messages will be logged via syslog
Fetchmail will forward misaddressed multidrop messages to postmaster.
Fetchmail will direct error mail to the postmaster.
Options for retrieving from username(_at_)pop(_dot_)isp(_dot_)com(_dot_)au:
 True name of server is pop.isp.com.au.
 Protocol is POP3.
 Password authentication will be forced.
 Server nonresponse timeout is 1200 seconds.
 Default mailbox selected.
 Only new messages will be retrieved (--all off).
 Fetched messages will not be kept on the server (--keep off).
 Old messages will not be flushed before message retrieval (--flush off).
 Rewrite of server-local addresses is enabled (--norewrite off).
 Carriage-return stripping is enabled (stripcr on).
 Carriage-return forcing is disabled (forcecr off).
 Interpretation of Content-Transfer-Encoding is enabled (pass8bits off).
 MIME decoding is disabled (mimedecode off).
 Idle after poll is disabled (idle off).
 Nonempty Status lines will be kept (dropstatus off)
 Delivered-To lines will be kept (dropdelivered off)
 Message size limit is 8388608 octets (--limit 8388608).
 Message size warning interval is 3600 seconds (--warnings 3600).
 Messages will be delivered with "/usr/sbin/sendmail -i -oem -f %F %T".
 Multi-drop mode: 3 local name(s) recognized.
 DNS lookup for multidrop addresses is disabled.
 Envelope header is assumed to be: Received
 Predeclared mailserver aliases: isp.com.au
 Local domains: domain.com.au
 No UIDs saved from this host.

NOTE: For anonymity all instances of usernames, ISPs and domains have been replaced with generic names.

Any help will be very much appreciated!

Regards,
Damon

_________________________________________________________________
Hotmail is now available on Australian mobile phones. Go to http://ninemsn.com.au/mobilecentral/signup.asp


<Prev in Thread] Current Thread [Next in Thread>
  • [fetchmail] Problems when > 1 '@' in Received: header, Damon McMahon <=