Skip to Content.
Sympa Menu

en - Re: [sympa-users] rejecting attachments

Subject: The mailing list for listmasters using Sympa

List archive

Chronological Thread  
  • From: Luca Berra <address@concealed>
  • To: address@concealed
  • Subject: Re: [sympa-users] rejecting attachments
  • Date: Tue, 9 Dec 2003 08:05:23 +0100

On Mon, Dec 08, 2003 at 09:11:04PM -0300, Juan Nin wrote:
Hi,

Based on:
http://www.sympa.org/fom-serve/cache/206.html

I created a scenario named send.privateandeditorkeynoattach wich looks
like:

is_editor([listname],[sender]) smtp,smime,md5 -> do_it
match([header->Content-Disposition],/attachment/) smtp,smime,md5 ->
reject
is_subscriber([listname],[sender]) smtp,smime,md5 -> editorkey

I want e-mail with attachments to be rejected, but they always pass
through this... e-mail sent from normal subscribers is sent to editor
instead of being rejected...

header-> matches the main message header, unfortunately you cannot parse
on generic headers in the mime parts of the message, you could:

match([header->Content-Type],/multipart\/mixed/) smtp,smime,md5 -> reject

Regards,
L.

--
Luca Berra -- address@concealed
Communication Media & Services S.r.l.
/"\
\ / ASCII RIBBON CAMPAIGN
X AGAINST HTML MAIL
/ \


  • rejecting attachments, Juan Nin, 12/09/2003
    • Re: [sympa-users] rejecting attachments, Luca Berra, 12/09/2003

Archive powered by MHonArc 2.6.19+.

Top of Page