OSEC

Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com
 
From: Alastair Sherringham (alastaircalliope.demon.co.uk)
Date: Sat Mar 16 2002 - 05:06:25 CST

  • Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

    On Fri, Mar 15, 2002 at 10:37:48PM -0500, Tom Thomas wrote:
    > He was able to see that the perl module did not install properly so I went
    > and installed gcc in order to get perl. I think. Anyway that installed and
    > from what I am being told here is that I need a binary version of a compiler
    > such as cc or gcc for your system, in a format you can install without
    > already a compiler. This makes no sense to me, I need a perl module and a
    > compiler to compile it which gcc is but gcc will not install because I do
    > not have a compiler. Does this sound crazy to anyone but me?
    >
    > I must admit I am seriously considering throwing the box out the window and
    > letting the dog chew on the suse linux cd.

    Well ... mail server install, configuration and administration are not
    necessarily trivial, not least for a 'newbie'. Some of this stuff gets
    scary (and difficult) even for the pro's. If you are seriously out of
    your depth and level of competence then it's a very bad position to be
    in, or put in.

    To run the Perl program 'pop-before-smtp' you will need ;

    1) Perl

    Is Perl installed? If not, it should be on the Suse CD.

    Type : perl -v

    2) A C compiler (gcc)

    You will need this to compile the Perl modules below (one at least has a
    C component).

    You should already have a C compiler 'gcc' - try : gcc -v

    If not, one should be prepackaged on the Suse CD.

    3) Some Perl Modules

    Perl modules can be found on CPAN (maybe even your Suse CD) ;

    http://www.cpan.org/modules/by-module/

    Time::HiRes (in Time-HiRes-..tar.gz)
    Date::Parse (in TimeDate-...tar.gz)
    Net::Netmask (in Net-Netmask-..tar.gz)
    File::Tail (in File-Tail-..tar.gz)

    And maybe 'DB_File' as well (again on CPAN
    http://www.cpan.org/authors/id/PMQS).

    Are these installed? Check by typing something like (for each module) ;

    perl -MTime::HiRes -e 'print "OK\n"';

    If not installed, get the files from CPAN (say) ;

    - unpack (tar xvfz Time-HiRes-..tar.gz)
    - cd Time-HiRes-..
    - perl Makefile.PL
    - make
    - make test
    - make install (as superuser)

    After all, the check about should print 'OK' for every module.

    4) POP server

    This is the point after all - something 'easy' to authenticate against.
    The program 'pop-before-smtp' supports a wide variety.

    Note - each POP server logs the authentication in a log file that the
    'pop-before-smtp' program then checks. Each POP server logs in a
    slightly different format.

    You will need to look at the 'pop-before-smtp' program and make sure you
    use the right pattern for the right POP server you have (variable $pat).

    Check the file - it has documentation inside.

    Good luck.

    -- 
    AS                                  | 
    alastaircalliope.demon.co.uk       |
    http://www.calliope.demon.co.uk     |            PGP Key : A9DE69F8
    -------------------------------------------------------------------
    -
    To unsubscribe, send mail to majordomopostfix.org with content
    (not subject): unsubscribe postfix-users