Re: Domain alias ?

"Keith T. Garner" <[email protected]> Tue, 19 Oct 2004 10:27:42 -0500
Newsgroups gmane.mail.jamm.user
Message-ID <[email protected]>
On Tue, Oct 19, 2004 at 04:03:29, Andre Schild said:
> Hello,
> 
> in our old mail environment we could define domain aliases.
> 
> So we could setup a domain1.com with all it's users and 
> add a domain alias like domain2.com or mail.domain1.com.
> 
> So all mails delivered to [email protected]  [email protected] and [email protected] 
> have been delivered to the very same destination mailbox.
> 
> Is such a solution possible with jamm ?

This is better handled by postfix rather than Jamm.  With a postfix
I use a regex map to fix it up.  Example:

    [502]:cat /etc/postfix/regexp_table
    /^(.*)@kgarner\.(org|net)/      [email protected]

    [504]:grep regexp_table /etc/postfix/main.cf
    virtual_alias_maps = ldap:accountsmap, ldap:aliases, regexp:/etc/postfix/regexp_table

Keith

-- 
 Keith T. Garner                                        [email protected]
                "Make no little plans; they have no magic to
                   stir men's blood." - Daniel H. Burnham


-------------------------------------------------------
This SF.net email is sponsored by: IT Product Guide on ITManagersJournal
Use IT products in your business? Tell us what you think of them. Give us
Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more
http://productguide.itmanagersjournal.com/guidepromo.tmpl