Hello,. i installed dovecot with virtual user and domains. but i dont get thru "dovecot-antispam" config. is there any HOWTO, for gentoo , how to setup and configure dovecot-antispam ? with examples for the config files ? maybe i have dspam self totally wrong configured. thanks marko
On Mon, 2008-11-03 at 15:39 +0100, Marko Weber wrote:> Hello,. > i installed dovecot with virtual user and domains. > but i dont get thru "dovecot-antispam" config. > > is there any HOWTO, for gentoo , how to setup and configure > dovecot-antispam ? > with examples for the config files ?I assume that you have read antispam(7). What other information do you need?> maybe i have dspam self totally wrong configured.Did you verify that DSPAM works independently, i.e. without dovecot-antispam? Regards, Thorsten -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 489 bytes Desc: This is a digitally signed message part URL: <http://dovecot.org/pipermail/dovecot/attachments/20081105/9a98dadd/attachment-0002.bin>
Hello Thorsten , sorry then again ........ details: i got dspam working, it now scans incoming mails and tag them in the headers. X-DSPAM-Result: = Spam X-DSPAM-Confidence: = 0.9984 X-DSPAM-Probability: = 1.0000 X-DSPAM-Signature: = 1,491930ac25229173225906 X-DSPAM-Factors: 15, so far okay. i emerged dovecot-antispam. and thought its easy going , just paste the code snippet of man dovecot-antispam to the imap section in the dovecot.conf . but thats not all i think. i thought now, when moving a mail from incoming to SPAM something happens, but despam.dbug and /var/log/messages dont show anything happen. i did this in the dovecot.conf mail_plugins = antispam mail_plugin_dir = /usr/lib/dovecot/imap plugin { antispam_trash = trash;Trash;Deleted Items;Deleted Messages antispam_spam = SPAM;Spam antispam_dspam_binary = /usr/bin/dspam antispam_dspam_args = --user;%u } but as told above , moving mails into folder SPAM or from SPAM to incoming dont causes any action the log.files when i retstart dovecot i got following output on screen /etc/init.d/dovecot restart Warning: Growing pool 'settings' with: 8192 * Stopping dovecot ... [ ok ] Warning: Growing pool 'settings' with: 8192 * Starting dovecot ... Warning: Growing pool 'settings' with: 8192 ILoading modules from directory: /usr/lib/dovecot/imap WGrowing pool 'module loader' with: 2048 IModule loaded: /usr/lib/dovecot/imap/lib90_antispam_plugin.so IEffective uid=65534, gid=65534, homeWGrowing pool 'antispam-pool' with: 2048 [ ok ] dovecot is running after restart and fully working, accepting mails , sending mails all oke. dunno if i told before to you, i use postfix-dovecot-mysql setup, virtual users & domains if you need any other config file or info lemme know. i really want this nice tool to get working. thank you marko Thorsten Vollmer schrieb:> On Sun, 2008-11-09 at 15:15 +0100, Marko Weber wrote: > >> Hello Thorsten, >> i sorted out to get dspam working, >> but it tags too much mails as spam, even mials that are not spam, >> >> now thats the poinzt where dovecot-antispam comes in, >> now my idea is, that mails that get "spam" tag by dspam, >> to retrain by "dovecot-antispam". >> but i dont get thru it. >> maybe this is now the pont where you can help me ? >> > > Asking for help without providing any detail is rather pointless. > > Thorsten > >
Sorry to ask, so if dovecot-antispam-20080829 dont work for me you mean i should install the latest from webpage ? Thorsten Vollmer schrieb:> On Thu, 2008-11-13 at 00:24 +0100, Marko Weber wrote: > >> Hello Thorsten thank you for taking time. >> I recompiled with -debug, but i also had to set -syslog >> otherwise gentoo dont compile. it says then , "useflag syslog enabled >> needs flag debug also set" >> >> we proceed further in the list then ? >> > > Yes, once you have new results. > > If dovecot-antispam-20080829 does not yet work for you, please try the > latest version and re-enable debugging. > > Thorsten > >
Hello Thorsten, i got "dovecot-antispam" working now. also moving mails now fully work. but retraining dont seems to work fully. emails that are delivered to mailbox are scanned with user "clamav" 28799: [11/13/2008 23:26:25] DSPAM Instance Startup 28799: [11/13/2008 23:26:25] input args: /usr/bin/dspam --stdout --deliver=spam,innocent --mode=tum --tokenizer=chained,noise --enable-signature-headers --user clamav 28799: [11/13/2008 23:26:25] pass-thru args: --tokenizer=chained,noise --enable-signature-headers 28799: [11/13/2008 23:26:25] processing user clamav 28799: [11/13/2008 23:26:25] uid = 105, euid = 105, gid = 449, egid = 1000 28799: [11/13/2008 23:26:25] loading preferences for user clamav 28799: [11/13/2008 23:26:25] Loading preferences for uid 1 i dont have a maildrop filter ready yet that move spam tagged mails into SPAM folder. all is delivered to "incoming". when i now move the mail to SPAM; this is done by user "postfix" 28917: [11/13/2008 23:40:17] DSPAM Instance Startup 28917: [11/13/2008 23:40:17] input args: /usr/bin/dspam --source=error --class=spam --signature==?iso-8859-1?Q?1,491930ac25229173225906=0D?28917: [11/13/2008 23:40:17] pass-thru args: 28917: [11/13/2008 23:40:17] processing user postfix 28917: [11/13/2008 23:40:17] uid = 207, euid = 207, gid = 207, egid = 1000 28917: [11/13/2008 23:40:17] loading preferences for user postfix 28917: [11/13/2008 23:40:17] Loading preferences for uid 6 28917: [11/13/2008 23:40:17] Loading preferences for uid 0 28917: [11/13/2008 23:40:17] Loading preferences for uid 0 28917: [11/13/2008 23:40:17] default preferences empty. reverting to dspam.conf preferences. 28917: [11/13/2008 23:40:17] Loading preferences from dspam.conf 28917: [11/13/2008 23:40:17] using /var/spool/dspam/opt-in/local/postfix.dspam as path 28917: [11/13/2008 23:40:17] using /var/spool/dspam/opt-out/local/postfix.nodspam as path 28917: [11/13/2008 23:40:17] sedation level set to: 0 28917: [11/13/2008 23:40:17] DSPAM Instance Shutdown. Exit Code: 0 Now when i move the mail again into incoming (also done by user postfix), the mail dont get tagged with "innocent" , it is still tagged "spam". How do i get it work all under "clamav" and why are the removed mails from spam to incoming not tagged with "inncoent" ? (do you need any logs?) thank you marko Thorsten Vollmer schrieb:> On Thu, 2008-11-13 at 21:30 +0100, Marko Weber wrote: > >> Sorry to ask, >> so if dovecot-antispam-20080829 dont work for me you mean i should >> install the latest from webpage ? >> > > Yes, dovecot-antispam-1.1 should be sufficient. I already sent you the > link to an updated ebuild. Please be more proactive. > > Thorsten > >