LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 11-12-2013, 07:19 AM   #1
geekslinux
Member
 
Registered: Jun 2013
Posts: 63

Rep: Reputation: Disabled
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.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Want to run a perl during the outgoing mail and incoming mail in postfix server shivnamha Linux - Server 1 02-10-2013 01:53 AM
Outgoing mail with postfix is now spam. kitek Linux - Software 1 06-20-2012 07:10 PM
setting up postfix for outgoing mail sneakyimp Linux - Server 3 07-28-2011 12:47 PM
Postfix: Disable outgoing mail dvishloff Linux - Server 1 05-13-2009 02:11 PM
Outgoing Only mail server using Postfix opnsrc Linux - Networking 0 06-15-2006 10:37 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 02:27 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration