dspam
Reed L. O'Brien
reedobrien at acm.org
Sat Jun 5 19:15:08 PDT 2004
Anyone here use dspam? I posted to the dspam maillist but apparen;ty
noone is lurking there today.
FreeBSD 5.2.1
maildrop 1.6.3
dspam 2.10.6
I had maildrop delivering fine. Then I built dspam from the ports and
modified postfix main.cf
to read:
mailbox_command = /usr/local/bin/dspam --user $USER -d %u
#mailbox_command = /usr/local/bin/maildrop -d ${USER}
local_destination_concurrency_limit = 1
maildrop_recipient_limit = 1
I was receiving a permission denied error and modified
/usr/local/bin/dspam permissions to match
/usr/local/bin/maildrop and now it delivers. I setup aliases and it
attemmpts to deliver them but I am getting an error in the log and no
delivery. I am not sure how to test if dspam is working otherwise.
permissions of /usr/local/dspam
drwxrwx--- 2 root mail 512 Jun 5 19:24 dspam
-rw-r--r-- 1 root mail 33 Jun 5 19:24 untrusted.users
-rw-r--r-- 1 root mail 78 Jun 5 19:22 trusted.users
the maillog errors:
Jun 5 20:08:33 server postfix/smtpd[71739]: connect from [server]
Jun 5 20:08:33 server postfix/smtpd[71739]: 25A1911422: [server]
Jun 5 20:08:33 server postfix/cleanup[71741]: 25A1911422:
message-id=<40C26090.8000101 at domain.com>
Jun 5 20:08:33 server postfix/qmgr[71738]: 25A1911422:
from=<user at domain.com>, size=4405, nrcpt=1 (queue active)
Jun 5 20:08:33 server dspam[71744]: unable to open
/usr/local/etc/dspam/trusted.users for reading: Permission denied.
Jun 5 20:08:33 server dspam[71744]: forcing username for untrusted user
nobody
Jun 5 20:08:33 server dspam[71744]: unable to locate
/usr/local/etc/dspam/untrusted.mailer_args: Permission denied. allowing
untrusted user to specify passthru delivery parameters
Jun 5 20:08:33 server dspam[71744]: DB_ENV->open failed:
/usr/local/etc/dspam/nobody: Permission denied
Jun 5 20:08:33 server dspam[71744]: unable to initialize dspam context
Jun 5 20:08:33 server dspam[71744]: process_message returned error -2.
delivering message.
Jun 5 20:08:33 server maildrop[71746]: Unable to change to home directory.
Jun 5 20:08:33 server postfix/local[71742]: 25A1911422:
to=<spam-user at domain.com>, relay=local, delay=0, status=deferred
(temporary failure. Command output: 71744: [Sat Jun 5 20:08:33 2004]
Unable to create directory: /usr/local/etc/dspam/nobody/: Permission
denied /usr/local/bin/maildrop: Unable to change to home directory.
71744: [Sat Jun 5 20:08:33 2004] LDA returned error, exit code: 75, LDA
command line: /usr/local/bin/maildrop )
Jun 5 20:08:33 server postfix/smtpd[71739]: disconnect from [server]
What else should I send??
--
reed
4.6692016090
More information about the freebsd-questions
mailing list