Subject: The mailing list for listmasters using Sympa
List archive
[sympa-users] Re: Sympa 5.3.3: Rejecting messages for a moderate list
- From: David Verdin <address@concealed>
- To: "Ward, Michael" <address@concealed>
- Cc: "address@concealed" <address@concealed>
- Subject: [sympa-users] Re: Sympa 5.3.3: Rejecting messages for a moderate list
- Date: Thu, 05 Jun 2008 10:52:35 +0200
Hi, and sorry for this late answer, You can define templates at the list level. Just create a mail_tt2 (or web_tt2) directory in you list directory (it should look like /home/sympa/expl/your_list/mail_tt2) and put in this directory the templates you want to be list-specific. Et voilà ! ;) For the other question : you have two solutions to do a customized reply to the user whose message was rejected. First : add a rejection key to authorization_reject.tt2 Example: [% IF reason == 'my_reason' -%] [%|loc()%]We rejected your message because we're right and you're wrong.[%END%] Then use this key in your scenario your_rule smtp,md5 -> reject (example='my_reason') Another solution is to recreate a full template, if you need a lot of customization, including in the header. Example: your_rule smtp,md5 -> reject (tt2='path/to/your/template/file.tt2') This file will be used instead of message_report.tt2 Cheers, Ward, Michael a écrit : Hi all,
We have a number of large moderated lists used for campus-wide notices. A lot of messages to these lists are rejected by the moderators as part of the policy not to allow any form of advertising on these lists. When a message is rejected, the following goes back to the user:
“Your message for list address@concealed has been rejected by the moderator (address@concealed).”
Some of the moderators have requested that their email address does not get displayed as they sometimes get abuse for rejecting messages. I know I can put an edited copy of reject.tt2 in ~sympa/etc/mail_tt2, however this will change it for all lists. Is it possible to only remove the moderator email address for some lists? Would be nice if this was a per-list option.
Another question I know has been asked before is if it’s possible to insert a comment explaining the reason for the rejection in the email that goes back to the user. Has this been implemented in newer versions, and if not, any plans to?
Thanks Michael -- David Verdin Comité réseau des universités |
- [sympa-users] Re: Sympa 5.3.3: Rejecting messages for a moderate list, David Verdin, 06/05/2008
Archive powered by MHonArc 2.6.19+.