On Fri, 26 Nov 2010 12:12:24 +0100, Christian Fischer
<m...@computerdichter.de> wrote:
> Hey out there!
> 
> I am using dspam in the following setup:
> 
> postfix --filter---> dspam -----> dovecot/deliver
> 
> Additionally there is dovecot-antispam running, which retrains the 
> messages by watching moves from and to "Junk" folder.
> 
> All i do want to is to deliver spam mails directly to "Junk" folder and 
> not into INBOX
> 
> relevant Config:
> 
> StorageDriver /usr/lib/dspam/libmysql_drv.so
> TrustedDeliveryAgent "/usr/lib/dovecot/deliver -d %u"
> QuarantineAgent  "/usr/lib/dovecot/deliver -m Junk -d %u"
> 
> Preference "spamAction=quarantine"
> Preference "signatureLocation=headers"  # 'message' or 'headers'
> Preference "showFactors=on"
> Preference "spamSubject=SPAM"
> 
> 
> So what is wrong with that? eMails known as spam should be delivered 
> directly to Junk through the Quarantine agent...not?

On a setup where i got a lot help the Trustedeliveragent is

TrustedDeliveryAgent "/usr/sbin/sendmail"  , also the Untrusted.

On my Setup Dovecot uses SIEVE. Then in Sieve u do a rule with "if subject
is 'SPAM' file into "JUNK" " <-- just example.
Your dovecot-antispam should watch JUNK, and if you move out mails from
JUNK dspam retrains.
Also if you move mails TO Junk. But this should be rare with configured
dspam.
You need a Filter that sort out SPAM Tagged mails,  maildrop, procmail,
SIEVE etc to deliver directly to a choosen folder.

This should work for you

padawan marko


> 
> Log for SPAM-Mail:
> 25782: [11/26/2010 11:12:41] DSPAM Instance Startup
> 25782: [11/26/2010 11:12:41] input args: /usr/bin/dspam 
> --deliver=innocent,spam --user myuser -f 
> preponderated...@lille-demeures.com -a myu...@somedomain
> 25782: [11/26/2010 11:12:41] pass-thru args: /usr/lib/dovecot/deliver -d

> %u -f preponderated...@lille-demeures.com -a myu...@somedomain
> 25782: [11/26/2010 11:12:41] processing user myuser
> 25782: [11/26/2010 11:12:41] uid = 5000, euid = 5000, gid = 5000, egid =
> 113
> 25782: [11/26/2010 11:12:41] loading preferences for user myuser
> 25782: [11/26/2010 11:12:41] _ds_pref_load: unable to 
> _mysql_drv_getpwnam(myuser)
> 25782: [11/26/2010 11:12:41] Loading preferences for uid 0
> 25782: [11/26/2010 11:12:41] Loading preferences for uid 0
> 25782: [11/26/2010 11:12:41] default preferences empty. reverting to 
> dspam.conf preferences.
> 25782: [11/26/2010 11:12:41] Loading preferences from dspam.conf
> 25782: [11/26/2010 11:12:41] using 
> /var/spool/dspam/opt-in/local/myuser.dspam as path
> 25782: [11/26/2010 11:12:41] using 
> /var/spool/dspam/opt-out/local/myuser.nodspam as path
> 25782: [11/26/2010 11:12:41] assigning user myuser to group dspam
> 25782: [11/26/2010 11:12:41] sedation level set to: 0
> 25782: [11/26/2010 11:12:41] Connecting to 127.0.0.1:3310 for virus
check
> 25782: [11/26/2010 11:12:41] Connecting to 127.0.0.1:1549 for virus 
> stream transmission
> 
> 
> Tnx
> 
> 
>
------------------------------------------------------------------------------
> Increase Visibility of Your 3D Game App & Earn a Chance To Win $500!
> Tap into the largest installed PC base & get more eyes on your game by
> optimizing for Intel(R) Graphics Technology. Get started today with the
> Intel(R) Software Partner Program. Five $500 cash prizes are up for
grabs.
> http://p.sf.net/sfu/intelisp-dev2dev
> _______________________________________________
> Dspam-user mailing list
> Dspam-user@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/dspam-user

------------------------------------------------------------------------------
Increase Visibility of Your 3D Game App & Earn a Chance To Win $500!
Tap into the largest installed PC base & get more eyes on your game by
optimizing for Intel(R) Graphics Technology. Get started today with the
Intel(R) Software Partner Program. Five $500 cash prizes are up for grabs.
http://p.sf.net/sfu/intelisp-dev2dev
_______________________________________________
Dspam-user mailing list
Dspam-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspam-user

Reply via email to