Hi!

Most of our servers are set up as null client and sent all through our
mail relays.

myhostname = hostname.example.com
relayhost = $mydomain
inet_interfaces = loopback-only
mydestination =

However, I have one server which should work the same except for one
specific mailbox which should be delivered locally, i.e. all mails go
through the relayhost except one address (account or account@localhost
or acco...@hostname.example.com).

So far I haven't found a way how to do this except resetting
mydestination to the default ($myhostname, localhost.$mydomain,
localhost) and setting forwards for all other addresses except the
account@ address.

Is there any better way to do this? I.e.:

1. deliver mails to account locally.
2. forward all local mails for any other account to relayhost

and ideally

3. accept mails for acco...@hostname.example.com through smtp from remote
4. reject any other email for any other address through smtp from remote.

Thanks,

Gerald

Reply via email to