"Jan Müller" <[email protected]> wrote on 2009-Jun-24:
> Our company registered example.eu domain in addition to our previous
> example.cz domain.
> I have to add a domain alias for the new domain so that [email protected]
> could be reached at [email protected] as well.
> Alternatively, any mail for [email protected] could be delivered to
> [email protected], that would work too, I don't know if it is any easier
> to set up.
> 
> I added example.eu in the esmptacceptmailfor, and I no longer get 513
> Relaying denied. Good.
> 
> I tried adding "example.eu" or "example.euexample.cz" into locals
> file or hosteddomains, but i am getting 556 Address unavailable when i
> try to send mail.
> 
> How can I tell if locals file is used at all? Our mailboxes do not
> have @example.cz added and it is not in userdb, our authentication
> file, so I think adding example.euexample.cz" into locals file
> should work.

If your email address is "[email protected]" but you log in as "user" to get your
mail, then these are LOCAL domains, not hosted domains.

In that case just list all the local domains one per line in the 'locals' file.

example.eu
example.cz

and make sure they are NOT in the hosteddomains file.

Courier strips the domain from all the local domains before it tries to deliver
the mail.  So email to "[email protected]" and "[email protected]" will both have 
the
domain removed and mail delivered to account "jan".

HTH

Jeff Jansen

------------------------------------------------------------------------------
_______________________________________________
courier-users mailing list
[email protected]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users

Reply via email to