List Info

Thread: Alias for a domain




Alias for a domain
user name
2006-04-25 20:34:45
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:

    user1otherdomain.com

the mail must be deelivered to:

    user1company.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
"user1otherdomain.com" there 
appear:

  550 <user1otherdomain.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.

_______________________________________________
Kolab-users mailing list
Kolab-userskolab.org
https:
//kolab.org/mailman/listinfo/kolab-users
Alias for a domain
user name
2006-04-25 20:47:29
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:
>
>     user1otherdomain.com
>
> the mail must be deelivered to:
>
>     user1company.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
"user1otherdomain.com"
> there appear:
>
>   550 <user1otherdomain.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 usermydomain.com can have an alias and receive
mail for 
userextradomain.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...

_______________________________________________
Kolab-users mailing list
Kolab-userskolab.org
https:
//kolab.org/mailman/listinfo/kolab-users
[1-2]

about | contact  Other archives ( Real Estate discussion Medical topics )