From: (no name) (no email)
Date: Sat Nov 01 2003 - 16:45:35 EST
On Sat, 1 Nov 2003, Stephan van Beerschoten wrote:
> I now also want to do this for $mydomain. For $mydomain, I also have
> entries in $virtual_mailbox_maps (sendmail style). I tried the following:
>
Do WHAT? Explain what you want to happen, not what you have configured.
> No matter if I try to send to an address listed in $virtual_mailbox_maps
> or $virtual_alias_maps for $mydomain, I always get the 'mail loops back
> to me error', which makes sense somehow, but is not what I want.
>
Where is mail for localpart@$mydomain supposed to go? Local unix account?
Virtual mailbox? Relayed to another host? ...
> Somehow this does not make sense. What am I missing ?
>
> masquerade_domains = $mydomain
> mydestination = $myhostname, localhost.$mydomain
> myorigin = $mydomain
Mail for <user@$mydomain> and <user> (which becomes user@$myorigin) is not
resolved to the local(8) delivery agent (since mydestination does not
include $mydomain), so where do you want it to go?
Clearly you have it just going to your MX record, which is not optimal.
Pick a suitable final delivery mechanism for localpart@$mydomain.
See ADDRESS_CLASS_README, VIRTUAL_README and transport(5) for details.
-- Viktor.
|
|
|