Re: [clamav-users] clamav-milter with sendmail on Fedora 28: init failed to open, to error state, initialization failed, temp failing commands

2018-07-30 Thread Robert Kudyba
> Jul 23 11:45:39 storm clamd[22351]: LibClamAV Error: yyerror(): >> /var/lib/clamav/packer.yar line 82 undefined identifier "pe" >> > > remove yar rules > > clamav is unstable with yara, google it > Yes just found

Re: [clamav-users] clamav-milter with sendmail on Fedora 28: init failed to open, to error state, initialization failed, temp failing commands

2018-07-30 Thread Benny Pedersen
Robert Kudyba skrev den 2018-07-30 16:23: Jul 23 11:45:39 storm clamd[22351]: LibClamAV Error: yyerror(): /var/lib/clamav/packer.yar line 82 undefined identifier "pe" remove yar rules clamav is unstable with yara, google it and systemd is not working with milter interfaces

Re: [clamav-users] clamav-milter with sendmail on Fedora 28: init failed to open, to error state, initialization failed, temp failing commands

2018-07-30 Thread Robert Kudyba
Any other suggestions on this? Still getting /var/log/clamav-milter.log: Mon Jul 30 08:55:09 2018 -> Probe for slot 1 returned: success So I'm pretty sure it's the setting in /etc/mail/sendmail.mc that needs updating. Here's what we have:

Re: [clamav-users] clamav-milter with sendmail on Fedora 28: init failed to open, to error state, initialization failed, temp failing commands

2018-07-23 Thread Robert Kudyba
> > However I still get these errors in sendmail: >> Milter: data, reject=451 4.3.2 Please try again later >> > > the syslog entry should give us more information. > Jul 23 11:45:33 storm systemd[1]: clamd@scan.service: Main process exited, code=killed, status=6/A BRT Jul 23 11:45:33 storm

Re: [clamav-users] clamav-milter with sendmail on Fedora 28: init failed to open, to error state, initialization failed, temp failing commands

2018-07-20 Thread Matus UHLAR - fantomas
On 17.07.18 15:50, Robert Kudyba wrote: An update, I got clamav-milter to run, from the clamav-milter logs: ps -auwx | grep clam clamupd+ 2252 0.0 0.0 50740 3832 ?Ss Jul11 0:45 /usr/bin/freshclam -d -c 4 clamscan 18943 0.0 4.6 1406760 1142296 ? Ssl 15:34 0:00

Re: [clamav-users] clamav-milter with sendmail on Fedora 28: init failed to open, to error state, initialization failed, temp failing commands

2018-07-17 Thread Robert Kudyba
An update, I got clamav-milter to run, from the clamav-milter logs: Tue Jul 17 15:34:15 2018 -> +++ Started at Tue Jul 17 15:34:15 2018 Tue Jul 17 15:34:15 2018 -> Probe for slot 1 returned: success Tue Jul 17 15:35:50 2018 -> +++ Started at Tue Jul 17 15:35:50 2018 Tue Jul 17 15:35:50 2018 ->

Re: [clamav-users] clamav-milter with sendmail on Fedora 28: init failed to open, to error state, initialization failed, temp failing commands

2018-07-16 Thread Robert Kudyba
/var/run/clamd.scan/clamd.sock srw-rw-rw- 1 clamscan clamscan 0 Jul 16 10:57 /var/run/clamd.scan/clamd.sock On Mon, Jul 16, 2018, 12:27 PM Micah Snyder (micasnyd) wrote: > What are your current user/group ownership and permissions on: > /var/run/clamd.scan/clamd.sock ? > > Regards, > Micah > >

Re: [clamav-users] clamav-milter with sendmail on Fedora 28: init failed to open, to error state, initialization failed, temp failing commands

2018-07-16 Thread Micah Snyder (micasnyd)
What are your current user/group ownership and permissions on: /var/run/clamd.scan/clamd.sock ? Regards, Micah Micah Snyder ClamAV Development Talos Cisco Systems, Inc. On Jul 16, 2018, at 12:19 PM, Robert Kudyba mailto:rkud...@fordham.edu>> wrote: I set: MilterSocketGroup clamscan User

