Jump to content

Recommended Posts

Posted

Сделал все как тут написано http://www.ljpoisk.ru/archive/653878.html а именно в main.cf прописал :

header_checks = regexp:/etc/postfix/header_checks

а в самом файле /etc/postfix/header_checks

прописал :

/^content-(type|disposition):.*name[[:space:]]*=.*\.(dll|vbs |pif|com|bat|scr|lnk)/ REJECT Prohibited attachement file name extension: $2

но все пропускается без проблем, в логах тишина

Apr 28 11:20:41 mail postfix/cleanup[8656]: F0732140F3E: message-id=<599892515.20090428112042@xxxxxxxxx.ru>

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...