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 mailaction.php it 
does not. I guess it is not a suexec issue as amavisd-release does 
start, but then fails and logs
   
    Can't connect to UNIX socket /var/spool/amavisd/amavisd.sock:
    Permission denied at /usr/bin/amavisd-release line 206.

I finally tried from a shell, su webadmin and then run the release 
command, that also fails with the socket permission error.

    srwxr-x--- 1 amavis amavis 0 Sep 17 17:19 
/var/spool/amavisd/amavisd.sock
    -rwxr-xr-x 1 root root  9194 Sep 29 14:08 /usr/bin/amavisd-release

What am I still doing wrong here??

Michael

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
AMaViS-user mailing list
[email protected] 
https://lists.sourceforge.net/lists/listinfo/amavis-user 
 AMaViS-FAQ:http://www.amavis.org/amavis-faq.php3 
 AMaViS-HowTos:http://www.amavis.org/howto/ 

Reply via email to