LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Server (https://www.linuxquestions.org/questions/linux-server-73/)
-   -   blocking outgoing attachments ONLY in postfix mail server (https://www.linuxquestions.org/questions/linux-server-73/blocking-outgoing-attachments-only-in-postfix-mail-server-4175484330/)

geekslinux 11-12-2013 07:19 AM

blocking outgoing attachments ONLY in postfix mail server
 
I have blocked attachments on postfix mail server as below
vi /etc/postfix/main.cf
mime_header_checks = regexp:/etc/postfix/mime_header_checks
in the file
/name=[^>]*\.(jpeg|bmp|tiff|png)/ REJECT.

But postifx blocks even the incoming attachments also. I wanna block only outgoing attachments. Any inputs will be helpful. Thanks in advance.


All times are GMT -5. The time now is 09:34 PM.