Alias for a domain [SOLVED]

Iñaki ibc2 at euskalnet.net
Tue Apr 25 22:47:29 CEST 2006


El Martes, 25 de Abril de 2006 22:34, Iñaki escribió:
> Hi, my domain in Kolab is "@company.com" but I need to add a domain alias
> called "@otherdomain.com", so if a mail has a recipient like this:
>
>     user1 at otherdomain.com
>
> the mail must be deelivered to:
>
>     user1 at company.com
>
>
> I think I need to add the following in the template of "main.cf":
>
>   mydestination = company.com  otherdomain.com
>
>
> But I think that I need to add something in the
> file "/kolab/etc/postfix/canonical":
>
>     otherdomain.com         company.com
>
>
> Unfortunallety this doesn't work. I've restarted kolab postif and  if I do
> a telnet to 127.0.0.1 and try to send a mail to "user1 at otherdomain.com"
> there appear:
>
>   550 <user1 at otherdomain.com>: Recipient address rejected: User unknown in
> local recipient table
>
>
> Any help or link? I think I saw this issue in the Wiki but can't find it
> now.
>
> Thanks a lot for any help.


Finally I got the solution in the wiki:


- Add domains to  /kolab/etc/kolab/templates/main.cf.template under the 
mydestination directive (mydestination = @@@postfix-mydestination|join @@@ 
extradomain.com)

- Then run /kolab/sbin/kolabconf. After this you will need to add aliases to 
existing users (so user at mydomain.com can have an alias and receive mail for 
user at extradomain.com)
 
- In example if you want all users from mydomain.com to recieve also mail sent 
to extradomain.com enter the folowing line in virtual.template : 
@myextradomain.com @mydomain.com



-- 
y hasta aquí puedo leer...




More information about the users mailing list