On Thu, Apr 08, 2010 at 03:10:58PM -0700, John Schmitt wrote: > > 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>>
This is forward-path syntax from RFCs 821, 2821 or 5321. You can't just copy/paste the "To: " header from an RFC822 mail message into the "RCPT TO:" SMTP command. http://tools.ietf.org/html/rfc821 http://tools.ietf.org/html/rfc2821 http://tools.ietf.org/html/rfc5321 You should also keep in mind that is very wrong to determine who to send email to based on "To:" or "Cc:" headers, you must determine the intended recipient from an attribute that record the original envelope recipient. Otherwise, you'll create nasty forwarding loops and misdeliver email. -- Viktor. P.S. Morgan Stanley is looking for a New York City based, Senior Unix system/email administrator to architect and sustain our perimeter email environment. If you are interested, please drop me a note.