Skip to Content.
Sympa Menu

en - Re: [sympa-users] Daily email

Subject: The mailing list for listmasters using Sympa

List archive

Chronological Thread  
  • From: David Verdin <address@concealed>
  • To: Johan Loubser <address@concealed>
  • Cc: address@concealed
  • Subject: Re: [sympa-users] Daily email
  • Date: Fri, 13 Feb 2009 09:37:48 +0100

Hi,

Something that comes out of my mind spontaneously is:

1- Stop Sympa.
2- Send the mail to the list with Sympa stopped.
3- Copy the message file you find in the Sympa "msg/" spool to another directory. Remove the file from the spools.

Then, you just have to create a daily cron task that will just copy this file to the "msg/" spool, with the proper rights. Sympa will find it and send it. If you use a 5.4 version of Sympa, the subscribers list will be updated from your flat file before sending the message.
You can even use a small awk or sed script that will change a few details in the file, like the date or subject.

Regards,

Johan Loubser a écrit :
address@concealed">
On Fri, Feb 13, 2009 at 09:50:10AM +0200, Serge Aumont wrote:
  
Johan Loubser wrote:
    
Hello list.

I would like to know if sympa can be used to send a cached email dayly
to a list of subscribers.

The subscribers will be an external flat file source that will change
daily.
I can do the job in bash(cron) but would like to use sympa's sending and
bounce handling capability.


  
      
Yes, this is a standard feature.
The list should be created and you should define a external source of
data for subscribers. This source can be fetched by many various method
: a local file, a remote text/plain http ressource, ldap, sql etc. You
can use deffernt sources on the same list. Updates are performed
automatically  and controled by a TTL list parameter.

Sympa will manage bounces of all subscribers (you will be able to list
all wrong email adresses on the administration web page) but for
subscribers coming from some external source, of course, there is no
automatic unsubscription.

Serge Aumont

    
The external source is not my problem.
The question is more about the cached mail.
The email it self will not change but should be send automatically on a
daily basis to the subscribers.


  

-- 
David Verdin
Comité réseau des universités



Archive powered by MHonArc 2.6.19+.

Top of Page