Koozali.org: home of the SME Server

mail alias

Hoay Fern

mail alias
« on: September 10, 2001, 08:52:10 AM »
Hi,
 Currently we have create 3 virtual domain :

www.fullcircledesign.com.sg, www.sabana.com and www.geiser.com.sg

May I know how can I do in such a way that :

whatever@fullcircledesign.com.sg will go to account mark or whatever@sabana.com will go to account alwi and whatever@geiser.com.sg will go to account geiser
 
last time when we use slackware, we use address mapping to do it:
 
Example:
 
Mail For : @fullcircledesign.com.sg    Send To: mark
Mail For : @sabana.com                   Send To: alwi
Mail For : @geiser.com.sg                Send To: geiser
 
I dunno whether E-Smith can do this for us because it is impossible that we create all the users accounts and Pseudonyms for them. We dunno how many accounts and how many users for them
 
May i know we can do it same way in E-Smith.


pls assists

hoay fern

Koua Lo

Re: mail alias
« Reply #1 on: September 10, 2001, 09:01:40 AM »
Check out:

http://linux.made-to-order.net/article.php

Let me know if you need help (after reading the link above).

Hoay Fern

Re: mail alias
« Reply #2 on: September 10, 2001, 09:16:26 AM »
hi,

thanks for recomment the website to me.

i have some question to ask you:
for steps 5:

Step 5 - Create a templates-custom fragment:
    mkdir -p /etc/e-smith/templates-custom/var/qmail/control/virtualdomains
   pico /etc/e-smith/templates-custom/var/qmail/control/virtualdomains/90aliases

In this 90aliases file enter all your virtual aliases in the form alias:username. In the example below info@domain1.com is to go to user fred.

    info@domain1.com:fred

If you want all domain mail going into one account, enter your virtual alias in the form
domain:username.  In the example below domain1.com:fred sends all @domain1.com
mail to user fred.

    domain1.com:fred

my question:

may i know what is the templates-custom fragment mean ?



hoay fern