LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (http://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   amavisd with sendmail problem (http://www.linuxquestions.org/questions/linux-newbie-8/amavisd-with-sendmail-problem-508591/)

leiw 12-08-2006 10:45 AM

amavisd with sendmail problem
 
Hi,

I was added the following line in sendmail.mc:

define(`MILTER', 1)dnl

INPUT_MAIL_FILTER(`milter-amavis', `S=local:/var/amavis/amavisd-milter.sock, F=T, T=S:10m;R:10m;E:10m')dnl o default but the problem still

After restart the sendmail, have following problem:

[root@tunnel ~]# service sendmail restart
Shutting down sm-client: [ OK ]
Shutting down sendmail: [ OK ]
Starting sendmail: WARNING: Xmilter-amavis: local socket name /var/amavis/amavisd-milter.sock missing
[ OK ]
Starting sm-client: [ OK ]


maillog:

Dec 7 16:21:45 tunnel sendmail[8170]: kB78LjAV008170: Milter (milter-amavis): to error state
Dec 7 16:21:45 tunnel sendmail[8170]: kB78LjAV008170: Milter: initialization failed, temp failing commands
Dec 7 16:22:39 tunnel sendmail[8176]: kB78MdCm008176: Milter (milter-amavis): local socket name /var/amavis/amavisd-milter.sock unsafe
Dec 7 16:22:39 tunnel sendmail[8176]: kB78MdCm008176: Milter (milter-amavis): to error state
Dec 7 16:22:39 tunnel sendmail[8176]: kB78MdCm008176: Milter: initialization failed, temp failing commands
Dec 7 16:23:20 tunnel sendmail[8188]: kB78NKIv008188: Milter (milter-amavis): local socket name /var/amavis/amavisd-milter.sock unsafe
Dec 7 16:23:20 tunnel sendmail[8188]: kB78NKIv008188: Milter (milter-amavis): to error state
Dec 7 16:23:20 tunnel sendmail[8188]: kB78NKIv008188: Milter: initialization failed, temp failing commands

leiw 12-10-2006 01:48 AM

push ~ push ~

kevinslair 01-14-2010 01:44 AM

Sendmail with amavisd-milter
 
I am having the same problem on mh fc11 x86_64

I am using /var/spool/amavisd/amavisd-milter.sock and I get the same permission denied error. I really don't know how to fix this.

define(`MILTER', 1)dnl

INPUT_MAIL_FILTER(`milter-amavis', `S=local:/var/spool/amavisd/amavisd-milter.sock, F=T, T=S:10m;R:10m;E:10m')dnl

my error is:

amavisd-milter.sock is unsafe permission denied

???

Thanks,
Kevin

kevinslair 01-15-2010 02:57 AM

I never did get it working. I did however get postfix working with amavisd-new and the amavisd-milter, and clamav with avg.
Sorry can't help.


All times are GMT -5. The time now is 11:30 PM.