Re: [AMaViS-user] amavisd-release and apache suexec

2008-10-04 Thread Michael Slavin
Mark, Thank you for your patience and time with this. I still haven't got it working. Mark Martinec wrote: amavisd-release need not run as any specific user, all it needs is an access to an inet or unix socket offered by amavisd. If run as root, it works fine. Run from the web script

Re: [AMaViS-user] amavisd-release and apache suexec

2008-10-02 Thread Mark Martinec
Michael, amavisd-release need not run as any specific user, all it needs is an access to an inet or unix socket offered by amavisd. If run as root, it works fine. Run from the web script mailaction.php it does not. I guess it is not a suexec issue as amavisd-release does start, but then

Re: [AMaViS-user] amavisd-release and apache suexec [SOLVED]

2008-10-02 Thread Michael Slavin
Mark Martinec wrote: Michael amavisd-release need not run as any specific user, all it needs is an access to an inet or unix socket offered by amavisd. If run as root, it works fine. Run from the web script mailaction.php it does not. I guess it is not a suexec issue as

Re: [AMaViS-user] amavisd-release and apache suexec

2008-09-30 Thread Michael Slavin
Mark, Thank you for your patience and time with this. I still haven't got it working. Mark Martinec wrote: amavisd-release need not run as any specific user, all it needs is an access to an inet or unix socket offered by amavisd. If run as root, it works fine. Run from the web script

Re: [AMaViS-user] amavisd-release and apache suexec

2008-09-29 Thread Michael Slavin
Mark Martinec wrote: Try changing $log_level = 1; to $log_level = 2; within amavisd-release. Perhaps also redirect its stderr to some file, then see what is reported. Thanks Mark, I changed the log level OK but am at a loss regarding the error messages. amavisd logs fine to my

Re: [AMaViS-user] amavisd-release and apache suexec

2008-09-29 Thread Michael Slavin
OK, I've made a little headway. I changed mailaction.php line 19 to: $ar_call = /usr/bin/amavisd-release .$qfile[0]. .$sid. /var/log/amavis-releaselog 21; I also found some error messages from apache. I have the default server name the same as the virtual host where these scripts live, and

Re: [AMaViS-user] amavisd-release and apache suexec

2008-09-23 Thread Mark Martinec
Michael, I'm having trouble with suexec, amavisd-release need not run as any specific user, all it needs is an access to an inet or unix socket offered by amavisd. I think, though I cannot get my server to log any reason the amavisd-release script fails to function on this particular

[AMaViS-user] amavisd-release and apache suexec

2008-09-22 Thread Michael Slavin
I'm having trouble with suexec, I think, though I cannot get my server to log any reason the amavisd-release script fails to function on this particular machine. My mailaction.php file successfully extracts the necessary info from my mysql tables and updates them appropriately, and when I code in