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$/    [EMAIL PROTECTED]

then use transport_maps to deliver these copies to your script:
vacation.example.com    yourvacation:example.com

... etc.



Reply via email to