Re: rejecting messages with attachments with postfix

Carla Schroder <[email protected]>
Newsgroups gmane.org.user-groups.linux.pdxlug
Message-ID <[email protected]>
On Saturday 24 July 2004 12:56 am, Robby Russell wrote:
> On Sat, 2004-07-24 at 00:55, Carla Schroder wrote:
> > Ok gurus, can you find any flaws with using this regex to reject all 
messages 
> > with attachments in Postfix?
> > 
> > /filename=\"/   REJECT take your sorry attachments elsewhere, luser
> > 
> > Put this in a file and call it mime_header_checks
> > Call it from main.cf with 
> > 
> > mime_header_checks = regexp:/etc/postfix/mime_header_checks 
> > 
> > It seems too easy to be true, or perhaps it's just too Draconian. Whatcha 
> > think?
> 
> Do you really want to send back such a nasty message each time someone
> has a vcard attachment? :-p
> 

Nah, they should get a custom message:

REJECT only lusers use vcards

And then we can start a debate over GPG sigs: inline or attached?

With luck, we'll avoid doing any real work at all for days and days and days.

-- 
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Carla Schroder
this message brought to you
by Libranet 2.8 and Kmail
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.