|
Save the teapot fund New CSS web design for Wibble proudly provided by Kelv. Please contact the webmaster with any questions or concerns. |
Wibble > List archives > postfix > 2004 > September
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: Postfix/Spamassassin & vacation messages
On Wednesday, September 01, 2004 at 14:38 CEST,
Mark Thomas <marksthomas@xxxxxxxxx> wrote:
[...]
> > Why use the vacation script as a content filter in the first place?
> >
> > http://www.postfix.org/VIRTUAL_README.html#autoreplies
>
> Hi Magnus,
>
> Ok, thanks for the response here.
>
> Checking my main.cf I can see a section called:-
>
> virtual_alias_maps = mysql:/usr/local/etc/postfix/mysql_virtual_alias_maps.cf
>
> Do i add the entry from the site you mentioned below this:-
>
> virtual_alias_maps = hash:/etc/postfix/virtual
No! Just as with content_filter, there can only be one occurence of a
parameter. The last one listed wins. In this case, virtual_alias_maps
accepts multiple map specifications.
virtual_alias_maps = a, b
> I am a bit worried that we have lots of domains being looked after
> here with lots of aliases, and im not sure how well this is going to
> work?
What's the problem?
With all addresses stored in MySQL, you can adjust the query to return
the desired mapping without modifying the contents of the database:
SELECT address + ', ' + address + '@autoreply.example.com' FROM ...
Perhaps you only want this kind of expansion for the final recipient and
not for the aliases leading to the final recipient, in which case two
queries are required.
--
Magnus Bäck
magnus@xxxxxxxxxxx
|