Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

It seems mailman, by default, spoofs its outgoing message with the "from" address of the person who posted the message. The envelope mail-from is not spoofed, but rather the P2 FROM. Is this configurable to d a send-on-behalf or simply change to some other static address?

share|improve this question
(Begin unhelpful.) The From: header is defined to be the address of the person who logically originated the message. Mailman isn't spoofing it any more than it spoofs Date: or other headers is preserves. Why do you want to change it? (End unhelpful.) – jon Dec 14 '11 at 1:25
some spam filters don't like the fact that mail is originating for a domain from an MTA that isn't allowed to send as that domain, even if it is a "soft spoof" of only the P2 FROM. – Ode Dec 14 '11 at 22:00
The From: address should never be a part of "spoof-filtering". The envelope sender (MAIL FROM) is used in SPF checks. They differ in your case and can differ. – mailq Dec 15 '11 at 0:00

A bit old question, but here some suggestion solution.

I will try to explain how the default mailman behavior.

Email from was sent to (a mailman list). Both envelope sender and have value "".

As mailman receive it, it rewrites envelope sender to Now mailman forward it to other members with envelope sender: and From header:

The problem is, as April 2014 the Big Email Provider Yahoo activates DMARC in their domains. As the result, if DMARC-aware mail server spot the Yahoo address in From header but it wasn't sent from Yahoo server, the server will reject it.

Mailman developer adding fix in Mailman version 2.1.16. It now has option from_is_list


Replace the sender with the list address to conform with policies like ADSP and DMARC. It replaces the poster's address in the From: header with the list address and adds the poster to the Reply-To: header, but the anonymous_list and Reply-To: header munging settings below take priority. If setting this to Yes, it is advised to set the MTA to DKIM sign all emails. If this is set to Wrap Message, just wrap the message in an outer message From: the list with Content-Type: message/rfc822

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.