Visit Jeremy's Blog.
Go Back > Forums > Linux Forums > Linux - Software
User Name
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.


  Search this Thread
Old 02-05-2003, 08:30 AM   #1
Registered: Jan 2001
Location: Ljubljana Slovenija
Distribution: Slackware
Posts: 70

Rep: Reputation: 15
Procmail & mail attachments

Hi all , I have a sendmail mail server in my firm and i have one problem; I would like to block some file attachments (*.mpg, *.avi *.exe ...etc)
Can I do this with procmail filter ???
And if yes can some point me to te solution.

Regards, PcHammer
Old 02-05-2003, 09:31 AM   #2
Registered: Jan 2003
Posts: 195

Rep: Reputation: 30
# -- .dbl.ext --
* ^Content-Type: multipart/(alternative|mixed)
:0 $Lock
* B ?? ^Content-Type: \


If that doesn't cover it, it should at least get you started....

(I'm going to find some caffeine, so if this message was completely wrong, just ignore me. )


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
Have Logwatch mail attachments stefaandk Linux - Newbie 4 09-05-2013 12:23 PM
Procmail: forwarding mail to remote mail account Cadmium Linux - Software 2 01-14-2010 02:05 PM
Remove attachments with Procmail? ciop Linux - Security 3 06-09-2004 04:11 PM
Sendmail & How to reject mail with executable attachments WorldBuilder Linux - Networking 3 02-04-2004 04:27 PM
Mail and attachments wvrhlu Linux - Software 2 04-02-2003 11:06 AM > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 07:59 AM.

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