Hi Teruo,

1) Can you dump the /var/qmail/control/simcontrol file for us send it to the list and /etc/tcprules.d/tcp.smtp ?

2) In simcontrol the ':' should only be between (a separator for) file types.

So if you wanted to stop .zip attachments only it would be like this

attach=.zip

not

attach=:.zip

for multiple file types

attach=.typ1:.typ2:.typ3:.typ4
etc...

3) Check /etc/tcprules.d/tcp.smtp

In this file it is determined when simscan (QMAILQUE="/var/qmail/bin/simscan") is used. On my setups mail coming from 127.0.0.1 (localhost) simscan is not used so zip attachments would be allowed through.

Eric

On 10/5/2016 4:18 AM, Kan Teruo wrote:
Hi All,



I had added attach=:.zip in the simcontrol and run the command "qmailctl
cdb".

It seem work fine to reject all email with zip attachment. (at least I
tested by using different email accounts like gmail and yahoo)

But I found that sometime still have spam mail with zip attachment
delivered into users' mailbox.

I tried to check the log but couldn't find any idea why the spam mail
with zip attachment can be delivered to users' mailbox.



Thanks!

Teruo




---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to