From: Magnus Bäck (no email)
Date: Wed Jun 01 2005 - 01:27:01 EDT
On Wednesday, June 01, 2005 at 06:30 CEST,
Matt England <> wrote:
> At 5/31/2005 02:30 PM, Magnus Bäck wrote:
>
> > http://www.postfix.org/VIRTUAL_README.html#mailing_lists
> > http://www.postfix.org/VIRTUAL_README.html#autoreplies
>
> Ok. However (and I'm sure this is a novice question):
>
> These above examples use
>
> /etc/postfix/main.cf:
> virtual_alias_maps = hash:/etc/postfix/virtual
>
> ...but I am already using virutal_alias_maps as such:
>
> /etc/postfix/main.cf:
> virtual_alias_maps = mysql:/etc/postfix/mysql_virtual_alias_maps.cf
>
> ...for integration with postfixadmin and courier-imap.
virtual_alias_maps =
mysql:/etc/postfix/mysql_virtual_alias_maps.cf,
hash:/etc/postfix/virtual
Or whatever. You can easily use MySQL for the second mapping described
in VIRTUAL_README; just create a query on the following form:
SELECT address + ', ' + address + '@autoreply.example.com'
FROM aliases WHERE address = '%s'
I'm sure you can incorporate this into the query defined in
mysql_virtual_alias_maps.cf.
[...]
-- Magnus Bäck
|
|
|