Package: fetchmail
Version: 6.2.5-12
Severity: important

When the local SMTP daemon rejects a message, Fetchmail generates a 
bounce messages with a non-null reverse-path, in violation of RFCs. In 
addition, the username it uses (FETCHMAIL-DAEMON) does not exist, so any 
responses will themselves bounce. This is likely to generate mail loops.

Also the message it sends has no subject, which is very unhelpful.

fetchmailrc:

set daemon 60
set postmaster "postmaster"
poll pop3.demon.co.uk aka mailstore protocol SDPS interface eth0/192.168.0.1
    options localdomains rilynn.demon.co.uk no dns no envelope
    user rilynn password foo to *
        options fetchall no rewrite warnings 86400

The relevant part from fetchmail -v -v is below:

reading message [EMAIL PROTECTED]:1 of 1 (1683 octets)
fetchmail: passed through [EMAIL PROTECTED] matching rilynn.demon.co.uk
fetchmail: SMTP< 220 rilynn.demon.co.uk ESMTP Exim 4.50 Thu, 30 Jun 2005 
23:36:27 +0100
fetchmail: SMTP> EHLO localhost
fetchmail: SMTP< 250-rilynn.demon.co.uk Hello localhost [127.0.0.1]
fetchmail: SMTP< 250-SIZE 52428800
fetchmail: SMTP< 250-PIPELINING
fetchmail: SMTP< 250 HELP
fetchmail: forwarding to localhost
fetchmail: SMTP> MAIL FROM:<[EMAIL PROTECTED]> SIZE=1683
fetchmail: SMTP< 250 OK
fetchmail: SMTP> RCPT TO:<[EMAIL PROTECTED]>
fetchmail: SMTP< 550 unknown user
fetchmail: SMTP error: 550 unknown user
fetchmail: SMTP listener doesn't like recipient address [EMAIL PROTECTED]'
fetchmail: SMTP< 220 rilynn.demon.co.uk ESMTP Exim 4.50 Thu, 30 Jun 2005 
23:36:27 +0100
fetchmail: SMTP> HELO localhost
fetchmail: SMTP< 250 rilynn.demon.co.uk Hello localhost [127.0.0.1]
fetchmail: SMTP> MAIL FROM:<[EMAIL PROTECTED]>

***         Should be empty^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^  ***

fetchmail: SMTP< 250 OK
fetchmail: SMTP> RCPT TO:<[EMAIL PROTECTED]>
fetchmail: SMTP< 250 Accepted
fetchmail: SMTP> DATA
fetchmail: SMTP< 354 Enter message, ending with "." on a line by itself
fetchmail: SMTP: (bounce-message body)
fetchmail: SMTP>. (EOM)
fetchmail: SMTP< 250 OK id=1Do7dz-0000eX-Cu
fetchmail: SMTP> QUIT
fetchmail: SMTP< 221 rilynn.demon.co.uk closing connection
fetchmail: SMTP> RCPT TO:<[EMAIL PROTECTED]>
fetchmail: SMTP< 250 Accepted
fetchmail: no address matches; forwarding to postmaster.

In addition to generating a bounce, the original mail is forwarded to 
postmaster, as can be seen on the last couple of lines above. My 
understanding of the man page is that either a bounce should be 
generated *or* it should be forwarded to the postmaster address, but not 
both.

Thanks,

Roger

-- System Information:
Debian Release: 3.1
Architecture: i386 (i686)
Kernel: Linux 2.6.8-2-686
Locale: LANG=en_GB, LC_CTYPE=en_GB (charmap=ISO-8859-1)

Versions of packages fetchmail depends on:
ii  adduser                     3.63         Add and remove users and groups
ii  base-files                  3.1.2        Debian base system miscellaneous f
ii  debconf                     1.4.30.13    Debian configuration management sy
ii  debianutils                 2.8.4        Miscellaneous utilities specific t
ii  libc6                       2.3.2.ds1-22 GNU C Library: Shared libraries an
ii  libssl0.9.7                 0.9.7e-3     SSL shared libraries

-- no debconf information


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to