Dan Herbon wrote:
One of our clients is attempting to send one of my employees a PDF file but it keeps getting rejected with the following message:

-------
qmail-smtpd: bad-loader-reject: MAILFROM:<[EMAIL PROTECTED]> RCPTTO:<[EMAIL PROTECTED]>
-------

I believe this logging was recently added and I’m trying to figure out what this means.


A message was rejected because it contains some of the strings found in /var/qmail/controls/badloadertypes.

Check your /etc/tcprules.d/tcp.smtp for BADLOADERTYPE value. qmail-smtpd looks in a message for any sting starting with letter specified by BADLOADERTYPE value and is listed in /var/qmail/controls/badloadertypes. If it founds any - it rejects a message.

That was implemented by DJB as a poor-mans style of content filtering, allowing to reject messages containing stings like '32.dll', e.t.c. Now it is not needed anymore, as clamav scanning in general gives better results and less false positives.

To disable badloader scanning, set BADLOADERTYPE="" in tcp.smtp, and comment out all lines in /var/qmail/controls/badloadertypes by placing hash character to the beginning of each line.

--
Best regards,
Alexey Loukianov                          mailto:[EMAIL PROTECTED]
System Engineer,
IT Department,
Lavtech Corp.


---------------------------------------------------------------------
    QmailToaster hosted by: VR Hosted <http://www.vr.org>
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to