On 04/19/2018 03:17 AM, kan...@yamachu-tokachi.co.jp wrote: > > 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. > b. When a sender is inside of our organization and receiver is outside > of our organization, the received mail should show ML address > (a...@ml.abc.co.jp <mailto:a...@ml.abc.co.jp> ) at 'from' header.
This can't be done in Mailman without source code modification. You would have to modify Mailman's SMTPDirect.py module to always set deliveryfunc = verpdeliver and then modify verpdeliver itself to look at the sender and recipient and if the sender is local and the recipient remote, replace the From: The mods would not be difficult nor extensive, but this can't be done with configuration alone. -- Mark Sapiro <m...@msapiro.net> The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan ------------------------------------------------------ Mailman-Users mailing list Mailman-Users@python.org https://mail.python.org/mailman/listinfo/mailman-users Mailman FAQ: http://wiki.list.org/x/AgA3 Security Policy: http://wiki.list.org/x/QIA9 Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/ Unsubscribe: https://mail.python.org/mailman/options/mailman-users/archive%40jab.org