Re: [clamav-users] clamav-milter with sendmail on Fedora 28: init failed to open, to error state, initialization failed, temp failing commands

2018-07-16 Thread Robert Kudyba
I set: MilterSocketGroup clamscan User clamscan Still getting the permission denied. Note the process: clamscan 30407 1.4 4.6 1406020 1150544 ? Ssl 10:57 1:08 /usr/sbin/clamd -c /etc/clamd.d/scan.conf And I added most of the clamav-related users to the closely name groups:

Re: [clamav-users] clamav-milter with sendmail on Fedora 28: init failed to open, to error state, initialization failed, temp failing commands

2018-07-16 Thread Micah Snyder (micasnyd)
Hi Robert, clamav-milter is a separate process that interacts with clamd. What user are you running clamav-milter under? It seems as thought clamav-milter doesn't have permission to access the clamd socket file to interact with clamd. Regarding multiple socket options: You are correct in

Re: [clamav-users] clamav-milter with sendmail on Fedora 28: init failed to open, to error state, initialization failed, temp failing commands

2018-07-16 Thread Robert Kudyba
Thanks Micah, now getting a different error: Jul 16 10:59:23 storm clamav-milter[32079]: ClamAV: Unable to remove /var/run/clamd.scan/clamd.sock: Permission denied Jul 16 10:59:23 storm clamav-milter[32079]: ERROR: Failed to create socket /var/run/clamd.scan/clamd.sock Jul 16 10:59:23 storm

Re: [clamav-users] clamav-milter with sendmail on Fedora 28: init failed to open, to error state, initialization failed, temp failing commands

2018-07-13 Thread Micah Snyder (micasnyd)
It looks to me like you have 2 types of sockets set up in your milter config, and only 1 type of socket set up in your clamd config: ClamdSocket tcp:localhost:3310 ClamdSocket unix:/var/run/clamd.scan/clamd.sock Lines in /etc/clamd.d/scan.conf TCPSocket 3310 TCPAddr 127.0.0.1 You should use

Re: [clamav-users] clamav-milter with sendmail on Fedora 28: init failed to open, to error state, initialization failed, temp failing commands

2018-07-12 Thread Robert Kudyba
Well I changed sendmail.mc to: INPUT_MAIL_FILTER(`clamav-milter',`S=local:/var/run/clamav-milter/clamav-milter.socket,F=, T=S:4m;R:4m')dnl But now in clamav-milter.log I see these errors: Thu Jul 12 13:46:40 2018 -> Probe for slot 1 returned: success Thu Jul 12 13:46:40 2018 -> Probe for slot 2

Re: [clamav-users] clamav-milter with sendmail on Fedora 28: init failed to open, to error state, initialization failed, temp failing commands

2018-07-10 Thread Kees Theunissen
On Tue, 10 Jul 2018, Robert Kudyba wrote: >Hello hive, > >Running: >clamav-0.100.0-2.fc28.x86_64 > >clamd, freshclam and clamav-milter all up and running: >ps -auwx | grep clam >clamupd+ 20336 0.0 0.0 50672 4016 ?Ss Jun29 1:15 >/usr/bin/freshclam -d -c 4 >clamav 23713 0.0 0.0

[clamav-users] clamav-milter with sendmail on Fedora 28: init failed to open, to error state, initialization failed, temp failing commands

2018-07-10 Thread Robert Kudyba
Hello hive, Running: clamav-0.100.0-2.fc28.x86_64 clamd, freshclam and clamav-milter all up and running: ps -auwx | grep clam clamupd+ 20336 0.0 0.0 50672 4016 ?Ss Jun29 1:15 /usr/bin/freshclam -d -c 4 clamav 23713 0.0 0.0 176780 1160 ?Ssl 13:23 0:00