I have a couple new installs of SA3 (on RH9 from rpm) where I knew AWL did not 
run and today I decided to see why.

The output from -D --lint is:

debug: lock: 31719 created 
/var/spool/spamassassin/auto-whitelist.lock.mx1.domain.com.31719
debug: lock: 31719 trying to get lock on /var/spool/spamassassin/auto-whitelist 
with 0 retries
debug: lock: 31719 link to /var/spool/spamassassin/auto-whitelist.lock: link ok
debug: Tie-ing to DB file R/W in /var/spool/spamassassin/auto-whitelist
debug: unlock: 31719 unlink /var/spool/spamassassin/auto-whitelist.lock
debug: open of AWL file failed: Cannot open auto_whitelist_path 
/var/spool/spamassassin/auto-whitelist: Inappropriate ioctl for device

debug: Post AWL score: 0.299000000000001

So I've done the obvious and checked the user settings and permissions are set 
correctly, indeed I opened the permissions up on the AWL directory.

One thing I thought could be a problem is that I have two versions of DB on 
this system:

db4-4.0.14-20
db4-4.1.25-14

And I also have:

gdbm-1.8.0-20

So I've set "auto_whitelist_db_modules" to "DB_File" and "GDBM_File" separately 
and retested.

None of which is having any effect on the lint output. I've done a fair bit of 
searching for others showing this error but the postings I'm finding relate to 
older versions of SA.

Currently I have the following re. AWL in local.cf:

# Auto  Whitelist
use_auto_whitelist      1
auto_whitelist_path     /var/spool/spamassassin/auto-whitelist
auto_whitelist_file_mode      0777
auto_whitelist_db_modules GDBM_File

Does anyone have any thoughts on why AWL is not working here? Are there some 
initiation procedures that need to be run?

Thanks

Alan

Reply via email to