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: Serge Aumont <address@concealed>
  • Cc: Johan Loubser <address@concealed>, address@concealed
  • Subject: Re: [sympa-users] Daily email
  • Date: Fri, 13 Feb 2009 09:48:06 +0100

Woops. You should remove the message id, too.

But Serge's solution is far more reliable. Do that.

Serge Aumont a écrit :
address@concealed">
David Verdin wrote:
  
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.
    
Be aware that Sympa loop detection will not accept multiple messages
with the same Message-Id: header. You need to change it. Why not use :
"cat message | sendmail -f sender@dom list@dom" in a cronjob ?
  

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



Archive powered by MHonArc 2.6.19+.

Top of Page