[exim] acl_smtp_header. How to save, at least, traffic?

Góra strony
Delete this message
Reply to this message
Autor: meerkat
Data:  
Dla: exim-users
Temat: [exim] acl_smtp_header. How to save, at least, traffic?
Hello!

I am a novice Exim user, here it is my stupid question:

Is there a way do not receive a message entirely while blocking unwanted attachments?

Receipts like that, I found in STFW:

acl_check_data: \ deny message = "no pasaran" \ demime = bat:exe ...

works fine, but "bad" file is transfered completely.
Decision to decline it, I guess, might be done after headers read.


The same is for filtering based on headers content. Examples, I found, all place rules like that:

deny condition = ${if !def:h_Message-ID:{1}} \ message = Message SHOULD have Message-ID

in the acl_smtp_data section. How can that useless transfer of a message body be stoped?


In other words: is there something like acl_smtp_headers or how this could be "emulated"?



Is's probably very common question, but I have found no answer in the FAQ.


Ivan Pomidorov