On Thu, 13 Sep 2012 16:02:22 +0200, Frank Van Damme wrote:

> I'm into a slight struggle with my mail servers. They are satellite
> systems (no local mail, everything goes to a smarthost). I figured out
> that by changing the mailname to generaldomain.com instead of
> themachineshostname.generaldomain.com, all users' mail get delivered to
> [email protected] (I create users with usernames that exist as a
> mail alias/address in that domain). BUT
> this breaks the aliases file. "special" or system users, like root, are
> not rewritten to [email protected], they are smarthosted with their
> original user id -->  [email protected] ...
> 
> Probably there is a better and cleaner way to reroute local users (not
> individually, please) than to forge /etc/mailname?

If this was Postfix, I would suggest that you look at the address 
rewriting rules for doing a selective routing of the outgoing messages 
based on their location (local or remote users). For Exim, I'm not sure 
how this is handled.

Greetings,

-- 
Camaleón


-- 
To UNSUBSCRIBE, email to [email protected] 
with a subject of "unsubscribe". Trouble? Contact [email protected]
Archive: http://lists.debian.org/[email protected]

Reply via email to