On Wed, 28 Jul 2010 15:42:57 +0200
[email protected] wrote:
> OK - so I had a ton of permissions issues after I upgraded, this was my
> own fault b/c I had forgotten that my dspam binary usually runs w/
> different perms that setup creates. Stevan got me mostly there and I
> appreciate his help.
>
> I have a weird issue now, where I can see good messages in my quarantine
> that I'd like to mark off as good, and have them delivered. When I hit
> "Deliver Checked", the message is removed from quarantine, and from my
> /var/dspam/data/user1/user1.mbox.
>
> After that 2 things are strange:
> - The message disappears altogether
> - The webui is not updated with the new statistics
> - The message is not changed to "miss" in the webui.
>
> To that end, I have gone through all of the interesting places and
> copied out what I thoguht was relevant. Perhaps someone can see
> something that I am missing... What I am doing now is going through to
> see what elements are called when the deliver checked items are processed.
>
> * Note that there are signatures in the messages that are in
> quarantine... I have verified that.
>
> /var/log/maillog:
> ==============================
> Jul 28 06:25:21 acrocatlabs dspam[21956]: Unable to find a valid
> signature. Aborting.
> Jul 28 06:25:21 acrocatlabs dspam[21956]: process_message returned error
> -5. dropping message.
>
> dspam version:
> ==============================
> DSPAM Anti-Spam Suite 3.9.1 (agent/library)
> Configuration parameters: '--prefix=/usr' '--sysconfdir=/etc'
> '--with-logdir=/var/dspam' '--enable-debug'
> '--with-storage-driver=mysql_drv'
> '--with-mysql-includes=/usr/include/mysql'
> '--with-mysql-libraries=/usr/lib' '--enable-virtual-users'
> '--enable-preferences-extension' '--enable-signature-headers'
> '--enable-clamav'
>
> Sendmail.mc:
> ==============================
> define(`LOCAL_MAILER_PATH', `/usr/bin/dspam')dnl
> define(`LOCAL_MAILER_ARGS', `dspam -t -Y -a $h "--deliver=innocent"
> --user $u -d %u')dnl
>
If I am not wrong then those "-t", "-Y" and "-a" arguments are for procmail and
you wrote to me that you are not using procmail. Right? If so then could you
change the above to be:
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
define('LOCAL_MAILER_PATH', `/usr/local/bin/dspam')dnl
define('LOCAL_MAILER_ARGS', `dspam "--deliver=innocent,spam" --user $u -d
%u')dnl
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
> aliases:
> ==============================
> spam: "|/usr/bin/dspam --user global --class=spam
> --source=error"
> ham: "|/usr/bin/dspam --user global --class=innocent
> --source=error --deliver=innocent"
>
"/usr/bin/dspam"? In the above sendmail.mc you use "/usr/local/bin/dspam". Do
you have the dspam binary in both directories?
> dspam.conf:
> ==============================
> TrustedDeliveryAgent "/usr/local/bin/procmail.dspam"
> UntrustedDeliveryAgent "/usr/local/bin/procmail.dspam -d %u"
>
What? So you are using procmail for delivery? Then the line above should be:
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
define(`LOCAL_MAILER_PATH', `/usr/local/bin/dspam')dnl
define(`LOCAL_MAILER_ARGS', `dspam -t -Y -a $h "--deliver=innocent,spam" --user
$u -d %u')dnl
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
> configure.pl:
> ==============================
> $CONFIG{'DSPAM_ARGS'} = "--deliver=innocent --class=innocent " .
> "--source=error --user %CURRENT_USER% -d %u";
>
> /var/dspam:
> ==============================
> drwxrwx--- 6 dspam dspam 4096 Jul 28 03:28 .
> drwxr-xr-x 28 root root 4096 May 1 06:15 ..
> drwxrwxrwx 14 dspam dspam 4096 Jul 2 12:50 data
> -rw-rw---- 1 dspam dspam 90 Apr 18 02:26 dspam.debug
> -rw-rw---- 1 dspam dspam 19802 Apr 17 11:31 dspam.messages
> -rw-r--r-- 1 dspam dspam 16 Sep 22 2007 group
> drwxr-xr-x 2 dspam dspam 4096 Sep 22 2007 opt-in
> drwxr-xr-x 2 dspam dspam 4096 Sep 22 2007 opt-out
> -rw-rw---- 1 dspam dspam 4916453 Jul 28 02:46 system.log
> -rw-r--r-- 1 dspam dspam 29 Jul 28 03:28 trusted.users
> drwxr-xr-x 2 dspam dspam 4096 Jun 10 2008 txt
>
> /var/dspam/data:
> ==============================
> drwxrwxrwx 14 dspam dspam 4096 Jul 2 12:50 .
> drwxrwx--- 6 dspam dspam 4096 Jul 28 03:28 ..
> drwxrwx--- 2 dspam dspam 4096 Jul 28 02:54 user1
> drwxrwx--- 2 dspam dspam 4096 Jul 28 02:54 user2
> drwxrwx--- 2 dspam dspam 4096 Jul 28 02:54 user3
>
> /var/dspam/data/user1:
> ==============================
> -rw-rw-rw- 1 dspam dspam 44 May 5 2008 user1.alerts
> -rw-rw-rw- 1 dspam dspam 11 Nov 18 2007 user1.firstrun
> -rw-rw-rw- 1 dspam dspam 11 Nov 22 2007 user1.firstspam
> -rw-rw-rw- 1 dspam dspam 405257 Jul 28 02:54 user1.log
> -rw-rw-rw- 1 dspam dspam 0 Jul 28 03:43 user1.mbox
> -rw-rw---- 1 dspam dspam 0 Nov 22 2007 user1.mbox.stamp
> -rw-rw-rw- 1 dspam dspam 0 Jul 28 03:43 user1.retrain.log
> -rw-rw-rw- 1 dspam dspam 22 Jul 28 01:02 user1.rstats
> -rw-rw-rw- 1 dspam dspam 29 Jul 28 02:46 user1.stats
>
> /usr/bin/dspam:
> ==============================
> -rwsr-xr-x 1 root dspam 144772 Jul 28 04:07 /usr/bin/dspam
> -rwxr-xr-x 1 root dspam 31199 Jul 28 04:07 /usr/bin/dspam_2sql
> -rwxr-xr-x 1 root dspam 33110 Jul 28 04:07 /usr/bin/dspam_admin
> -rwxr-xr-x 1 root dspam 39946 Jul 28 04:07 /usr/bin/dspam_clean
> -rwxr-xr-x 1 root dspam 8292 Jul 28 04:07 /usr/bin/dspam_crc
> -rwxr-xr-x 1 root dspam 31901 Jul 28 04:07 /usr/bin/dspam_dump
> -rwxr-xr-x 1 root dspam 4268 Jul 28 04:07 /usr/bin/dspam_logrotate
> -rwxr-xr-x 1 root dspam 33778 Jul 28 04:07 /usr/bin/dspam_merge
> -rwxr-xr-x 1 root dspam 9723 Jul 28 04:07 /usr/bin/dspam_notify
> -rwxr-xr-x 1 root dspam 37195 Jul 28 04:07 /usr/bin/dspam_stats
> -rwxr-xr-x 1 root dspam 6537 Jul 28 04:07 /usr/bin/dspam_train
> -rwxr-xr-x 1 root dspam 91365 Jul 28 04:07 /usr/bin/dspamc
>
> /etc/mail/trusted-users:
> ==============================
> <empty>
>
>
> ------------------------------------------------------------------------------
> The Palm PDK Hot Apps Program offers developers who use the
> Plug-In Development Kit to bring their C/C++ apps to Palm for a share
> of $1 Million in cash or HP Products. Visit us here for more details:
> http://p.sf.net/sfu/dev2dev-palm
> _______________________________________________
> Dspam-user mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/dspam-user
>
------------------------------------------------------------------------------
The Palm PDK Hot Apps Program offers developers who use the
Plug-In Development Kit to bring their C/C++ apps to Palm for a share
of $1 Million in cash or HP Products. Visit us here for more details:
http://p.sf.net/sfu/dev2dev-palm
_______________________________________________
Dspam-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/dspam-user