atom feed4 messages in net.sourceforge.lists.courier-usersRe: [courier-users] virtual domain
FromSent OnAttachments
Jan MüllerJun 24, 2009 5:39 am 
Jeff JansenJun 24, 2009 7:35 am 
Joseph C. LiningerJun 24, 2009 10:03 am 
Jan MüllerJun 25, 2009 12:52 am 
Subject:Re: [courier-users] virtual domain
From:Jan Müller (mull@gmail.com)
Date:Jun 25, 2009 12:52:03 am
List:net.sourceforge.lists.courier-users

It works!

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

Thank You!

On Wed, Jun 24, 2009 at 7:03 PM, Joseph C. Lininger<jba@pcdesk.net> wrote:

-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA256

Good afternoon,

I have to add a domain alias for the new domain so that ja@example.cz could be reached at ja@example.eu  as well. Alternatively, any mail for any@example.eu  could be delivered to in@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 ja@example.eu to go to ja@example.cz, jo@example.eu to go to jo@example.cz, etc. I don't know if you're using full mailbox names such as "ja@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

ja@example.cz and ja@example.eu will be the same mailbox, as will anything else @example.eu and example.cz.

If you are using names like ja@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 in@example.cz like you suggested in your original post. Put the following line into your aliases.

@example.eu: info@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-----