[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [vps-mail] installing Net::DNS on a Signature hosting account
- Subject: Re: [vps-mail] installing Net::DNS on a Signature hosting account
- From: Scott Wiersdorf <scott@xxxxxxxxxxxx>
- Date: Wed, 1 Oct 2003 11:53:16 -0600
On Wed, Oct 01, 2003 at 06:39:54PM +0100, Nancy McGough wrote:
> Hello VPS-Mail Folks,
>
> I have a Verio Signature Hosting account and I installed
> spamassassin 2.60 and am successfully calling it from my
> ~/.procmailrc. I'd like to set the following in my SA local.cf
>
> skip_rbl_checks 0
>
> so that my spamassassin *will* do RBL checks. I tried to follow
> the instructions that come with SA to install the perl module
> Net::DNS but it didn't work. Can someone post how to install
> Net::DNS as a regular user and then how to tell my local SA to
> use it. I have no experience with Perl so I need step-by-step
> instructions!
Hi Nancy,
Check out:
<http://www.perlcode.org/tutorials/perl/shared_hosting.html>
I wrote this specifically for Signature, but it works in any shared
environment. It's mostly a rehash of existing Perl documentation, but
maybe more clear for a particular purpose.
As for getting SA to read it, there are a number of ways, which are
also documented in the document. Probably the most consistent way is
to set the PERL5LIB environment variable when starting SA. If you're
running SA as a daemon, this will work (Bourne-shell):
PERL5LIB=/usr/home/nancy/myperl /usr/home/nancy/myspamd --options
If you're running it from procmail, you can try this:
:0
* < 150000
{
PERL5LIB=/usr/home/nancy/myperl
:0fw
|/usr/home/nancy/myspamassassin
}
which should work, since procmail actually is setting shell
variables. This will allow the myspamassassin run from your script to
find the library where you installed it. I'd be happy to help further
if the document isn't clear enough.
Scott
--
Scott Wiersdorf
scott@xxxxxxxxxxxx
======================================================================
Technical questions regarding this list may be sent to
<vps-mail-owner@xxxxxxxxxxxx>. You may request an automated help
response by sending an email with the word 'help' (w/o quotes) in the
BODY of the message (subject is ignored) to <vps-mail-request@xxxxxxxxxxxx>.
======================================================================
Main Index |
Thread Index