[Vmail-discuss] suggestion for domain-aliases

klebermass@limtec.de klebermass@limtec.de
Tue, 10 Sep 2002 13:40:23 +0200


Im not shure about what you want with domain-aliases. if you mean such thing
like a catch all address, then it shouldnt be to hard
to set it up so that u can have popboxes and forwarders on a domain_alias.

On my configuration i first have the directors for handlng the popboxes and
forwards.
Afterwords, if no email matches there i have a directory like this
( i have a table in my mysqldb containing 2 rows, a domain_name and an
emailaddress as target)
and it matches every email that goes to this domain, and forwards it to the
emailaddress (but if there is a popbox or forward specified, the director
will not come so far)
----- Original Message -----
From: "Jakob Hirsch" <jh@plonk.de>
To: <vmail-discuss@lists.beasts.org>
Sent: Monday, September 09, 2002 5:11 PM
Subject: [Vmail-discuss] suggestion for domain-aliases


> Hi,
>
> Wouldn't it be easier and better to handle domain-aliases by a separate
> director like this one:
>
> domain_alias:
>  driver = aliasfile
>  search_type = mysql
>  query = "SELECT CONCAT('$local_part@', domain_name) FROM domain_alias
> WHERE alias = '$domain'"
>  forbid_file = true
>  forbid_pipe = true
>
> I know this is not really aliasing, but rewriting the domain-part. Pro
> is that you can forward a whole domain to another even if it's not
> hosted on your mailserver, con is that you cannot have popboxes and
> forwarders on an domain_alias any more. Main pro for me is that I don't
> have to use this strange LEFT JOIN constructs, which I must admit I do
> not really understand.
>
>
> Bye, Jakob
>
>
> _______________________________________________
> vmail-discuss mailing list
> vmail-discuss@lists.beasts.org
> http://lists.beasts.org/mailman/listinfo/vmail-discuss