[clamav-users] No such file or directory + after milter-reject

G.W. Haywood clamav at jubileegroup.co.uk
Fri Mar 6 05:30:05 EST 2020

Hello again,

> On Thu, 5 Mar 2020, mauri via clamav-users wrote:
>> I try now this way..... but also no chance... for any help, thanks ...
>> Main.cf - Postfix
> I can't help you with Postfix configuration I'm afraid...

On Fri, 6 Mar 2020, mauri via clamav-users wrote:

> ... this was tricky ...

By comparison with many system administration tasks, it was simple.

> But please what would mean this ???  " unreasonable packet length", and "read error"
> Mar  6 00:52:32 mail postfix/smtps/smtpd[20006]: warning: milter inet:[]:3310: unreasonable packet length: 1431194446 > 1073741823
> Mar  6 00:52:32 mail postfix/smtps/smtpd[20006]: warning: milter inet:[]:3310: read error in initial handshake

The messages are very clear.  They mean what they say.

I have already told you that I cannot help you with Postfix issues and
these are very clearly Postfix error messages.  The communications
between Postfix and the milter seem to be broken.  Typical packet
lengths are kilobytes, you seem to have gigabytes.  But this may be a
symptom of a broken installation, and given that you are evidently out
of your depth that would not be surprising.  In my last I also said
that you might be better off using Unix sockets and not TCP sockets
for the milter communications, since the processes all seem to be on
the same host.  For someone who is obviously very new to this, Unix
sockets will probably be safer than TCP sockets because you will not
need to secure Unix sockets like you would need to secure TCP sockets.
My guess is that you do not know how to do that, nor why you need to.

The best advice that I think I can give to you now is that before you
do anything else you should spend some quality time reading about the
dangers which face all Internet-connected systems generally, and mail
systems in particular.  You do not have the necessary experience, and
at present, if you try to run a mail service connected to the public
Internet, I fear that it will be an accident waiting - probably not
for very long - to happen.



More information about the clamav-users mailing list