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
(sorry if the above gets posted twice, I sent it ten hours ago and don't
see it coming through.)
I've now created another subdomain in order to run mailaction.php using
suexec amavis and still get the same "Permission denied" error from
amavisd-release.
Michael
--
Michael Slavin /o\~/o\~/o\ 226 Santa Fe Dr. Baldwin City, KS 66006
theWebster *** electronic internet publishing and graphic services
(everywhere)
tel 785 594-6621 verizon cell 785 766-8756
Get Thunderbird <http://www.mozilla.com/thunderbird/>, Firefox
<http://www.mozilla.com/firefox/>, and MailDad <http://maildad.com/>,
and you're in good hands....
-------------------------------------------------------------------------
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/