On Thu, 10 Aug 2006, Daryl C. W. O'Shea wrote:
Logan Shaw wrote:
So I looked in my own personal mailbox to see which messages have Return-Path headers, and out of the hundreds of messages in there, basically all messages do have a Return-Path header, except that not a single one from from majorcustomer.com does. So... is it safe to assume their servers are configured incorrectly? Or should our MTA be somehow adding that header if it's missing? Or is there some other way that our MailScanner+SpamAssassin combo should be getting the envelope sender information?
Your MDA should be adding it, and whatever is calling SpamAssassin (MailScanner) should be at least faking it in the message it hands SA.
Well, MTA since MailScanner is scanning while the message is still in the MTA phase of things. But, here's the funny thing. If I connect to our mail server on port 25 and submit a message manually to the SMTP server (sendmail 8.13.7) by hand, it does get added. That is, if I do this (edited for brevity): $ telnet localhost smtp helo blah.blah.emitinc.com mail from: [EMAIL PROTECTED] rcpt to: [EMAIL PROTECTED] data From: [EMAIL PROTECTED] To: [EMAIL PROTECTED] Subject: testing body body body . then the message I receive in my mailbox will have Return-Path added. So apparently if it's missing, it adds it, and if it's there, it preserves it, except if it comes from majorcustomer.com, in which case it doesn't exist. - Logan