John Schmitt: > > I use fetchmail to get my email from yahoo & gmail et al. Lately > I've been getting these two messages when fetchmail runs. What > is postfix doing and what is it trying to tell me? Is this > something I should fix on my end? Is postfix trying to resend > some spam I received from yahoo? Or is it just having trouble > delivering spam to my inbox? > > I'm running a simple home setup for myself using Fedora 12. > > Transcript of session follows. > > Out: 220 mymachine.mydomain.net ESMTP Postfix > In: HELO mymachine > Out: 250 mymachine.mydomain.net > In: MAIL FROM:<> > Out: 250 2.1.0 Ok > In: RCPT TO:<"???B?\" <olpcxcqkkqc...@aol.com>> > Out: 501 5.1.3 Bad recipient address syntax
Postfix is telling you that the RCPT TO command has an invalid recipient address syntax. In particular, it appears that you take the To: header such as: To: "Full name" <u...@example.com> and then use that same syntax in the RCPT TO command as: RCPT TO:<"Full name" <u...@example.com>> This is not possible in SMTP. Apart from that it is a terrible mistake to use the To: header address for deciding where to deliver mail. For example, this message is To: postfix-users but it should be delivered to your own mailbox. If it isn't, you are likely to get unsubscribed soon. Wietse > In: QUIT > Out: 221 2.0.0 Bye > > > For other details, see the local mail logfile > > > Date: Thu, 8 Apr 2010 13:02:01 -0700 (PDT) > From: Mail Delivery System <mailer-dae...@mymachine.mydomain.net> > To: Postmaster <postmas...@mydomain.net> > Subject: Postfix SMTP server: errors from localhost[::1] > > Transcript of session follows. > > Out: 220 mymachine.mydomain.net ESMTP Postfix > In: EHLO pop-ssl.plus.mail.a06.yahoodns.net > Out: 250-mymachine.mydomain.net > Out: 250-PIPELINING > Out: 250-SIZE > Out: 250-VRFY > Out: 250-ETRN > Out: 250-STARTTLS > Out: 250-ENHANCEDSTATUSCODES > Out: 250-8BITMIME > Out: 250 DSN > In: MAIL FROM:<"???B?\" <olpcxcqkkqc...@aol.com>> BODY=8BITMIME SIZE=2131 > Out: 501 5.1.7 Bad sender address syntax > In: RSET > Out: 250 2.0.0 Ok > In: QUIT > Out: 221 2.0.0 Bye > > > For other details, see the local mail logfile > > This is from /var/log/maillog: > > Apr 8 13:02:00 mymachine postfix/smtpd[13072]: connect from localhost[::1] > Apr 8 13:02:00 mymachine postfix/smtpd[13000]: connect from localhost[::1] > Apr 8 13:02:01 mymachine postfix/cleanup[13003]: 00144E02007: > message-id=<20100408200201.00144e02...@mymachine.mydomain.net> > Apr 8 13:02:01 mymachine postfix/smtpd[13000]: disconnect from localhost[::1] > Apr 8 13:02:01 mymachine postfix/qmgr[21590]: 00144E02007: > from=<double-bou...@mymachine.mydomain.net>, size=759, nrcpt=1 (queue active) > Apr 8 13:02:01 mymachine lmtpunix[12930]: accepted connection > Apr 8 13:02:01 mymachine lmtpunix[12930]: lmtp connection preauth'd as > postman > Apr 8 13:02:01 mymachine lmtpunix[12930]: duplicate_check: > <20100408200201.00144e02...@mymachine.mydomain.net> user.john 0 > Apr 8 13:02:01 mymachine postfix/cleanup[13003]: 20E23E02009: > message-id=<20100408200201.20e23e02...@mymachine.mydomain.net> > Apr 8 13:02:01 mymachine lmtpunix[12930]: duplicate_check: > <20100408200201.00144e02...@mymachine.mydomain.net> user.john 0 > Apr 8 13:02:01 mymachine postfix/qmgr[21590]: 20E23E02009: > from=<double-bou...@mymachine.mydomain.net>, size=957, nrcpt=1 (queue active) > Apr 8 13:02:01 mymachine postfix/smtpd[13072]: disconnect from localhost[::1] > Apr 8 13:02:01 mymachine lmtpunix[13071]: accepted connection > Apr 8 13:02:01 mymachine lmtpunix[13071]: lmtp connection preauth'd as > postman > Apr 8 13:02:01 mymachine lmtpunix[12930]: Delivered: > <20100408200201.00144e02...@mymachine.mydomain.net> to mailbox: user.john > Apr 8 13:02:01 mymachine lmtpunix[12930]: mystore: starting txn 2147490480 > Apr 8 13:02:01 mymachine lmtpunix[12930]: mystore: committing txn 2147490480 > Apr 8 13:02:01 mymachine lmtpunix[12930]: duplicate_mark: > <20100408200201.00144e02...@mymachine.mydomain.net> user.john > 1270756921 320038 > Apr 8 13:02:01 mymachine lmtpunix[12930]: mystore: starting txn 2147490481 > Apr 8 13:02:01 mymachine lmtpunix[12930]: mystore: committing txn 2147490481 > Apr 8 13:02:01 mymachine lmtpunix[12930]: duplicate_mark: > <20100408200201.00144e02...@mymachine.mydomain.net> .jo...@.sieve. > 1270756921 0 > Apr 8 13:02:01 mymachine lmtpunix[13071]: duplicate_check: > <20100408200201.20e23e02...@mymachine.mydomain.net> user.john 0 > Apr 8 13:02:01 mymachine postfix/lmtp[13008]: 00144E02007: > to=<j...@mydomain.net>, orig_to=<postmaster>, > relay=mymachine.mydomain.net[/var/lib/imap/socket/lmtp], delay=0.42, > delays=0.06/0/0/0.35, dsn=2.1.5, status=sent (250 2.1.5 Ok) > Apr 8 13:02:01 mymachine postfix/qmgr[21590]: 00144E02007: removed > > >