Skip to Content.
Sympa Menu

en - Re: [sympa-users] import large list in sympa

Subject: The mailing list for listmasters using Sympa

List archive

Chronological Thread  
  • From: Anton Slabbinck <address@concealed>
  • To: Olivier Salaun <address@concealed>
  • Cc: <address@concealed>
  • Subject: Re: [sympa-users] import large list in sympa
  • Date: Fri, 26 Jan 2001 17:34:50 +0100

Hi,

Normaly this should work, but there is an error in load_subscribers.pl

$db_host = $Conf{'host'};
$db_user = $Conf{'user'};
$db_passwd = $Conf{'passwd'};

should be

$db_host = $Conf{'db_host'};
$db_user = $Conf{'db_user'};
$db_passwd = $Conf{'db_passwd'};

Anton.
--
\\|//
        (o o)
/==================================oOOo=(_)=oOOo========\
| Anton Slabbinck address@concealed |
| |
| WestSite n.v. Voice: +32 (0)50 39 41 41 |
| Torhoutse Steenweg 337 Fax: +32 (0)50 39 41 43 |
| |
| 8200 Brugge .ooO |
| http://www.westsite.be ( ) Oooo. |
\===================================\ (==( )==========/
    \_) ) /
    (_/


> From: Olivier Salaun <address@concealed>
> Organization: CRU
> Date: Fri, 26 Jan 2001 12:35:50 +0100
> Cc: address@concealed
> Subject: Re: [sympa-users] import large list in sympa
>
> Anton Slabbinck wrote:
>
>> I've installed sympa and created a list which stores it information
>> in a database. Now I have a TXT file with 1200 email addresses I
>> want to put in the list.
>> What's the easiest (fastest) way to do this?
>
> I guess we'll have to make it more simple with a --import option.
> Untill we have it, here is a HOWTO :
>
> 1/ create a ML and setup with :
> user_data_source include
>
> include_file path_to_your_file
> ## your file should have entries as follows
> ## user_email user_name
>
> 2/ Run sympa.pl and make it load the list
> by sending a REVIEW command
>
> 3/ Stop sympa.pl (kill -TERM) to make it dump
> subscribers
>
> 4/ Rename ~sympa/expl/<your_list>/subscribers.incl.dump
> to ~sympa/expl/<your_list>/subscribers
>
> 5/ Load subscribers in database with load_subscribers.pl
> % load_subscribers.pl <your_list>
>
> 6/ Change the list's config to :
> user_data_source database
>
>
> That's all I think.
>
> --
> Olivier Salaün
> Comité Réseaux des Universités




Archive powered by MHonArc 2.6.19+.

Top of Page