filtering attachments by extensions and by users

Martin Hepworth martinh at SOLID-STATE-LOGIC.COM
Tue Aug 30 13:54:31 IST 2005

    [ The following text is in the "ISO-8859-1" character set. ]
    [ Your display is set for the "US-ASCII" character set.  ]
    [ Some characters may be displayed incorrectly. ]

Benoit Guguin wrote:
> I'm using postfix 2.1 on a sarge and I have installed mailscanner
> I'd like to filter  mail by extension and by user but i don't find how 
> to do this ...
> Clearly a user "tata" can send an attachments .xls, .doc, .exe, .ppt  
> and a user "toto" can only send .doc for example.
> So to filter mail by extension with mailscanner it's not a big probleme, 
> but I don't find any way to associate a list of extension with a list of 
> users ... The extensions filters rules don't seem to support  this ?
> Perhaps I have miss a parametters (I hope)
> Any idea please ?
> Regards,

try looking at this...

Martin Hepworth
Senior Systems Administrator
Solid State Logic Ltd
tel: +44 (0)1865 842300


This email and any files transmitted with it are confidential and
intended solely for the use of the individual or entity to whom they
are addressed. If you have received this email in error please notify
the system manager.

This footnote confirms that this email message has been swept
for the presence of computer viruses and is believed to be clean.	


------------------------ MailScanner list ------------------------
To unsubscribe, email jiscmail at with the words:
'leave mailscanner' in the body of the email.
Before posting, read the Wiki ( and
the archives (

Support MailScanner development - buy the book off the website!

More information about the MailScanner mailing list