Skip to Content.
Sympa Menu

en - Re: [sympa-users] First installation...

Subject: The mailing list for listmasters using Sympa

List archive

Chronological Thread  
  • From: Olivier Salaun - CRU <address@concealed>
  • To: Marco Gaiarin <address@concealed>
  • Cc: address@concealed
  • Subject: Re: [sympa-users] First installation...
  • Date: Fri, 03 Oct 2003 10:46:34 +0200

Hi Marco,

Sorry for not responding earlier...

The best place to hack Sympa for feeding news would be the archived.pl program. This is a daemon that is scanning the outgoing spool where sympa.pl stores messages to be web-archived. Here is the piece of archived.pl that starts the processing of a message :
       do_log('notice',"Archiving $file for list $adrlist");      
       mail2arc ($file, $listname, $hostname, $yyyy, $mm, $dd, $hh, $min, $ss) ;

Plugging a new gateway there should be easy.

Please let us know if write a patch that provides list2news gateway :)

Thanks.

Marco Gaiarin wrote:
2) i've to setup a list2newsgroup gate, someone have some hints for
me?! I've looked into FAQ but i've not found something usefoul...
      
Did you read this entry of the FAQ :
http://www.sympa.org/fom?_highlightWords=gateway&file=166
    
No, sorry i've missed completely. Excuse me.

But this way is rather suboptimal to manage the gate. First if i setup
an alias like:

	mylist.ml: "| /path/to/mailpost local.ml.mylist"

and someone know the alias mylist.ml can easily fill the newsgroup side
with garbage messages, if gate are bidirectional will also fill the
list.
Secondly moderated newsgroup are not needed, it suffices to write a
feed and a script to inject back messages (see
http://www.pluto.linux.it/~gaio/SmartList/SmartGate-1.4.1.tar.gz).

Better will be to extract (sometime in the processing of the mail, but
after that the user have been authenticated if closed list) the message
and pass it over the mail2news script.
I've seen that in wwsympa.conf there's a mhonarc call: could be a good
place to put a wrapper that feed the message to mail2news *and* to
mhonarc, or there's another place?!

In other way: there's a way sometime in the processing of the mail to
attach a script or pipe message to something?!
  
-- 
Olivier Salaun
Comite Reseau des Universites



Archive powered by MHonArc 2.6.19+.

Top of Page