courier-users

[Prev] Thread [Next]  |  [Prev] Date [Next]

Re: [courier-users] virtual domain Jan Müller Thu Jun 25 01:00:51 2009

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<[EMAIL PROTECTED]> wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA256
>
> Good afternoon,
>
>> 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
>
> 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 [EMAIL PROTECTED] to go to [EMAIL PROTECTED], [EMAIL 
> PROTECTED]
> to go to [EMAIL PROTECTED], etc. I don't know if you're using full mailbox
> names such as "[EMAIL PROTECTED]" 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
>
> [EMAIL PROTECTED] and [EMAIL PROTECTED] will be the same mailbox, as will
> anything else @example.eu and example.cz.
>
> If you are using names like [EMAIL PROTECTED] 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 [EMAIL PROTECTED] like
> you suggested in your original post. Put the following line into your
> aliases.
>
> @example.eu: [EMAIL PROTECTED]
>
> 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
[EMAIL PROTECTED]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users