Skip to Content.
Sympa Menu

en - Re: [sympa-users] Newsletter / no HTML

Subject: The mailing list for listmasters using Sympa

List archive

Chronological Thread  
  • From: Olivier Salaün - CRU <address@concealed>
  • To: Sam Lalonde <address@concealed>
  • Cc: address@concealed
  • Subject: Re: [sympa-users] Newsletter / no HTML
  • Date: Mon, 31 Jan 2005 11:51:39 +0100

You should check the 'send.publicnoattachment' provided as an example :
title.gettext public list multipart/mixed messages are forwarded to moderator

match([header->Content-Disposition],/attachment/)       smtp,smime,md5    -> editorkey
match([header->Content-Type],/multipart\/mixed/)        smtp,smime,md5    -> editorkey
true()                                                  smtp,md5,smime    -> do_it
and also the related documentation :
http://www.sympa.org/doc/html/node13.html#SECTION001310000000000000000

Sam Lalonde wrote:
If I create a new scenario, what exactly do I need to specify in the configureation file so that:

1) Any message with HTML will be rejected
2) Any message with an attachment will be rejected

thanks,
sam

Aumont - Comite Reseaux des Universites wrote:

Sam Lalonde wrote:

I am pretty new to sympa still.

I have created a list of type "newsletter."  I have set the "who can send" to "Newsletter, restricted to moderators after confirmation (newsletterkeyonly)".

I will have many moderators, and I would like to completely prevent the sending of HTML email.  I only want them to be able to send text messages, without attachements.

How can I do this?

sam


You need to create a new scenario. It's easy to do copying an existing one from /home/sympa/bin/etc/scenari to /home/sympa/etc/scenari/  (change name and edit it). Don't forget that Sympa do not reload dynamically scenario unless you touch the related list config file and restart sympa.pl

search term for google : site:sympa.org new scenario


-- 
Olivier Salaün
Comité Réseau des Universités
-------------------------------------------
Validation signature / Trusting  signature: --> http://igc.cru.fr/trust.html
------------------------------------------- 

Attachment: smime.p7s
Description: S/MIME Cryptographic Signature




Archive powered by MHonArc 2.6.19+.

Top of Page