[Mailman-Users] 'from' header at delivered email from inside / outside organization

Grant Taylor gtaylor at tnetconsulting.net
Thu Apr 19 15:16:20 EDT 2018

On 04/19/2018 04:17 AM, kaneko at yamachu-tokachi.co.jp wrote:
> Hello Mailman experts,

I'm not an expert, but I've got questions.

> I created a mailing list (i.e. abc at ml.abc.co.jp) with mailman in our 
> organization.

I don't think it matters, but I want to make sure I'm not assuming 
anything incorrectly.

It looks like your Mailman list is configured in a sub-domain of your 
copmpanies main domain.  I'm assuming that means that email for the 
mailing list is routed to the server hosting Mailman independent of your 
main email server.  Correct?

> Does anyone know how to configure mailman to achieve expected behavior?
> Expected behavior:
> a.	When a sender is outside of our organization (abc.co.jp), the 
> received mail should show original sender's email address at 'from' 
> header.

Okay.  No from header modification.

> b.	When a sender is inside of our organization and receiver is 
> outside of our organization, the received mail should show ML address 
> (abc at ml.abc.co.jp) at 'from' header.

What from address should receivers inside the organization see from 
senders also inside the organization?  Do they need to see the real 
internal from header?  Or is it okay that they see the mailing list address?

If it's okay that internal recipients see the mailing list instead of 
the actaul internal senders, then the problem can likely be simplified 
to be "internal senders should have their from address rewritten to the 
mailing list address."

> I want to know sender's email address if it's from outside our 
> organization but do not want disclose employees' email address in our 
> organization when they send emails to outside our organization.

This almost sounds like an MTA masquerading issue.  I don't know if 
mailman can help with this or not.  Especially if it's supposed to 
conditionally happen based on the sender and the recipient.

Grant. . . .
unix || die

More information about the Mailman-Users mailing list