Koozali.org: home of the SME Server

How to set RBL 7 pre3

Seeker

How to set RBL 7 pre3
« on: February 20, 2006, 07:36:11 PM »
Can anyone tell me which config qpsmtpd uses
I need to modify the plugins file to use rbls

Offline dmay

  • *
  • 450
  • +0/-0
    • http://myezserver.com
How to set RBL 7 pre3
« Reply #1 on: February 23, 2006, 02:03:02 AM »
To view the defaults:

# config show qpsmtpd
qpsmtpd=service
    Bcc=disabled
    BccUser=maillog
    DNSBL=disabled
    LogLevel=6
    MaxScannerSize=25000000
    RBLList=sbl-xbl.spamhaus.org,whois.rfc-ignorant.org,dnsbl.njabl.org,relays.ordb.org
    RHSBL=disabled
    RequireResolvableFromHost=no
    SBLList=dsn.rfc-ignorant.org
    access=public
    status=enabled

To enable both available lists:

# config setprop qpsmtpd DNSBL enabled RHSBL enabled
# signal-event email-update

Darrell

Seeker

How to set RBL 7 pre3
« Reply #2 on: February 23, 2006, 01:39:57 PM »
:-D BIG thanks!

Offline chris burnat

  • ****
  • 1,135
  • +2/-0
    • http://www.burnat.com
How to set RBL 7 pre3
« Reply #3 on: February 26, 2006, 01:15:24 PM »
Darrell, thank you for sharing your knowledge. Still struggling with the database... Would you kindly provide guidance with the commands for modifying the RBL and SBL lists.  At the moment, we have:
RBLList=sbl-xbl.spamhaus.org,whois.rfc-ignorant.org,dnsbl.njabl.org,relays.ordb.org
 SBLList=dsn.rfc-ignorant.org
How to remove from/add to these lists?
Many thanks. chris
- chris
If it does not work out of the box, please fill in a Bug Report @ Bugzilla (http://bugs.contribs.org)  - check: http://wiki.contribs.org/Bugzilla_Help .  Thanks.

Offline dmay

  • *
  • 450
  • +0/-0
    • http://myezserver.com
How to set RBL 7 pre3
« Reply #4 on: February 27, 2006, 02:00:37 AM »
Quote from: "burnat"
Darrell, thank you for sharing your knowledge. Still struggling with the database... Would you kindly provide guidance with the commands for modifying the RBL and SBL lists....

# /sbin/e-smith/db --help
usage:
    /sbin/e-smith/db dbfile keys
    /sbin/e-smith/db dbfile print [key]
    /sbin/e-smith/db dbfile show [key]
    /sbin/e-smith/db dbfile get key
    /sbin/e-smith/db dbfile set key type [prop1 val1] [prop2 val2] ...
    /sbin/e-smith/db dbfile setdefault key type [prop1 val1] [prop2 val2] ...
    /sbin/e-smith/db dbfile delete key
    /sbin/e-smith/db dbfile printtype [key]
    /sbin/e-smith/db dbfile gettype key
    /sbin/e-smith/db dbfile settype key type
    /sbin/e-smith/db dbfile printprop key [prop1] [prop2] [prop3] ...
    /sbin/e-smith/db dbfile getprop key prop
    /sbin/e-smith/db dbfile setprop key prop1 val1 [prop2 val2] [prop3 val3] ...
    /sbin/e-smith/db dbfile delprop key prop1 [prop2] [prop3] ...

Being verbose you would do:
# /sbin/e-smith/db /home/e-smith/db/configuration setprop qpsmtpd RBLList blah,blah,blah
# /sbin/e-smith/db /home/e-smith/db/configuration setprop qpsmtpd SBLList blah,blah,blah
# /sbin/e-smith/signal-event email-update

In shorthand you could do:
# config setprop qpsmtpd RBLList blah,blah,blah SBLList blah,blah,blah
# signal-event email-update

My recommendations. Learn verbose. For quick command-line entries, shorthand method is faster for us lazy typists. However, when you move into writing scripts, see the Development documentation, use perl and the provided perl db interfaces found here:

/usr/lib/perl5/site_perl/esmith

Darrell

Offline chris burnat

  • ****
  • 1,135
  • +2/-0
    • http://www.burnat.com
How to set RBL 7 pre3
« Reply #5 on: February 27, 2006, 08:55:53 AM »
Many thanks Darrell.
- chris
If it does not work out of the box, please fill in a Bug Report @ Bugzilla (http://bugs.contribs.org)  - check: http://wiki.contribs.org/Bugzilla_Help .  Thanks.