ClamAV-milter

2018-11-28 Thread @lbutlr
Trying to configure clamav-milter with postfix-current-3.4.20181105,5 under FreeBSD 11.2-RELEASE, but I’ve missed something since no mail is actually getting processed by ClamAV-milter, including the EICAR test mails which sail through without triggering anything. I’ve tried to provide

Re: Limiting "clamav milter" to received mail only.

2016-03-20 Thread Wietse Venema
Postfix User: > I apologize if this is not the correct place to ask this question. > > I am using the "clamav milter" with Postfix. I assume it is checking > mail both coming and going. I want it to only filter mail I receive. Is > that possible in Postfix? There may be

Limiting "clamav milter" to received mail only.

2016-03-20 Thread Postfix User
I apologize if this is not the correct place to ask this question. I am using the "clamav milter" with Postfix. I assume it is checking mail both coming and going. I want it to only filter mail I receive. Is that possible in Postfix? Thanks! -- Jerry

Re: clamav-milter

2015-06-14 Thread Noel Jones
On 6/14/2015 6:07 PM, Timothy Murphy wrote: > I'm trying to get clamav-milter running on my CentOS-7 home server. > I'm running postfix + dovecot, and have spamass-milter installed. > > When I try to start clamav-milter I get the error message > in /var/log/clamav-milter

clamav-milter

2015-06-14 Thread Timothy Murphy
I'm trying to get clamav-milter running on my CentOS-7 home server. I'm running postfix + dovecot, and have spamass-milter installed. When I try to start clamav-milter I get the error message in /var/log/clamav-milter.log Sun Jun 14 23:26:25 2015 -> ERROR: Failed to create so

Re: service unix:/run/clamav-milter/clamav-milter.socket: Permission denied

2014-08-04 Thread li...@rhsoft.net
>> De: li...@rhsoft.net >> Fecha:04/08/2014 21:18 (GMT+01:00) >> Para: Mailing-List postfix >> Asunto: service unix:/run/clamav-milter/clamav-milter.socket: Permission >> denied >> >> why is "access denied" here reported? >> >&

Re: service unix:/run/clamav-milter/clamav-milter.socket: Permission denied

2014-08-04 Thread li...@rhsoft.net
> Para: Mailing-List postfix > Asunto: service unix:/run/clamav-milter/clamav-milter.socket: Permission > denied > > why is "access denied" here reported? > > smtpd_milters = unix:/run/clamav-milter/clamav-milter.socket > > Aug 4 21:14:43 test

Re: service unix:/run/clamav-milter/clamav-milter.socket: Permission denied

2014-08-04 Thread li...@rhsoft.net
out drop privileges, really started as that user) and creates it's pidfiles in /run/mysqld that's not the reason [root@testserver:~]$ cat /usr/lib/tmpfiles.d/mysql.conf d /run/mysqld 0755 mysql mysql - >> [root@testserver:~]$ stat /run/clamav-milter/ >> File: '

RE: service unix:/run/clamav-milter/clamav-milter.socket: Permission denied

2014-08-04 Thread Nicolás
Maybe Apparmor/SELinux/alike blocking access to /run directory? Enviado de Samsung Mobile Mensaje original De: li...@rhsoft.net Fecha:04/08/2014 21:18 (GMT+01:00) Para: Mailing-List postfix Asunto: service unix:/run/clamav-milter/clamav-milter.socket: Permission denied

Re: service unix:/run/clamav-milter/clamav-milter.socket: Permission denied

