Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email email@example.com
Re: Question about hosting another domain's mailing lists
From: mouss (usebsdfree.fr)
Date: Fri Apr 14 2006 - 16:24:19 CDT
Brian Sebby wrote:
> I run a few postfix servers for our domain, and it's working pretty well.
> We've got anti-virus, greylisting, and anti-spam all working together.
> As a result of these features, a partner that we work with has requested
> that we host some of their mailing lists in order to take advantage of
> these features. This would be fairly straightforward, I think, except for
> one thing - they want the outgoing email to be rewritten in such a way
> that it appears to be coming from their domain name, and not have our
> mail server listed at all in the "From" lines. (Specifically, they want the
> initial From line and the Return-path header to say "list-xtheirdomain.org").
> I realize that our mail server will be listed in the received lines.
> I'm struggling a bit to figure out the best way to do this. I've looked at
> the virtual_alias_domains stuff, but it doesn't seem to rewrite the header
> the way they want. We do have majordomo running on a separate server, but
> it's configured for our domain, and like I said, they want THEIR domain name
> to show up, not ours.
> The mailing lists are fairly small, so if I could just do some sort of
> rewrite and avoid using majordomo, that would be preferred. What I would
> basically like to do is have a way that the server knows that it can accept
> mail for the remote domain, look up the list name in a file and pull in a
> file containing the email addresses of the people it should resend the
> message to (like the :include: directive in the aliases file), and then
> rewrite the header to look like it's coming from their domain before sending
> it back out.
> Is this possible?
if the ML software can't generate the right sender address, then find
if you can't, try canonical or generic.
If you're asking to replace Received headers, then you're wrong and
should change your mind.