Re: virtual domains?

"Keith T. Garner" <[email protected]> Fri, 16 Jul 2004 15:40:14 -0500
Newsgroups gmane.mail.jamm.user
Message-ID <[email protected]>
On Fri, Jul 16, 2004 at 03:58:26, Tristan DEFERT said:
> Hi,
> how can i set up a virtual domain in Jamm?

Technically, I'd consider any domain in Jamm to be a virtual domain.
:)

> (for example , all mail at [email protected] goes to 
> [email protected] ? )
> Thx for your answers :-)

This is best down outside of jamm, and in postfix directly.

I use a regular expression map in postfix for this.

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

virtual_alias_maps = ldap:accountsmap, ldap:aliases, regexp:/etc/postfix/regexp_table


-- 
 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 BEA Weblogic Workshop
FREE Java Enterprise J2EE developer tools!
Get your free copy of BEA WebLogic Workshop 8.1 today.
http://ads.osdn.com/?ad_id=4721&alloc_id=10040&op=click