2014-08-04 Thread Viktor Dukhovni
On Mon, Aug 04, 2014 at 09:18:27PM +0200, li...@rhsoft.net wrote: > why is "access denied" here reported? The "/run" directory is on many systems restricted to root. Your permissions checks start one level lower and are tested as "root". > [root@testserver:~

service unix:/run/clamav-milter/clamav-milter.socket: Permission denied

2014-08-04 Thread li...@rhsoft.net
why is "access denied" here reported? smtpd_milters = unix:/run/clamav-milter/clamav-milter.socket Aug 4 21:14:43 testserver postfix/submission/smtpd[12440]: connect from local.rhsoft.net[62.178.103.85] Aug 4 21:14:43 testserver postfix/submission/smtpd[12440]: warning: connect

Re: clamsmtp or clamav-milter for antivirus with postfix 2.9?

2012-10-12 Thread DTNX Postmaster
gt;> and am wanting to integrate antivirus capabilities. What are the >>> differences between clamsmtp and clamav-milter? I'm wondering which >>> one would be better for an antivirus setup? >> >> In situations where I was only doing anti-virus and not anti-spam, I&#

Re: clamsmtp or clamav-milter for antivirus with postfix 2.9?

2012-10-12 Thread Robert Schetterer
differences between clamsmtp and clamav-milter? I'm wondering which >> one would be better for an antivirus setup? > > In situations where I was only doing anti-virus and not anti-spam, I've used > clamsmtp for years with no issues. It hasn't had a release in awhile,

Re: clamsmtp or clamav-milter for antivirus with postfix 2.9?

2012-10-12 Thread Noel Jones
differences between clamsmtp and clamav-milter? I'm wondering which >> one would be better for an antivirus setup? > > In situations where I was only doing anti-virus and not anti-spam, I've used > clamsmtp for years with no issues. It hasn't had a release in awh

Re: clamsmtp or clamav-milter for antivirus with postfix 2.9?

2012-10-12 Thread Scott Kitterman
On Friday, October 12, 2012 12:38:28 PM David Mehler wrote: > Hello, > > This might be off topic, but I was wondering I am using Postfix 2.9.x > and am wanting to integrate antivirus capabilities. What are the > differences between clamsmtp and clamav-milter? I'm wondering

clamsmtp or clamav-milter for antivirus with postfix 2.9?

2012-10-12 Thread David Mehler
Hello, This might be off topic, but I was wondering I am using Postfix 2.9.x and am wanting to integrate antivirus capabilities. What are the differences between clamsmtp and clamav-milter? I'm wondering which one would be better for an antivirus setup? Thanks. Dave.

Re: Postfix or ClamAV milter issue

2012-08-27 Thread Ralf Hildebrandt
* John Gardner : > Ralf > > >> So, are you saying that there is no reason why these options shouldn't > >> work? > > > Exactly. Either both or non should work. Hm. Maybe a chroot issue? > > I'm not using a chroot jail, so I'm pretty sure it won't be that... I > might have to remove the ClamAV i

Re: Postfix or ClamAV milter issue

2012-08-27 Thread John Gardner
Ralf >> So, are you saying that there is no reason why these options shouldn't work? > Exactly. Either both or non should work. Hm. Maybe a chroot issue? I'm not using a chroot jail, so I'm pretty sure it won't be that... I might have to remove the ClamAV integration with Postfix if I can't solv

Re: Postfix or ClamAV milter issue

2012-08-27 Thread Ralf Hildebrandt
> > What are the permissions on /var/clamav/clmilter.socket ? > > The permissions are; > > srwxrwxr-x 1 clamav postfix 0 Aug 21 12:30 clmilter.socket That looks ok. > So, are you saying that there is no reason why these options shouldn't work? Exactly. Either both or non should work. Hm

Re: Postfix or ClamAV milter issue

2012-08-27 Thread John Gardner
Ralf > What are the permissions on /var/clamav/clmilter.socket ? The permissions are; srwxrwxr-x 1 clamav postfix 0 Aug 21 12:30 clmilter.socket Which I believe I found from here: http://www.jasonbrown.us/blog/post_clamav_rhelcentos > According to the docs: > "You specify SMTP-only Milter

Re: Postfix or ClamAV milter issue

2012-08-27 Thread Ralf Hildebrandt
* John Gardner : > Aug 27 09:17:22 mailserver postfix/pickup[17976]: 247B7D006E: uid=0 > from= > Aug 27 09:17:22 mailserver postfix/cleanup[18369]: warning: connect to > Milter service unix:/var/clamav/clmilter.socket: Permission denied What are the permissions on /var/clamav/clmilter.socket ?

Postfix or ClamAV milter issue

2012-08-27 Thread John Gardner
problem arrises when I try to use ClamAV milter with Postfix. When I add the ClamAV milter into main.cf, and attempt to deliver an email from an external source, everything works well with no issues. Mail delivery works as designed and is stopped successfully when I try to send an EICAR test virus from

Re: Issues with clamav-milter on Postfix

2011-06-13 Thread Andrew Beverley
On Mon, 2011-06-13 at 06:32 -0400, Scott Kitterman wrote: > On Sunday, June 12, 2011 09:46:41 PM Janantha Marasinghe wrote: > > Hi All, > > > > I have installed clamav-milter on my postfix 2.7 which is running on > > ubuntu 10.04 server LTS. I have configured the confi

Re: Issues with clamav-milter on Postfix

2011-06-13 Thread Scott Kitterman
On Sunday, June 12, 2011 09:46:41 PM Janantha Marasinghe wrote: > Hi All, > > I have installed clamav-milter on my postfix 2.7 which is running on > ubuntu 10.04 server LTS. I have configured the config file where the > socket is the clamav-milter.ctl but when postfix gets an

Re: Issues with clamav-milter on Postfix

2011-06-12 Thread Noel Jones
On 6/12/2011 8:46 PM, Janantha Marasinghe wrote: Hi All, I have installed clamav-milter on my postfix 2.7 which is running on ubuntu 10.04 server LTS. I have configured the config file where the socket is the clamav-milter.ctl but when postfix gets an e-mail it gives the warning the directory

Re: Issues with clamav-milter on Postfix

2011-06-12 Thread Wietse Venema
Janantha Marasinghe: > Hi All, > > I have installed clamav-milter on my postfix 2.7 which is running on > ubuntu 10.04 server LTS. I have configured the config file where the > socket is the clamav-milter.ctl but when postfix gets an e-mail it gives > the warning the directo

Issues with clamav-milter on Postfix

2011-06-12 Thread Janantha Marasinghe
Hi All, I have installed clamav-milter on my postfix 2.7 which is running on ubuntu 10.04 server LTS. I have configured the config file where the socket is the clamav-milter.ctl but when postfix gets an e-mail it gives the warning the directory or file doesn't exist. has anyone go

RE: Trouble with clamav-milter

2009-12-23 Thread JORGE CARMINATI
ilter receive failed Anyway, following your first comment, I completely disabled SELinux and repeated some tests and now clamav-milter is working!: Dec 23 09:18:30 relay1 postfix/smtpd[11074]: > unknown[172.16.2.3]: 354 End data with . Dec 23 09:18:38 relay1 postfix/cleanup[11138]: 5558

Re: Trouble with clamav-milter

2009-12-23 Thread Ralf Hildebrandt
And a side note: It doesn't matter how well (or not) clamav-milter performs if you can't get it running... But you'll probably get it running, fear not. -- Ralf Hildebrandt Geschäftsbereich IT | Abteilung Netzwerk Charité - Universitätsmedizin Berlin Campus Be

Re: Trouble with clamav-milter

2009-12-22 Thread Wietse Venema
JORGE CARMINATI: > Hi all, I'm trying to integrate Postfix with clamav-milter but am > getting some errors: > > Dec 22 16:16:47 relay1 postfix/cleanup[1177]: warning: cannot receive milters > via service cleanup socket socket > Dec 22 16:16:47 relay1 postf

RE: Trouble with clamav-milter

2009-12-22 Thread JORGE CARMINATI
> -Original Message- > From: owner-postfix-us...@postfix.org [mailto:owner-postfix- > us...@postfix.org] On Behalf Of Wietse Venema > Sent: Tuesday, December 22, 2009 17:17 > To: Postfix users > Subject: Re: Trouble with clamav-milter > > JORGE CARMINATI: &

RE: Trouble with clamav-milter

2009-12-22 Thread JORGE CARMINATI
> -Original Message- > From: owner-postfix-us...@postfix.org [mailto:owner-postfix- > us...@postfix.org] On Behalf Of Jerry > Sent: Tuesday, December 22, 2009 16:55 > To: postfix-users@postfix.org > Subject: Re: Trouble with clamav-milter > > On Tue, 22 Dec 200

Re: Trouble with clamav-milter

2009-12-22 Thread Wietse Venema
JORGE CARMINATI: > Hi all, I'm trying to integrate Postfix with clamav-milter but am getting > some errors: > > Dec 22 16:16:47 relay1 postfix/cleanup[1177]: warning: cannot receive milters > via service cleanup socket socket > Dec 22 16:16:47 relay1 postf

Re: Trouble with clamav-milter

2009-12-22 Thread Jerry
On Tue, 22 Dec 2009 16:26:31 -0300 JORGE CARMINATI articulated: >Hi all, I'm trying to integrate Postfix with clamav-milter but am >getting some errors: > >Dec 22 16:16:47 relay1 postfix/cleanup[1177]: warning: cannot receive >milters via service cleanup socket socket De

Trouble with clamav-milter

2009-12-22 Thread JORGE CARMINATI
Hi all, I'm trying to integrate Postfix with clamav-milter but am getting some errors: Dec 22 16:16:47 relay1 postfix/cleanup[1177]: warning: cannot receive milters via service cleanup socket socket Dec 22 16:16:47 relay1 postfix/cleanup[1177]: fatal: cleanup_milter_receive: milter re

Re: Postfix and clamav-milter stopped working after update to clamav-0.95.3

2009-10-30 Thread Jerry
On Fri, 30 Oct 2009 17:12:40 +0100 Erwan David replied: [snip] >Mine is > >srwxr-xr-x 1 postfix clamav - 0 Oct 30 15:15 >/var/run/clamav/clmilter.sock > > >In the port this is controlled by >clamav_milter_socket_user="postfix" I changed the permissions on mine to: 0777. I figured it was easi

Re: Postfix and clamav-milter stopped working after update to clamav-0.95.3

2009-10-30 Thread Erwan David
Jerry wrote: > On Fri, 30 Oct 2009 16:26:10 +0100 > Erwan David replied: > >> Jerry a écrit : >>> System: FreeBSD-7.2 >>> >>> I just updated to clamav-0.95.3 on my system. I then realized that >>> clamav-milter and Postfix were no lon

Re: Postfix and clamav-milter stopped working after update to clamav-0.95.3

2009-10-30 Thread Jerry
On Fri, 30 Oct 2009 16:26:10 +0100 Erwan David replied: >Jerry a écrit : >> System: FreeBSD-7.2 >> >> I just updated to clamav-0.95.3 on my system. I then realized that >> clamav-milter and Postfix were no longer connecting. >> >> >> # Enable cl

Re: Postfix and clamav-milter stopped working after update to clamav-0.95.3

2009-10-30 Thread Erwan David
Jerry a écrit : > System: FreeBSD-7.2 > > I just updated to clamav-0.95.3 on my system. I then realized that > clamav-milter and Postfix were no longer connecting. > > > # Enable clamav-milter > milter_default_action = accept > smtpd_milters = unix:/var/run/clamav/clm

Postfix and clamav-milter stopped working after update to clamav-0.95.3

2009-10-30 Thread Jerry
System: FreeBSD-7.2 I just updated to clamav-0.95.3 on my system. I then realized that clamav-milter and Postfix were no longer connecting. # Enable clamav-milter milter_default_action = accept smtpd_milters = unix:/var/run/clamav/clmilter.sock srwxr-xr-x 1 clamav wheel 0B Oct 30 10:22

Re: new clamav-milter quarantaine in hold queue script

2009-04-04 Thread Noel Jones
EUEPATH in `cat ${TMPFILE}` do QUEUEID=`basename ${QUEUEPATH}` # change this line to adjust action $PBIN/postsuper -H ${QUEUEID} 2>&1 | mail -s 'pf-releasehold' postmaster done rm -f ${TMPFILE} ----8X---- Of course, the better answer is: If clamav-milter isn't doing wh

Re: new clamav-milter quarantaine in hold queue script

2009-04-04 Thread Robert Schetterer
Victor Duchovni schrieb: > On Sat, Apr 04, 2009 at 07:01:08PM +0200, Robert Schetterer wrote: > >>> Here's my suggestion: >>> >>> - Create a second Postfix instance in the same file-system. >>> - Run a cron job to move (rename(2)) messages from the HOLD queue >>> of the main instance

Re: new clamav-milter quarantaine in hold queue script

2009-04-04 Thread Victor Duchovni
On Sat, Apr 04, 2009 at 07:01:08PM +0200, Robert Schetterer wrote: > > Here's my suggestion: > > > > - Create a second Postfix instance in the same file-system. > > - Run a cron job to move (rename(2)) messages from the HOLD queue > > of the main instance into the deferred queue of

Re: new clamav-milter quarantaine in hold queue script

2009-04-04 Thread Robert Schetterer
Victor Duchovni schrieb: > On Sat, Apr 04, 2009 at 06:16:33PM +0200, Robert Schetterer wrote: > >> havening them in hold is a nice option >> but i am thinking of a script >> getting them out of hold and store >> in the filesystem and clean up hold > > Here's my suggestion: > > - Create a sec

Re: new clamav-milter quarantaine in hold queue script

2009-04-04 Thread Victor Duchovni
On Sat, Apr 04, 2009 at 06:16:33PM +0200, Robert Schetterer wrote: > havening them in hold is a nice option > but i am thinking of a script > getting them out of hold and store > in the filesystem and clean up hold Here's my suggestion: - Create a second Postfix instance in the same file-sys

new clamav-milter quarantaine in hold queue script

2009-04-04 Thread Robert Schetterer
Hi, the redesign of the clamav-milter 0.95 does quarantaine in the hold queue before infected mails were written to some configurable dir havening them in hold is a nice option but i am thinking of a script getting them out of hold and store in the filesystem and clean up hold i have some clean