[tpop3d-discuss] Re: bulletins - SOLVED!!

ODHIAMBO Washington wash at wananchi.com
Mon, 25 Aug 2003 15:49:01 +0300


* Chris Lightfoot <chris@ex-parrot.com> [20030825 13:46]: wrote:

Okay, now we have a working version for the bulletins function.
Thank you so much, Chris, for all the assistance.

My colleague who is familiar with perl has helped out and here
are the changes that should be made to the file you posted:


IMPORTANT: I use perl v5.6.1 on the system I am running this on.
           I have not tested with v.5.8



1. ADD use GDBM_File; at the top of your perl script

2. Substitute:

my $r = "$req->{local_part}@$req->{domain}";

with 

my $r = $req->{local_part} . '@' . $req->{domain};

3. Substitute

tie(%rr, 'GDBM_File', $recips, &GDBM_WRCREAT, 0600);

with


tie(%rr, 'GDBM_File', $recips, &GDBM_File::GDBM_WRCREAT, 0600);
 




        Best regards,
        Odhiambo Washington
        Wananchi Online Ltd.
    
PS::REQUEST

Whenever responding, please, put your response _under_ the original (previous)
posting/message(s), not above them. This is the basics of Netiquette.
    
Also, remove unneeded fragments of previous message(s), especially any
"commercial" adverts. It's really ugly, space-wasting and hard-answerable
to have all that junk nested a couple of times. Thank you.


___W_A_N_A_N_C_H_I__O_N_L_I_N_E__L_T_D___The People's Choice______
Wananchi Head Office    |*|     Tel: +254 2 313 985-9
1st Flr Loita, Loita St.|*|     Fax: +254 2 313 922
10286-GPO, NAIROBI, KE  |*|     e-mail: <wash at wananchi dot com>
------------------------------------------------------------------
++

Practically all the major technological changes since the beginning of
industrialization have resulted in unforseen consequences ... Our very
power over nature threatens to become itself a source of power that is
out of control ... Choices are posed that are too large, too complex,
too important and comprehensive to be safely left to fallible human beings."
    --Herman Kahn and Anthony Wiener as quoted in Wired 5.06 (page 110)