Skip to Content.
Sympa Menu

en - Re: [sympa-users] Two problem with sympa...

Subject: The mailing list for listmasters using Sympa

List archive

Chronological Thread  
  • From: Marco Gaiarin <address@concealed>
  • To: Olivier Salaun - CRU <address@concealed>
  • Cc: address@concealed
  • Subject: Re: [sympa-users] Two problem with sympa...
  • Date: Thu, 9 Oct 2003 17:39:23 +0200

Mandi! Olivier Salaun - CRU
In chel di` si favelave...

> 1/ I've applied your proposed changes to the FAQ, thanks.

See, but there's some formatting issue... again, i'm using exim3, not
exim4, like the 2 example before mine... so this two example are wrong.
I think is better to remove these and keep only mine.

> 2/ ok
> PS/ Mail2News gateway
> Replacing path to MhOnarc binary with your a wrapper that does both
> mail2news and a call to mhonarc is a good idea. You should check the
> archived.pl to see what parameter are passed to mhonarc.

Ok, i've found:

my $cmd = "$wwsconf->{'mhonarc'} -rcfile $mhonarc_ressources -outdir
$wwsconf->{'arc_path'}/$adrlist/$yyyy-$mm -definevars
\"listname='$listname' hostname=$hostname yyyy=$yyyy mois=$mm
yyyymm=$yyyy-$mm wdir=$wwsconf->{'arc_path'}
base=$Conf{'wwsympa_url'}/arc \" -umask $Conf{'umask'}
$wwsconf->{'arc_path'}/$adrlist/$arc/arctxt";

and also

my $cmd = "$wwsconf->{'mhonarc'} -add -rcfile $mhonarc_ressources
-outdir $arcpath/$listname\@$hostname/$yyyy-$mm -definevars
\"listname='$listname' hostname=$hostname yyyy=$yyyy mois=$mm
yyyymm=$yyyy-$mm wdir=$wwsconf->{'arc_path'}
base=$Conf{'wwsympa_url'}/arc \" -umask $Conf{'umask'} <
$queue/$file";


so seems that mhonarc are called passing the message as file when
reconstructing the archive(rebuild function), and via STDIN when
passing sigle messages (mail2arc).
For now very good, some little procmail recipes and i can do all the
tricks. ;)


> just need to define the design and some time to code it. Please add your
> feature request to Mantis :
> http://listes.cru.fr/mantis/

Done, thanks.

--
dott. Marco Gaiarin GNUPG Key ID: 240A3D66
Associazione ``La Nostra Famiglia'' http://www.sv.lnf.it/
Polo FVG - Via della Bontà, 7 - 33078 - San Vito al Tagliamento (PN)
gaio(at)sv.lnf.it tel +39-0434-842711 fax +39-0434-842797

Proteggiamo l'innovazione in Europa: no ai brevetti software
http://swpat.xsec.it/



Archive powered by MHonArc 2.6.19+.

Top of Page