Re: [Exim] Piping Problem (fwd)

Kezdőlap
Üzenet törlése
Válasz az üzenetre
Szerző: Justin Stanford
Dátum:  
Címzett: exim-users
Tárgy: Re: [Exim] Piping Problem (fwd)
Hi Johnathan

Many thanks for your input - however, surely it should be ok, as I
specified that the sript be run as root..? Here is the configure entry..

virus_scan:
driver = pipe
command = "/usr/sbin/antiv 2>&1 > /dev/null"
user = root

I also commented out "never_users=root", so root should be a valid user..?

Any comments are most appreciated,
Regards,
jus

--
Justin Stanford
082 7402741
jus@???
www.security.za.net
IT Security and Solutions

On Wed, 10 May 2000, Jonathan Hunter wrote:

> > The error email I get contains this:-
> >
> >   jus@???:
> >     Child process of virus_scan transport returned 2 from command:
> >     /usr/sbin/antiv

> >
> > Yet the script appears to execute perfectly when run from commandline.
> > Anyone...?
>
> Check the docs for 'antiv' and see what return code 2 means. That should
> give you more information. Also check that 'antiv' runs OK as the user exim
> is running as. Often things work fine as root or as the user who installed
> them, but have problems when run by unpriviledged users on the machine.
>
> HTH,
>
> Jonathan
>
>
> --
> ## List details at http://www.exim.org/mailman/listinfo/exim-users Exim details at http://www.exim.org/ ##
>