On 21 Jan 2019, at 3:59 pm, James Brown <[email protected]> wrote:
> 
> I have Postfix Admin’s Vacation setup and would like to use the Perl at 
> /usr/local/bin/perl rather than /usr/bin/perl.
> 
> I have:
> 
> vacation        unix    -       n       n       -       -       pipe
>        flags=DRhu user=_vacation argv="/usr/local/bin/perl 
> /var/spool/vacation/vacation.pl" -f ${sender} -- ${recipient}
> 
> But Iog shows:
> 
> 2019-01-21 15:48:09.726114+1100  localhost pipe[8806]: 8A484E5F63E: 
> to=<testvacationuser#[email protected]>, 
> orig_to=<[email protected]>, relay=vacation, delay=0.25, 
> delays=0.21/0.02/0/0.03, dsn=4.3.0, status=deferred (temporary failure. 
> Command output: pipe: fatal: pipe_command: execvp "/usr/local/bin/perl: No 
> such file or directory )
> 
> Any suggestions on how to accomplish this?
> 
> Thanks,
> 
> James.

Ignore this, it worked just fine when I got rid of the quotes. Ie 

vacation        unix    -       n       n       -       -       pipe
        flags=DRhu user=_vacation argv=/usr/local/bin/perl 
/var/spool/vacation/vacation.pl -f ${sender} -- ${recipient}

I suppose it just seemed too simple for that to work!

James.

Reply via email to