From: header rewrite?
I'm looking to replace an ezmlm server with mailman and have installed mailman 2.1.9-7 on a debian server; lists work but I have a question:
Is there an easy way to rewrite the From: address field? I have a list that is used as announce-only and would like it to appear to come from a non-list address (e.g., list is jobs@lists.domain.tld and I would like the email to appear as from jobs@domain.tld). Reply-To: is good, but not what I'm looking for. The ezmlm analogue is creating a list using the -3 switch to rewrite the address.
I have googled, gone through the archives and FAQ and cannot find this info (perhaps I'm not searching for the right terms?) Any help would be appreciated, many thanks in advance.
David Piniella wrote:
I'm looking to replace an ezmlm server with mailman and have installed mailman 2.1.9-7 on a debian server; lists work but I have a question:
Is there an easy way to rewrite the From: address field? I have a list that is used as announce-only and would like it to appear to come from a non-list address (e.g., list is jobs@lists.domain.tld and I would like the email to appear as from jobs@domain.tld). Reply-To: is good, but not what I'm looking for. The ezmlm analogue is creating a list using the -3 switch to rewrite the address.
I'm not sure what you're asking. If you want to know how to put the list address in From:, set General Options->anonymous_list to Yes.
If you want to know how to change the domain of this address, put the desired domain in General Options->host_name.
-- Mark Sapiro <mark@msapiro.net> The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan
David Piniella wrote:
Is there an easy way to rewrite the From: address field? I have a list that is used as announce-only and would like it to appear to come from a non-list address (e.g., list is jobs@lists.domain.tld and I would like the email to appear as from jobs@domain.tld). Reply-To: is good, but not what I'm looking for. The ezmlm analogue is creating a list using the -3 switch to rewrite the address.
Sorry, I don't know ezmlm, and I don't know that anyone here does.
However, header rewrites of the sort you're talking about would seem to be more appropriate to be done in the MTA, not the mailing list manager.
In Sendmail, postfix, or Exim, it should be pretty easy to make these kinds of changes by changing your "masquerade" database to rewrite these kinds of addresses.
I have no idea how this concept might be applied to your MTA, however.
-- Brad Knowles <brad@shub-internet.org> LinkedIn Profile: <http://tinyurl.com/y8kpxu>
participants (3)
-
Brad Knowles
-
David Piniella
-
Mark Sapiro