Thanks Jeroen,
Finally cracked it tonight. You're right - the content filter itself was 
unnecessary and was being run against every mail in and out.
so removed that and just left the vacation transport to handle anything with an 
@autoreply.domain.com address (which I create in the alias table with a custom 
script)

All working perfectly now...
Thanks for the help.



-----Original Message-----
From: owner-postfix-us...@postfix.org on behalf of Jeroen Geilman
Sent: Thu 1/13/2011 11:20 PM
To: postfix-users@postfix.org
Subject: Re: smtp content_filter help needed (Vacation.pl)
 
On 1/13/11 8:34 AM, Mark (Lunatechnologies) wrote:
>
> Hi there,
>
> I'm using a virtual vacation script (version 3.2), which runs as a 
> content filter for a while - but I have one makjor problem.
>

Yes. Why would you run a per-user reply script through a system-wide 
content_filter ?
Enable procmail or sieve processing for individual users and set up 
autoresponders there.# VIRTUAL VACATION

> #
> vacation        unix    -       n       n       -       -       pipe
>    flags=DRhu user=vacation argv=/var/spool/vacation/vacation.pl -f 
> ${sender} -- ${recipient}
>

Ugh. It's already a transport ?

http://www.postfix.org/transport.5.html explains how to set per-user 
transports.

No more is required.

-- 
J.



______________________________________________________________________
This email has been scanned by the MessageLabs Email Security System.
For more information please visit http://www.messagelabs.com/email 
______________________________________________________________________

Reply via email to