[pkg-fetchmail-maint] Bug#353575: fetchmail: Invents envelope sender for mails received with null envelope sender

Roger Lynn roger at rilynn.demon.co.uk
Sun Feb 19 17:36:16 UTC 2006


Package: fetchmail
Version: 6.3.2-2
Severity: normal

When fetchmail receives a DSN with a null envelope sender using the SDPS
protocol, it invents an address to use as the envelope sender when
delivering it by SMTP.

I previously mentioned this in a comment to bug #316446.

In the example below, an email received with a null envelope sender is
being forwarded with an invalid envelope sender of
rilynn at pop3.demon.co.uk

>From /etc/init.d/fetchmail debug-run:
fetchmail: 6.3.2 querying pop3.demon.co.uk (protocol POP3) at Sun 19 Feb 2006 16:05:56 GMT: poll started
fetchmail: POP3< +OK demon POP3 server ready (demon.co.uk)
fetchmail: POP3> USER rilynn
fetchmail: POP3< +OK
fetchmail: POP3> PASS *
fetchmail: POP3< +OK
fetchmail: selecting or re-polling default folder
fetchmail: POP3> STAT
fetchmail: POP3< +OK 1 2668
1 message for rilynn at pop3.demon.co.uk (2668 octets).
fetchmail: POP3> LIST 1
fetchmail: POP3< +OK 1 2668
fetchmail: POP3> *ENV 1
fetchmail: POP3< +OK
fetchmail: POP3< ok
fetchmail: POP3< rilynn.demon.co.uk
fetchmail: POP3<
fetchmail: POP3< roger at rilynn.demon.co.uk
fetchmail: POP3< .
fetchmail: POP3> RETR 1
fetchmail: POP3< +OK
reading message rilynn at pop3.demon.co.uk:1 of 1 (2668 octets)
fetchmail: passed through roger at rilynn.demon.co.uk matching rilynn.demon.co.uk
fetchmail: SMTP< 220 rilynn.demon.co.uk ESMTP Exim 4.50 Sun, 19 Feb 2006 16:05:56 +0000
fetchmail: SMTP> EHLO rilynn.demon.co.uk
fetchmail: SMTP< 250-rilynn.demon.co.uk Hello localhost [127.0.0.1]
fetchmail: SMTP< 250-SIZE 52428800
fetchmail: SMTP< 250-8BITMIME
fetchmail: SMTP< 250-PIPELINING
fetchmail: SMTP< 250 HELP
fetchmail: forwarding to localhost
fetchmail: SMTP> MAIL FROM:<rilynn at pop3.demon.co.uk> SIZE=2668
fetchmail: SMTP< 250 OK
fetchmail: SMTP> RCPT TO:<roger at rilynn.demon.co.uk>
fetchmail: SMTP< 250 Accepted
fetchmail: SMTP> DATA
fetchmail: SMTP< 354 Enter message, ending with "." on a line by itself
#********************.*****************fetchmail: SMTP>. (EOM)
fetchmail: SMTP< 250 OK id=1FAr4O-00062C-Ka
 flushed
fetchmail: POP3> DELE 1
fetchmail: POP3< +OK
fetchmail: POP3> QUIT
fetchmail: POP3< +OK
fetchmail: SMTP> QUIT
fetchmail: SMTP< 221 rilynn.demon.co.uk closing connection
fetchmail: 6.3.2 querying pop3.demon.co.uk (protocol POP3) at Sun 19 Feb 2006 16:05:56 GMT: poll completed
fetchmail: not swapping UID lists, no UIDs seen this query
fetchmail: Deleting fetchids file.

/etc/fetchmailrc:
set daemon 60
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 auth password
    user rilynn password foo to *
        options fetchall no rewrite warnings 86400

-- System Information:
Debian Release: 3.1
Architecture: i386 (i686)
Kernel: Linux 2.6.8
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  debianutils               2.8.4          Miscellaneous utilities specific t
ii  gettext                   0.14.4-2       GNU Internationalization utilities
ii  libc6                     2.3.2.ds1-22   GNU C Library: Shared libraries an
ii  libssl0.9.7               0.9.7e-3sarge1 SSL shared libraries

-- no debconf information




More information about the pkg-fetchmail-maint mailing list