Postfix and milters problem

April 10th, 2012 - 03:39 pm ET by JohnT | Report spam
Hi,

I'm trying to setup postfix with clamav-milter and spamass-milter on
debian squeeze.
There doesn't seem to be much guidance on the internet.

I have this at the end of main.cf:

smtpd_milters = unix:spamass/spamass.sock unix:/clamav/clamav-milter.ctl

However, neither of the milters seem to be called ...

I've tried sending an email with a virus string, and it is accepted.
None of the email headers are updated.
There are no errors in the log files.

Any ideas ?

Thanks
JohnT
email Follow the discussionReplies 2 repliesReplies Make a reply

Similar topics

Replies

#1 Nrth
April 10th, 2012 - 05:40 pm ET | Report spam
On 10/04/2012 20:39, JohnT wrote:
Hi,

I'm trying to setup postfix with clamav-milter and spamass-milter on
debian squeeze.
There doesn't seem to be much guidance on the internet.

I have this at the end of main.cf:

smtpd_milters = unix:spamass/spamass.sock unix:/clamav/clamav-milter.ctl

However, neither of the milters seem to be called ...

I've tried sending an email with a virus string, and it is accepted.
None of the email headers are updated.
There are no errors in the log files.

Any ideas ?

Thanks
JohnT



Hello,

I don't have spamassassin configured in a milter but I do with clamav.

This is working on Centos 6.2 on an x86_64 machine.

Postfix is 2.6.6. Clamav-milter and clamd are 0.97.4.

Here are what I believe to be the relevant configuration lines.


In /etc/postfix/main.cf :

smtpd_milters = inet:xxx.xxx.xxx.xxx:7357


In /etc/clamav-milter.conf :

MilterSocket inet:

[..]

ClamdSocket tcp:xxx.xxx.xxx.xxx


[..]

OnInfected Reject

[..]

AddHeader Replace


In /etc/clamd.conf :

TCPSocket 3310


##

Restart clamav-milter, clamd and postfix and see if that helps.


Regards,

Nrth.
Replies Reply to this message
#2 JohnT
April 11th, 2012 - 05:47 am ET | Report spam
On Tue, 10 Apr 2012 22:40:51 +0100, Nrth wrote:

On 10/04/2012 20:39, JohnT wrote:
Hi,

I'm trying to setup postfix with clamav-milter and spamass-milter on
debian squeeze.
There doesn't seem to be much guidance on the internet.

I have this at the end of main.cf:

smtpd_milters = unix:spamass/spamass.sock
unix:/clamav/clamav-milter.ctl

However, neither of the milters seem to be called ...

I've tried sending an email with a virus string, and it is accepted.
None of the email headers are updated. There are no errors in the log
files.

Any ideas ?

Thanks
JohnT



Hello,

I don't have spamassassin configured in a milter but I do with clamav.

This is working on Centos 6.2 on an x86_64 machine.

Postfix is 2.6.6. Clamav-milter and clamd are 0.97.4.

Here are what I believe to be the relevant configuration lines.


In /etc/postfix/main.cf :

smtpd_milters = inet:xxx.xxx.xxx.xxx:7357


In /etc/clamav-milter.conf :

MilterSocket inet:

[..]

ClamdSocket tcp:xxx.xxx.xxx.xxx


[..]

OnInfected Reject

[..]

AddHeader Replace


In /etc/clamd.conf :

TCPSocket 3310


##

Restart clamav-milter, clamd and postfix and see if that helps.




Hi Nrth,

Thanks for that.

Only difference seems to be that I'm using unix: rather than inet:, but
everything else looks right.

All the examples I've seen use unix: and I've made sure that the socket
is in the postfix chroot directory.

So still stumped :-(
email Follow the discussion Replies Reply to this message
Help Create a new topicReplies Make a reply
Search Make your own search