RE: MIMEDefang, SpamAssassin and URIDNSBLs

2004-09-28 Thread Lucas Albers

Tim Boyer said:

 But the same question applies.  Even _if_ I had it set wrong, why would it
 work when I do a 'spamassassin --test', but not when MIMEDefang calls it?

You calling it as the user mimedefang runs as.. do all your tests like such:

su -c spamassassin --test defang


-- 
Luke Computer Science System Administrator
Security Administrator,College of Engineering
Montana State University-Bozeman,Montana




RE: MIMEDefang, SpamAssassin and URIDNSBLs

2004-09-28 Thread Tim Boyer

 Tim Boyer said:
 
  But the same question applies.  Even _if_ I had it set wrong,
 why would it
  work when I do a 'spamassassin --test', but not when MIMEDefang
 calls it?
 
 You calling it as the user mimedefang runs as.. do all your tests
 like such:

 su -c spamassassin --test defang



... and that does it.  When run as defang:

debug: is Net::DNS::Resolver available? no

When run as root:

debug: is Net::DNS::Resolver available? yes

It's probably a permissions thing.  Figures.  It's always either a
permissions thing, or a SCSI termination problem, isn't it? :)

Sure enough, found it, and it was a directory permissions.  All is working.

Thanks _very_ much, everyone!

--
Tim Boyer
Director
Information Systems and Engineering Projects
Denman Tire Corporation
[EMAIL PROTECTED]



RE: MIMEDefang, SpamAssassin and URIDNSBLs

2004-09-27 Thread Tim Boyer

 Tim Boyer wrote:
  Tim Boyer wrote to users@spamassassin.apache.org:
 
  3.  Do I have DNS lookup enabled?  Yup:
 
  # Enable or disable network checks
  dns_available yes
  skip_rbl_checks 0
  rbl_timeout 15
 
  Can't think of anything else to try.
 

 Try checking /etc/mail/sa-mimedefang.cf for a line that says
 skip_rbl_checks 1

 Comment it out, restart mimedefang, and see if this changes anything


Actually, I've got it set to 0:

# Enable or disable network checks
skip_rbl_checks 0
rbl_timeout 15

But the same question applies.  Even _if_ I had it set wrong, why would it
work when I do a 'spamassassin --test', but not when MIMEDefang calls it?

--
Tim Boyer
Director, IS and Engineering Projects
Denman Tire Corporation
[EMAIL PROTECTED]




Re: MIMEDefang, SpamAssassin and URIDNSBLs

2004-09-26 Thread Ryan Thompson
Tim Boyer wrote to users@spamassassin.apache.org:
3.  Do I have DNS lookup enabled?  Yup:
# Enable or disable network checks
dns_available yes
skip_rbl_checks 0
rbl_timeout 15
Can't think of anything else to try.
Do you have
# If boolean true, skip SA network tests
$SALocalTestsOnly = 1;
in your mimedefang-filter? Make sure you set $SALocalTestsOnly to zero.
For whatever reason, MIMEDefang decided they would override this *one*
SA option within mimedefang-filter. ;-)
If that doesn't help, get a bigger hammer, or maybe ask on the
MIMEDefang list.
If I knew how to make MIMEDefang call SpamAssassin with the debug
switch, that might point me in the right direction.
MIMEDefang uses the SA libs directly... which means, so can you, in
mimedefang-filter. :-) I've never tried it, but you should be able to
enable debugging output before calling the SA check in filter_end().
- Ryan
--
  Ryan Thompson [EMAIL PROTECTED]
  SaskNow Technologies - http://www.sasknow.com
  901-1st Avenue North - Saskatoon, SK - S7K 1Y4
Tel: 306-664-3600   Fax: 306-244-7037   Saskatoon
  Toll-Free: 877-727-5669 (877-SASKNOW) North America


RE: MIMEDefang, SpamAssassin and URIDNSBLs

2004-09-26 Thread Tim Boyer

 Tim Boyer wrote to users@spamassassin.apache.org:

  3.  Do I have DNS lookup enabled?  Yup:
 
  # Enable or disable network checks
  dns_available yes
  skip_rbl_checks 0
  rbl_timeout 15
 
  Can't think of anything else to try.

 Do you have

  # If boolean true, skip SA network tests
  $SALocalTestsOnly = 1;

 in your mimedefang-filter? Make sure you set $SALocalTestsOnly to zero.
 For whatever reason, MIMEDefang decided they would override this *one*
 SA option within mimedefang-filter. ;-)


Yup:

$AdminAddress = '[EMAIL PROTECTED]';
$AdminName = Tim Boyer;
$SALocalTestsOnly = 0;


 If that doesn't help, get a bigger hammer, or maybe ask on the
 MIMEDefang list.


I've posted substantially the same message there - with substantially the
same results.

  If I knew how to make MIMEDefang call SpamAssassin with the debug
  switch, that might point me in the right direction.

 MIMEDefang uses the SA libs directly... which means, so can you, in
 mimedefang-filter. :-) I've never tried it, but you should be able to
 enable debugging output before calling the SA check in filter_end().


I'll give it a try in the morning.  Thanks much...

--
Tim Boyer
Director
Information Systems and Engineering Projects
Denman Tire Corporation
[EMAIL PROTECTED]