Domain aliases

Alain Spineux aspineux at gmail.com
Mon Mar 10 06:26:57 CET 2008


On Wed, Mar 5, 2008 at 11:26 AM, Bo Thorsen <bo at thorsen-consulting.dk> wrote:
> Hi guys,
>
>  It's been a while, but I'm back on the list :)
>
>  We just switched from a standard postfix/cyrus combo to a kolab 2.2 rc1
>  server, and I have a few questions about it.
>
>  The most pressing is about domain aliases. We have about 20 domains for the
>  company: thorsen-consulting.(dk,eu,com), t16g.dk and more. All are just
>  aliases for the same domain.

Long time ago I posted a workaround for this in the list (or/and the
devel one), looks the archive.
I didnt find it anymore, but found the origine of the idea, this was a
post about how to make a catchall.
I was just adding an external address in the addressbook in the klab
web interface. something like

mail=@thorsen-consulting.dk
alias=@thorsen-consulting.eu
alias=@thorsen-consulting.com

The idea is to rewrite any email in <SOMETHING>@thorsen-consulting.eu
in <SOMETHING>@thorsen-consulting.dk

This was working because external contact where also used by the
wide-open "virtual_alias_map" addresses rewrite.
In case this is not working anymore for recent version, you can simply
(but need to edit files this time),
try to add  a line like "hash:/kolab/etc/postfix/equivdomain"
to your  virtual_alias_maps ( before it was called virtual_maps )
definition in your main.cf template

and fill the equivdomain with something like

thorsen-consulting.eu     anything
@thorsen-consulting.eu    @thorsen-consulting.dk

repeate these 2 lines for any of your domains

Dont forget the postmap /kolab/etc/postfix/equivdomain and reloadconf

Please report to the list if this work, this should go in the wiki, if
not already in

A possible problem with this, is that last kolabfilter and kolabpolicy changes
could prevent your users of using their particual (other then .dk) email address
for sending (in the FROM field).

Good luck

>
>  Adding each of these to all users would be a serious PITA, so I'm hoping there
>  is some quicker way of doing this, but I can't find it. I have googled and
>  read wiki pages, and I keep coming back to the same wiki statement
>  saying "Kolab >= 2.1 can handle multiple domains". This is true, it's just
>  not the sort I want.
>
>  I hope you can direct me to the correct answer.
>
>  Bo.
>
>  --
>
>  Thorsen Consulting ApS - Qt consulting services
>  http://www.thorsen-consulting.dk
>
>  _______________________________________________
>  Kolab-users mailing list
>  Kolab-users at kolab.org
>  https://kolab.org/mailman/listinfo/kolab-users
>



-- 
Alain Spineux
aspineux gmail com
May the sources be with you




More information about the users mailing list