DevHeads.net

Trouble Postfix ClamSMTP - Help

Hello

Please now i troubleshooting 2 days about my problem with ClamSmtp

and "Postfix" after write ClamAV_Mailinglist the people there are not

helping and im standing still. The possible help solutions are outdated.

- Debian - 8.11, 3.16.56-1+deb8u1

- ClamAV - 0.100.0+dfsg-0+deb8u1

- ClamSmtp - 1.10-13

- Postfix - 2.11.3-1+deb8u2

So please i know that here are in Postfix Group, kindly will asking if

other member use this combination with Postfix and Clamsmtp.

Sun Jul 8 22:42:25 2018 -> +++ Started at Sun Jul 8 22:42:25 2018

Sun Jul 8 22:42:25 2018 -> Received 3 file descriptor(s) from systemd.

Sun Jul 8 22:42:25 2018 -> clamd daemon 0.100.0 (OS: linux-gnu, ARCH:

x86_64, CPU: x86_64)

Sun Jul 8 22:42:25 2018 -> Running as user clamav (UID 117, GID 123)

Sun Jul 8 22:42:25 2018 -> Log file size limited to 4294967295 bytes.

Sun Jul 8 22:42:25 2018 -> Reading databases from /var/lib/clamav

Sun Jul 8 22:42:25 2018 -> Not loading PUA signatures.

Sun Jul 8 22:42:25 2018 -> Bytecode: Security mode set to "TrustSigned".

Sun Jul 8 22:42:38 2018 -> Loaded 6567119 signatures.

-->>> Sun Jul 8 22:42:40 2018 -> ERROR: TCP: Received more than two file
descriptors from systemd.

clamsmtp are integrated to master.cf and main.cf "content_filter =
scan:[127.0.0.1]:10025"

if you send any Mail this error will appair in Claim.log file.

-->>> Sun Jul 8 22:42:40 2018 -> ERROR: TCP: Received more than two file
descriptors from systemd.

and the Mail never will be delivered

the ports from ClamAV are all open and ready to Answer.

cat /etc/clamsmtpd.conf

Comments

Re: Trouble Postfix ClamSMTP - Help

By Dominic Raferd at 07/09/2018 - 05:29

If you didn't already see it, the answers here might help:
https://serverfault.com/questions/798587/debian-8-cant-get-clamav-to-listen-on-tcp-3310‚Äč.
Answer 2 references the same error message.

AW: Trouble Postfix ClamSMTP - Help

By Maurizio Caloro at 07/09/2018 - 05:40

Yes i have already check this, but without Success, and the error message are other that I mentioned.

And this message are now 1 Year, 10 Months old.

AW: Trouble Postfix ClamSMTP - Help

By Maurizio Caloro at 07/09/2018 - 11:48

Now its running like a charm!

apt-get remove clamav | dpkg --purge

apt-get remove clamav-base | dpkg --purge

apt-get remove clamav-daemon | dpkg --purge

apt-get remove clamav-freshclam | dpkg --purge

apt-get remove libclamav7 | dpkg --purge

apt-get install clamav clamav-base clamav-daemon clamav-freshclam libclamav7

I think the option Purge was magic

Re: Trouble Postfix ClamSMTP - Help

By Matus UHLAR - f... at 07/09/2018 - 12:02

On 09.07.18 17:48, <a href="mailto: ... at caloro dot ch"> ... at caloro dot ch</a> wrote:
who advised you to do this? it should be either

apt-get purge clamav
or
dpkg --purge clamav

(or maybe apt-get remove --purge clamav).

you can run all in one, exactly as in the article above mentions (response
from Larry R.Irwin):

apt-get purge clamav clamav-base clamav-daemon clamav-freshclam clamav-milter clamdscan clamassassin

you don't need to run multiple commands and you definitely don't need to
pipe output of apt-get to dpkg.