Skip to Content.
Sympa Menu

en - Re: [sympa-users] Automated Response to a list ?

Subject: The mailing list for listmasters using Sympa

List archive

Chronological Thread  
  • From: Giorgio Donnini <address@concealed>
  • To: address@concealed
  • Subject: Re: [sympa-users] Automated Response to a list ?
  • Date: Wed, 20 Mar 2019 10:43:42 +0100

Hello, 
I don't know if this can be done using the web interface, but it's not so difficult modifying the scenario of the list and adding  a reject reason for this.

If this has to be used for just one list you can
 
1) find the send scenario of the list, that is in the config file of the list (HOME_SYMPA/list_data/listname/config)
 the line starting with send
 send XXX
2) creating in the list directory (in  HOME_SYMPA/list_data/listname/config/send.XXX)
a copy for the scenario (that is in HOME_SYMPA/bin/etc/scenari/send.XXX  or in HOME_SYMPA/etc/scenari/send.XXX
and modifying it adding or replacing the reject line from something like

true()                           smtp,md5,smime    -> reject
in
true()                           smtp,md5,smime    -> reject(tt2=reject)

And finally adding the mail to be sent in
 HOME_SYMPA/list_data/list_name/mail_tt2/reject.tt2
similar to the reject.tt2 in HOME_SYMPA/bin/etc/mail_tt2/reject.tt2

(something like:)
From: [% fromlist %]
To: [% to %]
Subject: Upcoming Events
Mime-version: 1.0
Content-Type: text/html

<html>
Thank you for your email.  Any upcoming events must be submitted first in the
online events portal. Once an event is published on the portal, it will
automatically be displayed on the organisation website, and then included in
the relevant events newsletter.
</html>


If this can should be used for more than one  list you can create a general scenario in HOME_SYMPA/etc/scenari/send.rejectevents, modify the send definition for the lists  and then adding a generic reject.tt2  in HOME_SYMPA/etc/mail_tt2/
(or even a different reject.tt2 for each list, in HOME_SYMPA/list_data/list_name/mail_tt2/reject.tt2


  Hope it answers to you question.

Giorgio Donnini

On 19/03/2019 04:01, address@concealed wrote:
We're running Sympa 6.1.22.  For one of our lists, an automated response
(whenever someone mails the list) has been requested - for example:

"Thank you for your email.  Any upcoming events must be submitted first in the
online events portal. Once an event is published on the portal, it will
automatically be displayed on the organisation website, and then included in
the relevant events newsletter."

This message should be sent only to the person who emailed the list (of which
they will not normally be a member).

Is this possible ?  If so how ??

Thank you

Patrick



Archive powered by MHonArc 2.6.19+.

Top of Page