Perl Path
Martin.Hepworth
martinh at solidstatelogic.com
Wed Mar 21 10:18:23 CET 2007
There's quite a bit of stuff that MailScanner expects to find in certain
places (eg /opt/MailScanner for the tar.gz installs vs
/usr/lib/MailScanner etc for RPM based installs).
Now I know the FreeBSD package moves things to the default places
FreeBSD expects, but not sure how much work that entails. But its
definitely possible.
Then there's all tbe perl mods - cpan or rpm can dump things in
different places and confuse perl. As long as you're consistant about
how you install all the dependancies you're OK.
--
Martin Hepworth
Snr Systems Administrator
Solid State Logic
Tel: +44 (0)1865 842300
> -----Original Message-----
> From: mailscanner-bounces at lists.mailscanner.info [mailto:mailscanner-
> bounces at lists.mailscanner.info] On Behalf Of --[ UxBoD ]--
> Sent: 21 March 2007 09:10
> To: MailScanner discussion
> Subject: RE: Perl Path
>
> Hi Martin,
>
> Yes I have symlinked for the time being. I agree that most scripts
expect
> the perl path to be /usr/bin but by using a symlink the whole system
will
> use it.
>
> The rationale for building under /usr/local/smartmail with all the
> necessary binaries is so that I can tar it all up, and transfer to
another
> mailserver that has a vanilla RHES4 installation.
>
> This provides me with control of updating when I feel packages are
ready
> for production.
>
> Best Regards,
>
> UxBoD
>
> On Wed, 21 Mar 2007 08:56:31 +0000, "Martin.Hepworth"
> <martinh at solidstatelogic.com> wrote:
> > Or going a sym link from /usr/bin/perl to
/usr/local/smartmail/bin/perl
> > ala FreeBSD with the sysperl and portsperl options...
> >
> > Most perl scripts expect perl to be /usr/bin/perl....
> >
> > --
> > Martin Hepworth
> > Snr Systems Administrator
> > Solid State Logic
> > Tel: +44 (0)1865 842300
> >> -----Original Message-----
> >> From: mailscanner-bounces at lists.mailscanner.info
[mailto:mailscanner-
> >> bounces at lists.mailscanner.info] On Behalf Of --[ UxBoD ]--
> >> Sent: 21 March 2007 08:37
> >> To: mailscanner at lists.mailscanner.info
> >> Subject: Perl Path
> >>
> >> Hi,
> >>
> >> I have just built a new server based on RHES4 and have built all
the
> >> executables from source ie. perl, mysql, apache, php etc etc ...
> >>
> >> When I built MailScanner I used the source and ran install.sh --
> >> perl=/usr/local/smartmail/bin/perl which installed all the modules
> > fine.
> >> Though one thing I have noticed is that in the top of all the
> > MailScanner
> >> code the perl path still points to /usr/bin/perl. I wondered why it
> > wasn't
> >> working correctly ;)
> >>
> >> Is it worth changing the install script so that if the --perl
option
> > is
> >> used then the perl binary path in all scripts is changed aswell ?
> >>
> >> Thoughts?
> >>
> >> --
> >> --[ UxBoD ]--
> >> // PGP Key: "curl -s http://www.splatnix.net/uxbod.asc | gpg
--import"
> >> // Fingerprint: 543A E778 7F2D 98F1 3E50 9C1F F190 93E0 E8E8 0CF8
> >> // Keyserver: www.keyserver.net Key-ID: 0xE8E80CF8
> >> // SIP Phone: uxbod at sip.splatnix.net
> >>
> >>
> >> --
> >> This message has been scanned for viruses and dangerous content by
> >> MailScanner, and is
> >> believed to be clean.
> >>
> >> --
> >> MailScanner mailing list
> >> mailscanner at lists.mailscanner.info
> >> http://lists.mailscanner.info/mailman/listinfo/mailscanner
> >>
> >> Before posting, read http://wiki.mailscanner.info/posting
> >>
> >> Support MailScanner development - buy the book off the website!
> >
> >
> >
> >
> >
**********************************************************************
> > Confidentiality : This e-mail and any attachments are intended for
the
> > addressee only and may be confidential. If they come to you in error
> > you must take no action based on them, nor must you copy or show
them
> > to anyone. Please advise the sender by replying to this e-mail
> > immediately and then delete the original from your computer.
> >
> > Opinion : Any opinions expressed in this e-mail are entirely those
of
> > the author and unless specifically stated to the contrary, are not
> > necessarily those of the author's employer.
> >
> > Security Warning : Internet e-mail is not necessarily a secure
> > communications medium and can be subject to data corruption. We
advise
> > that you consider this fact when e-mailing us.
> >
> > Viruses : We have taken steps to ensure that this e-mail and any
> > attachments are free from known viruses but in keeping with good
> > computing practice, you should ensure that they are virus free.
> >
> > Red Lion 49 Ltd T/A Solid State Logic
> > Registered as a limited company in England and Wales
> > (Company No:5362730)
> > Registered Office: 25 Spring Hill Road, Begbroke, Oxford OX5 1RU,
> > United Kingdom
> >
**********************************************************************
> >
> > --
> > MailScanner mailing list
> > mailscanner at lists.mailscanner.info
> > http://lists.mailscanner.info/mailman/listinfo/mailscanner
> >
> > Before posting, read http://wiki.mailscanner.info/posting
> >
> > Support MailScanner development - buy the book off the website!
> >
> >
> --
> --[ UxBoD ]--
> // PGP Key: "curl -s http://www.splatnix.net/uxbod.asc | gpg --import"
> // Fingerprint: 543A E778 7F2D 98F1 3E50 9C1F F190 93E0 E8E8 0CF8
> // Keyserver: www.keyserver.net Key-ID: 0xE8E80CF8
> // SIP Phone: uxbod at sip.splatnix.net
>
>
> --
> This message has been scanned for viruses and dangerous content by
> MailScanner, and is
> believed to be clean.
>
> --
> MailScanner mailing list
> mailscanner at lists.mailscanner.info
> http://lists.mailscanner.info/mailman/listinfo/mailscanner
>
> Before posting, read http://wiki.mailscanner.info/posting
>
> Support MailScanner development - buy the book off the website!
**********************************************************************
Confidentiality : This e-mail and any attachments are intended for the
addressee only and may be confidential. If they come to you in error
you must take no action based on them, nor must you copy or show them
to anyone. Please advise the sender by replying to this e-mail
immediately and then delete the original from your computer.
Opinion : Any opinions expressed in this e-mail are entirely those of
the author and unless specifically stated to the contrary, are not
necessarily those of the author's employer.
Security Warning : Internet e-mail is not necessarily a secure
communications medium and can be subject to data corruption. We advise
that you consider this fact when e-mailing us.
Viruses : We have taken steps to ensure that this e-mail and any
attachments are free from known viruses but in keeping with good
computing practice, you should ensure that they are virus free.
Red Lion 49 Ltd T/A Solid State Logic
Registered as a limited company in England and Wales
(Company No:5362730)
Registered Office: 25 Spring Hill Road, Begbroke, Oxford OX5 1RU,
United Kingdom
**********************************************************************
More information about the MailScanner
mailing list