On Thu, Dec 11, 2008 at 03:06:20PM +0100, mouss wrote:
> Jakub Nadolny a écrit :
> > 
> > Yes, it uses sendmail command. It is common vacation.pl by Mischa Peters, 
> > but
> > quite old version, I can not find newer one. What would be the best 
> > solution for
> > postfix auto-responder which could be easily integrated with postfix admin 
> > and
> > mysql?
> 
> 
> you can use your script as an LDA instead of a filter. you can use
> recipient_bcc_maps or virtual_alais_maps to pass a copy of the mail to
> the vacation script. for example:
> 
> recipient_bcc_maps = pcre:/etc/postfix/bcc_vacation
> 
> == bcc_vacation:
> /(.*)@example\.com$/  $...@vacation.example.com
> 
> then use transport_maps to deliver these copies to your script:
> vacation.example.com  yourvacation:example.com
> 
> ... etc.

Once again thank you very much for your help. I have upgraded postfixadmin to
newest version (as Charles suggested) and setup up vacation again, in the way 
as it is decribed in postfixadmin/VIRTUAL_VACATION/INSTALL.TXT (without use of
bcc_maps). 

So postfixadmin is not a filter now, but transport and it works fine - there are
no duplicates.

Reply via email to