It works!

I tried alternative 1 and it worked immediatelly. My problem was that
I had set the same option in hosteddomains.

Thank You!

Jan Müller

On Wed, Jun 24, 2009 at 7:03 PM, Joseph C. Lininger<jb...@pcdesk.net> wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA256
>
> Good afternoon,
>
>> I have to add a domain alias for the new domain so that
>> j...@example.cz
>> could be reached at
>> j...@example.eu
>>  as well.
>> Alternatively, any mail for
>> any...@example.eu
>>  could be delivered to
>> i...@example.cz
>> , that would work too, I don't know if it is any easier
>
> I'll describe how to do both below. You can choose which solution you want.
>
>> I added example.eu in the esmptacceptmailfor, and I no longer get 513
>> Relaying denied. Good.
>
> Absolutely right!
>
>> I tried adding "example.eu" or "example.eu<tab>example.cz" into locals
>> file or hosteddomains, but i am getting 556 Address unavailable when i
>> try to send mail.
>
> Ok, here are your options.
>
> Alternative 1. Map <anything>@example.eu to <anything>@example.cz
> This will cause j...@example.eu to go to j...@example.cz, j...@example.eu
> to go to j...@example.cz, etc. I don't know if you're using full mailbox
> names such as "j...@example.cz" in your userdb, or if you are just using
> usernames like "jan". If all you are using is local names, then simply
> adding this line to locals will do it.
>
> example.eu
>
> j...@example.cz and j...@example.eu will be the same mailbox, as will
> anything else @example.eu and example.cz.
>
> If you are using names like j...@example.cz in your userdb, then add the
> following line to hosteddomains.
>
> example.eu <tab> example.cz
>
> Don't forget to run makehosteddomains after you make this change. From
> then on, Courier will rewrite <anything>@example.eu to
> <anything>@example.cz and then try to deliver to a mailbox by that name
> on the system.
>
> Alternative 2. Send any mail addressed to <anything>@example.eu to a
> single address
> This will send mail for <anything>@example.eu to i...@example.cz like
> you suggested in your original post. Put the following line into your
> aliases.
>
> @example.eu: i...@example.cz
>
> Depending on your setup, you might instead use:
>
> @example.eu: info
>
> If I can be of further assistance, feel free to contact me on list or
> privately.
> Joe
>
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.4.9 (MingW32)
>
> iQEcBAEBCAAGBQJKQlx9AAoJEMh8jNraUiwqHVkH/iUQOk2BuDTxAvXnVPA8e2Xu
> EmtGFZF+M+W0aJ0QrOcrcjBQFgrHpwfEN1rfiFMsmyInB98vMQ3rOb0Ol96nai2V
> UKvf4ehHUEP6y7WBMzZDGb4+bQWSRoVV9K4tu5aVqF00pjztmeYTjMCJf9R1aMBL
> +IXauiSSEhDWy0f1g1ogIvK0jgxOqCqvfEM52dwxFwbUkFQXD4Wz42fOGIqsiHZ+
> H3PWSPZBvA41MzcVAU8UOehz+UzmyGUk9tveuCxxMjWMkdnh9fZMzLhs0D5iML9p
> ryuDfB4+/X9pvAZdA8jufjGjSFkS46dUzj/Jo16KW05rQK6wDTYQ07hW4y2UXtc=
> =RlSC
> -----END PGP SIGNATURE-----
>

------------------------------------------------------------------------------
_______________________________________________
courier-users mailing list
courier-users@lists.sourceforge.net
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users

Reply via email to