Re: [Dovecot] dovecot ignores entries in virtual_alias_maps when using dovecot lda
Am 08.06.2012 16:12, schrieb Steve: Original-Nachricht Datum: Fri, 08 Jun 2012 15:56:34 +0200 Von: Marko Weber An: Dovecot Betreff: [Dovecot] dovecot ignores entries in virtual_alias_maps when using dovecot lda hello list, i need help. dovecot dont look into my virtual_alias_maps . i set via postzfixadmin an alias postmas...@domain.tld to newm...@domainother.tld. when i send mails to postmas...@domain.tld mails are rejected. dovecot authworker tells me in log: user unknown. but i can request the data via postmap -v -q postmas...@domain.tld mysql:/etc/postfix/mysql_virtual_alias.cf and get result "newm...@domainother.tld". This is postfix related. You need to look into your /etc/dovecot/conf.d/10-auth.conf and there you have referenced (probably with an !include) a auth-sql.conf.ext file. The content of that file is important to us. Probably there you have a userdb {} entry with an driver = sql and an args entry. The file you reference there in the args entry is important to us too. Can you post the content of those files? 10-auth.conf: auth_mechanisms = plain login digest-md5 cram-md5 !include auth-system.conf.ext !include auth-sql.conf.ext (thats all in the 10-auth.conf file) auth-sql.conf.ext: passdb { driver = sql # Path for SQL configuration file, see example-config/dovecot-sql.conf.ext args = /etc/dovecot/dovecot-sql.conf.ext } userdb { driver = sql args = /etc/dovecot/dovecot-sql.conf.ext } /etc/dovecot/dovecot-sql.conf.ext: connect = \ host=/var/run/mysqld/mysqld.sock \ dbname=postfixadmin \ user=wurst \ password=irgendetwaspasswort default_pass_scheme = MD5 user_query = \ SELECT \ CONCAT('/home/vmail/',maildir) AS home, \ CONCAT('maildir:/home/vmail/',maildir) AS mail, \ maildir, 5000 AS uid, 5000 AS gid, \ CONCAT('*:bytes=', CAST(quota AS CHAR)) AS quota_rule \ FROM mailbox \ WHERE username = '%u' AND active = '1' LIMIT 1 password_query = \ SELECT \ username AS user, \ password, \ CONCAT('/home/vmail',maildir) AS userdb_home, \ CONCAT('maildir:/home/vmail/',maildir) AS userdb_mail, \ 5000 AS userdb_uid, \ 5000 AS userdb_gid \ FROM mailbox \ WHERE username='%u' AND active='1' LIMIT 1 thats all. do you need more information , lemme know. marko any ideas, hwo to get dovecot to look into my alias maps? marko // Steve
[Dovecot] dovecot ignores entries in virtual_alias_maps when using dovecot lda
hello list, i need help. dovecot dont look into my virtual_alias_maps . i set via postzfixadmin an alias postmas...@domain.tld to newm...@domainother.tld. when i send mails to postmas...@domain.tld mails are rejected. dovecot authworker tells me in log: user unknown. but i can request the data via postmap -v -q postmas...@domain.tld mysql:/etc/postfix/mysql_virtual_alias.cf and get result "newm...@domainother.tld". any ideas, hwo to get dovecot to look into my alias maps? marko
[Dovecot] auth-worker problem here.
hello, in howto for gentoo i found this: To tell Postfix about the maps that you've just set up, add the following (substituting mysql for pgsql if you're on PostgreSQL) to the bottom of /etc/postfix/main.cf: virtual_alias_maps = mysql:/etc/postfix/sql_virtual_alias_maps.cf virtual_mailbox_domains = mysql:/etc/postfix/sql_virtual_domain_maps.cf virtual_mailbox_maps = mysql:/etc/postfix/sql_virtual_mailbox_maps.cf Tip: Because this is using the Dovecot's LDA, all results from virtual_mailbox_maps are ignored beyond checking if they exist. I added in the mysql db an alias postmas...@domainn.tld that should be forwarded to n...@domainn.tld. The tip above tells me when using dovecot lda the virtual_alias_maps is ignored by dovecot. now when i send a mail to postmas...@domainn.tld the mail is not transported to n...@domainn.tld. in logfile i see this: dovecot: auth-worker: sql(postmas...@zbfmail.de): Unknown user how can i tell dovecot to also use the virtual_alias_maps? thank you marko
Re: [Dovecot] Can anyone tell me quick, if the howto on dovecot.org is actual:
Thank you, i ask because in the first Part is written: At the time of writing this document we use these versions of the required software (probably newer versions also usable): CentOS 4.4 (or RHEL 4 update 4 or Fedora 6) Apache 2.0.52 PHP 5.1.6 MySQL 5.0.22 Dovecot 1.0rc15 And i think , config syntax and organisation of config changed alot from 1.x to 2.x , or ? Am 01.02.2012 13:18, schrieb Charles Marcus: On 2012-02-01 7:11 AM, Marko Weber wrote: Is this Howto http://wiki2.dovecot.org/HowTo/DovecotLDAPostfixAdminMySQL actual also for Dovecot 2.x ? wiki2. stuff is for dovecot 2.x... wiki. stuff is for dovecot 1.x...
[Dovecot] Can anyone tell me quick, if the howto on dovecot.org is actual:
Is this Howto http://wiki2.dovecot.org/HowTo/DovecotLDAPostfixAdminMySQL actual also for Dovecot 2.x ? Cause i read Dovecot 1.x in the Howto Thank you for any hints / tipps Marko (from cold Hamburg Harbour)
Re: [Dovecot] Gentoo overlay?
i think you took it too personal. maybe it was not thought as elitist crap. just to motivate you. Charles Marcus schrieb: On 7/26/2009 8:16 AM, Steve wrote: Does anyone know of a decent gentoo overlay that keeps dovecot+ reasonably up to date? Why don't you do the ebuilds yourself? It's not that hard. I know this may come as a shock to you, but not everyone is a programmer, or understands this stuff well enough to write their own software. Why do you use the kernels put out by kernel.org? Why don't you just code your own? Elitist crap... -- *Marko Weber* | Administration *SALON DIGITAL* Media GmbH Rothenbaumchaussee 19a 20148 Hamburg T. (040) 429 48 68 - 23 F. (040) 429 48 68 - 20 marko.we...@salondigital.de <mailto:marko.we...@salondigital.de> www.salondigital.de <http://www.salondigital.de> -- Geschäftsführung: Stephan Michalik, Ekkehart Opitz Registergericht: Amtsgericht Hamburg, NR: HRB 78111 NOTE: This communication is confidential and is intended for the use of the individual or entity to which it is directed. It may contain information that is privileged and exempt from disclosure under applicable law. If you are not the intended recipient please notify us immediately. You should not copy it or disclose its contents to any other person.
Re: [Dovecot] Gentoo overlay?
I am just trying to figure out how it works. Your help from Friday motivated me. :-) Steve schrieb: Does anyone know of a decent gentoo overlay that keeps dovecot+ reasonably up to date? Why don't you do the ebuilds yourself? It's not that hard. Thanks, -- Best regards, Charles // Steve -- *Marko Weber* | Administration *SALON DIGITAL* Media GmbH Rothenbaumchaussee 19a 20148 Hamburg T. (040) 429 48 68 - 23 F. (040) 429 48 68 - 20 marko.we...@salondigital.de <mailto:marko.we...@salondigital.de> www.salondigital.de <http://www.salondigital.de> -- Geschäftsführung: Stephan Michalik, Ekkehart Opitz Registergericht: Amtsgericht Hamburg, NR: HRB 78111 NOTE: This communication is confidential and is intended for the use of the individual or entity to which it is directed. It may contain information that is privileged and exempt from disclosure under applicable law. If you are not the intended recipient please notify us immediately. You should not copy it or disclose its contents to any other person.
Re: [Dovecot] SSL / TLS
Michael Orlitzky schrieb: Timo Sirainen wrote: On Fri, 2009-06-26 at 23:39 +0400, Proskurin Kirill wrote: SSL just binds to special port(like 993 in IMAP by default). No, SSL is a protocol, just like TLS. It doesn't bind to any ports. http://wiki.dovecot.org/SSL To illustrate, both SSL and TLS as implemented in Dovecot utilize "SSL certificates." A typical "TLS" session will work as follows: 1 The client connects to the IMAP service on port 143, unencrypted. 2 The server announces that it speaks TLS. 3 The client says "Ok, let's talk encrypted." 4 Magic occurs, and the session becomes encrypted. This step is where your "SSL" certificate is used. 5 The rest of the session is encrypted. /Usually/, when people refer to SSL as opposed to TLS, they mean IMAPS or POPS. These differ in that there's no "Hey, I speak TLS" step. It is assumed that the conversation will begin according to some secure protocol, kind of like when you connect to a web server on port 443. 1 The client connects to IMAPS on port 993, and performs the secure handshake. Your "SSL" certificate is used in here somewhere. 2 Once the handshake has completed, the rest of the session is secure. When implementing IMAPS/POPS you will usually use a different port, because if you tried to talk plaintext to the server, it would appear to be speaking gibberish (whatever secure protocol is being used). With TLS enabled on a normal IMAP port, the switch from plaintext to encrypted is optional. Although, it's usually a good idea to force TLS, too. Much of the confusion comes from the fact that you can use either protocol, TLSv1 or SSLv3 after the "Hey I speak TLS" step. Likewise, you can use TLSv1 with IMAPS or POPS, though it's use will be implied and there will be no "Hey, I speak TLS" step. There's really no agreement amongst mail clients as to the meaning of "Use SSL" and "Use TLS." You may find it easiest to concentrate on the one distinction: does the session begin encrypted, or does it switch from plaintext to encrypted at some point? Once you've answered that, either of the SSLv3 or TLSv1 protocols can be used, and they will both use your "SSL" certificate. Ultimately, you may wind up using both, depending on your user base. Many versions of Outlook are screwy with regard to one or both of these methods. From Outllok Version 2007 u can choose between SSL / TLS in Settings of the mailaccount. In Outlook 2003 we experienced the only choosable SSL can also work with TLS. BUT, we found out, Outlook 2000 & 2002 cant work with any of our "forced" TLS Mailservers. Also Microsofts ENTOURAGE or whatever named Client cant work with TLS and some "Mail" Clients from OS X, but latest do. hope that helps marko -- *Marko Weber* | Administration *SALON DIGITAL* Media GmbH Rothenbaumchaussee 19a 20148 Hamburg T. (040) 429 48 68 - 23 F. (040) 429 48 68 - 20 marko.we...@salondigital.de <mailto:marko.we...@salondigital.de> www.salondigital.de <http://www.salondigital.de> -- Geschäftsführung: Stephan Michalik, Ekkehart Opitz Registergericht: Amtsgericht Hamburg, NR: HRB 78111 NOTE: This communication is confidential and is intended for the use of the individual or entity to which it is directed. It may contain information that is privileged and exempt from disclosure under applicable law. If you are not the intended recipient please notify us immediately. You should not copy it or disclose its contents to any other person.
Re: [Dovecot] folder creation with dots in name
Timo, i use dovecot with postfix mysql virtual user / domains mail_location = maildir:/home/mail/%d/%n Timo Sirainen schrieb: No idea. But actually there's also another possibility that doesn't involve using plugins. You could just not use Maildir++ layout by setting e.g.: mail_location = maildir:~/Maildir:LAYOUT=fs On Thu, 2009-02-26 at 22:26 +0100, Marko Weber | Salondigital.de wrote: Hi Timo, i use gentoo-linux, and installed dovecot via portage. how do i compile this donwloaded listescap.c ? marko Timo Sirainen schrieb: You have to download and compile it: http://dovecot.org/patches/1.1/listescape-plugin.c Note that it requires that you have Dovecot sources downloaded and compiled. They also should be for the same version you're actually using. On Thu, 2009-02-26 at 21:47 +0100, Marko Weber | Salondigital.de wrote: Hi Timo i visited the link, did like first example on page. remember, i use version 1.1.7 r1 , is this version supported ? i get this on restarting dovecot FPlugin listescape not found from directory /usr/lib64/dovecot/imap Error: imap dump-capability process returned 89 Fatal: Invalid configuration in /etc/dovecot/dovecot.conf marko Timo Sirainen schrieb: http://wiki.dovecot.org/Plugins/Listescape !DSPAM:173,49a7088068522041369930! !DSPAM:23,49a7098a68529694517793! !DSPAM:173,49a70a0a68529867283480!
Re: [Dovecot] folder creation with dots in name
Hi Timo, i use gentoo-linux, and installed dovecot via portage. how do i compile this donwloaded listescap.c ? marko Timo Sirainen schrieb: You have to download and compile it: http://dovecot.org/patches/1.1/listescape-plugin.c Note that it requires that you have Dovecot sources downloaded and compiled. They also should be for the same version you're actually using. On Thu, 2009-02-26 at 21:47 +0100, Marko Weber | Salondigital.de wrote: Hi Timo i visited the link, did like first example on page. remember, i use version 1.1.7 r1 , is this version supported ? i get this on restarting dovecot FPlugin listescape not found from directory /usr/lib64/dovecot/imap Error: imap dump-capability process returned 89 Fatal: Invalid configuration in /etc/dovecot/dovecot.conf marko Timo Sirainen schrieb: http://wiki.dovecot.org/Plugins/Listescape !DSPAM:23,49a704a968521599510429! !DSPAM:173,49a7088068522041369930!
Re: [Dovecot] folder creation with dots in name
Hi Timo i visited the link, did like first example on page. remember, i use version 1.1.7 r1 , is this version supported ? i get this on restarting dovecot FPlugin listescape not found from directory /usr/lib64/dovecot/imap Error: imap dump-capability process returned 89 Fatal: Invalid configuration in /etc/dovecot/dovecot.conf marko Timo Sirainen schrieb: http://wiki.dovecot.org/Plugins/Listescape !DSPAM:173,49a6ff7e68528199216981!
[Dovecot] folder creation with dots in name
Hello, i am using dovecot 1.1.7-r1 when i try to create a new folder in incoming with dot in name ist not working fully. when i try to create the folder domain.de, dovecot createdomain(gray and not accessable) | --> de(the de is also created as folder and is accessable) any ideas why this happen ? thanks for any hints marko !DSPAM:173,49a6f90f68526583516863!
[Dovecot] TLS / SSL login with Thunderbird very slow ?
Hi , i use dovecoz 1.1.4 with TLS / SSL only. i takes up to ~10 seconds that Thunderbird login and send the mail. why is this so slow? any chance to speed up this ? marko from Hamburg thank you
Re: [Dovecot] quota on virtual user / domains ?
Hi there, got my ago problems working. now the last step i dont get working , quota for user in virtual user/domain setup. in dovecot.conf i added = mail_plugins = antispam quota imap_quota plugin { user_query = SELECT home, uid, gid, concat('*:storage=', quota_bytes, 'B') AS quota_rule FROM users WHERE userid = '%u' } on test, the quota dont work. i set in postfixadmin quota 30mb fpr the testaccount and can send more then 40 mb to it by 8x 5mb attachements. any1 of you can give me a hint ? i dont understand at all anything of mysql then setup or changing values with phpmyadmin. maybe the "user_query" is totaly wrong ? thanks marko
Re: [Dovecot] [dspam-users] mysql fetch row error
sorry wrong list Marko Weber schrieb: Hi Steve, MTA = Postfix I have amavis - spamassassin - dspam installed. i think spamassassin scnas after dspam, cuase in the mail headers dspam comes at first. I use Dovecot as Imap Server OS = Gentoo Linux i put the config of dspam here = http://rafb.net/p/VCX8XO97.html if u need more confs just tell me , i can paste then marko Steve schrieb: Hallo Marko This is not normal. DSPAM does not add the encoding. It must be something else you are using/doing to get that tagged with the encoding in front of every DSPAM tag. And I don't see the DSPAM signature in your header. This is not normal. If you have the other DSPAM header lines, then you should have the result as well. What MTA are you using? How is the integration between MTA and DSPAM? Do you have other filters running before and after DSPAM? What IMAP server are you using? What OS are you using? Could you post your DSPAM config? (Grüsse aus Zürich) // Steve Original-Nachricht Datum: Sat, 15 Nov 2008 10:37:38 +0100 Von: Marko Weber <[EMAIL PROTECTED]> An: "[EMAIL PROTECTED]" <[EMAIL PROTECTED]> Betreff: Re: [dspam-users] mysql fetch row error Hello Steve this is the "full" Header of a spam mail where the training also fails. withe the mysql fetch error. marko Return-Path: <[EMAIL PROTECTED]> X-Original-To: [EMAIL PROTECTED] Delivered-To: [EMAIL PROTECTED] Received: from localhost (localhost [127.0.0.1]) by salonwebserver.de (Postfix) with ESMTP id 02C8613BC09B for <[EMAIL PROTECTED]>; Fri, 14 Nov 2008 21:38:09 +0100 (CET) X-DSPAM-Result: =?iso-8859-1?Q?Spam=0D?= X-DSPAM-Confidence: =?iso-8859-1?Q?0.7177=0D?= X-DSPAM-Probability: =?iso-8859-1?Q?1.=0D?= ?iso-8859-1?Q?491de1b0254959695846858=0D?= X-DSPAM-Factors: 15, X-Virus-Scanned: amavisd-new at salonwebserver.de X-Spam-Flag: NO X-Spam-Score: 2.415 X-Spam-Level: ** X-Spam-Status: No, score=2.415 tagged_above=-1000 required=2.5 tests=[DNS_FROM_SECURITYSAGE=0.127, RCVD_IN_BL_SPAMCOP_NET=2.188, RDNS_DYNAMIC=0.1] Received: from salonwebserver.de ([127.0.0.1]) by localhost (kraftwerk1.salonwebserver.de [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id nOQQilMNvp-o for <[EMAIL PROTECTED]>; Fri, 14 Nov 2008 21:38:07 +0100 (CET) Received: from zackbummfertig.de (static.243.42.46.78.clients.your-server.de [78.46.42.243]) (using TLSv1 with cipher ADH-CAMELLIA256-SHA (256/256 bits)) (No client certificate requested) by salonwebserver.de (Postfix) with ESMTPS id E86BD13BC078 for <[EMAIL PROTECTED]>; Fri, 14 Nov 2008 21:38:06 +0100 (CET) Received: from localhost (localhost [127.0.0.1]) by zackbummfertig.de (Postfix) with ESMTP id BC4BDECC067 for <[EMAIL PROTECTED]>; Fri, 14 Nov 2008 21:37:46 +0100 (CET) X-Virus-Scanned: amavisd-new at zackbummfertig.de Received: from zackbummfertig.de ([127.0.0.1]) by localhost (weberweb.zackbummfertig.de [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id xr6ayW0lyDGC for <[EMAIL PROTECTED]>; Fri, 14 Nov 2008 21:37:43 +0100 (CET) Received: from rachel22b12579 (unknown [78.146.113.186]) by zackbummfertig.de (Postfix) with SMTP id 3E83CECC040 for <[EMAIL PROTECTED]>; Fri, 14 Nov 2008 21:37:43 +0100 (CET) Date: Fri, 14 Nov 2008 20:38:01 + From: Chrystal Huddleston <[EMAIL PROTECTED]> Subject: gambling slot machines To: [EMAIL PROTECTED] Message-id: <[EMAIL PROTECTED]> Organization: fightingbobfest.org MIME-version: 1.0 Content-type: text/plain; charset=us-ascii Content-transfer-encoding: 7bit X-Priority: 3 (Normal) Steve schrieb: Can you post the full header of the message in question? ---- Original-Nachricht Datum: Fri, 14 Nov 2008 23:18:39 +0100 Von: Marko Weber <[EMAIL PROTECTED]> An: "[EMAIL PROTECTED]" <[EMAIL PROTECTED]> Betreff: Re: [dspam-users] mysql fetch row error Hi Steve, this sed thing dont worked for me.. sorry how i can get dspam working without this mysql fetch error ? u have any hints ? marko Steve schrieb: Original-Nachricht Datum: Fri, 14 Nov 2008 18:11:55 +0100 Von: Marko Weber <[EMAIL PROTECTED]> An: "[EMAIL PROTECTED]" <[EMAIL PROTECTED]> Betreff: [dspam-users] mysql fetch row error Hello to all in the Mailinglist, i installed dspam on our server and it works so far that incoming mails are tagged by dspam. i installed "dovecot-antispam" for retraining. when in try to retrain a mail i get this in the dspam.debug log = 9056: [11/14/2008 15:23:01] mysql_fetch_row() failed in _ds_get_signature
Re: [Dovecot] [dspam-users] mysql fetch row error
Hi Steve, MTA = Postfix I have amavis - spamassassin - dspam installed. i think spamassassin scnas after dspam, cuase in the mail headers dspam comes at first. I use Dovecot as Imap Server OS = Gentoo Linux i put the config of dspam here = http://rafb.net/p/VCX8XO97.html if u need more confs just tell me , i can paste then marko Steve schrieb: Hallo Marko This is not normal. DSPAM does not add the encoding. It must be something else you are using/doing to get that tagged with the encoding in front of every DSPAM tag. And I don't see the DSPAM signature in your header. This is not normal. If you have the other DSPAM header lines, then you should have the result as well. What MTA are you using? How is the integration between MTA and DSPAM? Do you have other filters running before and after DSPAM? What IMAP server are you using? What OS are you using? Could you post your DSPAM config? (Grüsse aus Zürich) // Steve Original-Nachricht Datum: Sat, 15 Nov 2008 10:37:38 +0100 Von: Marko Weber <[EMAIL PROTECTED]> An: "[EMAIL PROTECTED]" <[EMAIL PROTECTED]> Betreff: Re: [dspam-users] mysql fetch row error Hello Steve this is the "full" Header of a spam mail where the training also fails. withe the mysql fetch error. marko Return-Path: <[EMAIL PROTECTED]> X-Original-To: [EMAIL PROTECTED] Delivered-To: [EMAIL PROTECTED] Received: from localhost (localhost [127.0.0.1]) by salonwebserver.de (Postfix) with ESMTP id 02C8613BC09B for <[EMAIL PROTECTED]>; Fri, 14 Nov 2008 21:38:09 +0100 (CET) X-DSPAM-Result: =?iso-8859-1?Q?Spam=0D?= X-DSPAM-Confidence: =?iso-8859-1?Q?0.7177=0D?= X-DSPAM-Probability: =?iso-8859-1?Q?1.=0D?= ?iso-8859-1?Q?491de1b0254959695846858=0D?= X-DSPAM-Factors: 15, X-Virus-Scanned: amavisd-new at salonwebserver.de X-Spam-Flag: NO X-Spam-Score: 2.415 X-Spam-Level: ** X-Spam-Status: No, score=2.415 tagged_above=-1000 required=2.5 tests=[DNS_FROM_SECURITYSAGE=0.127, RCVD_IN_BL_SPAMCOP_NET=2.188, RDNS_DYNAMIC=0.1] Received: from salonwebserver.de ([127.0.0.1]) by localhost (kraftwerk1.salonwebserver.de [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id nOQQilMNvp-o for <[EMAIL PROTECTED]>; Fri, 14 Nov 2008 21:38:07 +0100 (CET) Received: from zackbummfertig.de (static.243.42.46.78.clients.your-server.de [78.46.42.243]) (using TLSv1 with cipher ADH-CAMELLIA256-SHA (256/256 bits)) (No client certificate requested) by salonwebserver.de (Postfix) with ESMTPS id E86BD13BC078 for <[EMAIL PROTECTED]>; Fri, 14 Nov 2008 21:38:06 +0100 (CET) Received: from localhost (localhost [127.0.0.1]) by zackbummfertig.de (Postfix) with ESMTP id BC4BDECC067 for <[EMAIL PROTECTED]>; Fri, 14 Nov 2008 21:37:46 +0100 (CET) X-Virus-Scanned: amavisd-new at zackbummfertig.de Received: from zackbummfertig.de ([127.0.0.1]) by localhost (weberweb.zackbummfertig.de [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id xr6ayW0lyDGC for <[EMAIL PROTECTED]>; Fri, 14 Nov 2008 21:37:43 +0100 (CET) Received: from rachel22b12579 (unknown [78.146.113.186]) by zackbummfertig.de (Postfix) with SMTP id 3E83CECC040 for <[EMAIL PROTECTED]>; Fri, 14 Nov 2008 21:37:43 +0100 (CET) Date: Fri, 14 Nov 2008 20:38:01 + From: Chrystal Huddleston <[EMAIL PROTECTED]> Subject: gambling slot machines To: [EMAIL PROTECTED] Message-id: <[EMAIL PROTECTED]> Organization: fightingbobfest.org MIME-version: 1.0 Content-type: text/plain; charset=us-ascii Content-transfer-encoding: 7bit X-Priority: 3 (Normal) Steve schrieb: Can you post the full header of the message in question? ---- Original-Nachricht Datum: Fri, 14 Nov 2008 23:18:39 +0100 Von: Marko Weber <[EMAIL PROTECTED]> An: "[EMAIL PROTECTED]" <[EMAIL PROTECTED]> Betreff: Re: [dspam-users] mysql fetch row error Hi Steve, this sed thing dont worked for me.. sorry how i can get dspam working without this mysql fetch error ? u have any hints ? marko Steve schrieb: ---- Original-Nachricht Datum: Fri, 14 Nov 2008 18:11:55 +0100 Von: Marko Weber <[EMAIL PROTECTED]> An: "[EMAIL PROTECTED]" <[EMAIL PROTECTED]> Betreff: [dspam-users] mysql fetch row error Hello to all in the Mailinglist, i installed dspam on our server and it works so far that incoming mails are tagged by dspam. i installed "dovecot-antispam" for retraining. when in try to retrain a mail i get this in the dspam.debug log = 9056: [11/14/2008 15:23:01] mysql_fetch_row() failed in _ds_get_signature in the /var/log/messa
Re: [Dovecot] Install Configuring and run.
Hi Thorsten, now it looks different to old log before, I disabled "MySQLUIDInSignature" like you said , now when i move a mail to SPAM folder "dspam.debug" tells this = 2376: [11/14/2008 14:02:51] DSPAM Instance Startup 2376: [11/14/2008 14:02:51] input args: /usr/bin/dspam --source=error --class=spam --signature==?iso-8859-1?Q?491d76cb23581804284693=0D?= --user clamav 2376: [11/14/2008 14:02:51] pass-thru args: 2376: [11/14/2008 14:02:51] processing user clamav 2376: [11/14/2008 14:02:51] uid = 207, euid = 207, gid = 207, egid = 1000 2376: [11/14/2008 14:02:51] loading preferences for user clamav 2376: [11/14/2008 14:02:51] Loading preferences for uid 1 2376: [11/14/2008 14:02:51] Loading preferences for uid 0 2376: [11/14/2008 14:02:51] Loading preferences for uid 0 2376: [11/14/2008 14:02:51] default preferences empty. reverting to dspam.conf preferences. 2376: [11/14/2008 14:02:51] Loading preferences from dspam.conf 2376: [11/14/2008 14:02:51] using /var/spool/dspam/opt-in/local/clamav.dspam as path 2376: [11/14/2008 14:02:51] using /var/spool/dspam/opt-out/local/clamav.nodspam as path 2376: [11/14/2008 14:02:51] sedation level set to: 0 2376: [11/14/2008 14:02:51] mysql_fetch_row() failed in _ds_get_signature 2376: [11/14/2008 14:02:51] DSPAM Instance Shutdown. Exit Code: 0 failed on fetch_row the /var/log/messages tells this = Nov 14 14:02:51 kraftwerk1 imap: antispam: /usr/bin/dspam --source=error --class=spam --signature==?iso-8859-1?Q?491d76cb23581804284693=0D?= ... Nov 14 14:02:51 kraftwerk1 dspam[2376]: Signature retrieval for '=?iso-8859-1?Q?491d76cb23581804284693=0D?=' failed Nov 14 14:02:51 kraftwerk1 dspam[2376]: Unable to find a valid signature. Aborting. Nov 14 14:02:51 kraftwerk1 dspam[2376]: process_message returned error -5. dropping message. when i search with phpmyadmin in the database the signatur 491d76cb23581804284693 is there. i really dont get it what can be wrong. thanks marko Thorsten Vollmer schrieb: On Fri, 2008-11-14 at 11:40 +0100, Marko Weber wrote: Hello Thorsten , Hello All in List, i got to write again, ok : dspam workinng , dovecot-antispam working moving mails to or out of spam seems to work and is listed in the logs; BUT the logs shows this on moving a mail to or from spam = Nov 14 11:31:57 kraftwerk1 imap: antispam: /usr/bin/dspam --source=error --class=innocent --signature==?iso-8859-1?Q?1,491d521770551288576733=0D?= ... Nov 14 11:31:57 kraftwerk1 dspam[7203]: _ds_get_signature(): _mysql_drv_getpwuid(0) failed: aborting Nov 14 11:31:57 kraftwerk1 dspam[7203]: Signature retrieval for '=?iso-8859-1?Q?1,491d521770551288576733=0D?=' failed Nov 14 11:31:57 kraftwerk1 dspam[7203]: Unable to find a valid signature. Aborting. Nov 14 11:31:57 kraftwerk1 dspam[7203]: process_message returned error -5. dropping message. incoming mails are scanned by user clamav and mails are moved now by user clamav after the the Tip of Thorsten adding this to dovecot.conf = antispam_dspam_args = --user;clamav I just realized that you enabled MySQLUIDInSignature. Thus specifying the user is not strictly necessary. You may also try to disable MySQLUIDInSignature. the following point in the logs "mysql_drv_getpwuid(0)" , looks for me like dspam tries with User-ID 0 to work, but User clamav is in the mysql-db with User ID 1 do i have to set any special entires in dovecot.conf or dspam.conf ? marko -- -- *Marko Weber* | Administration *SALON DIGITAL* Media GmbH Rothenbaumchaussee 19a 20148 Hamburg T. (040) 429 48 68 - 23 F. (040) 429 48 68 - 20 [EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]> www.salondigital.de <http://www.salondigital.de> -- Geschäftsführung: Stephan Michalik, Ekkehart Opitz Registergericht: Amtsgericht Hamburg, NR: HRB 78111 NOTE: This communication is confidential and is intended for the use of the individual or entity to which it is directed. It may contain information that is privileged and exempt from disclosure under applicable law. If you are not the intended recipient please notify us immediately. You should not copy it or disclose its contents to any other person.
Re: [Dovecot] Dovecot error with Symbian mail client
Hi Jan, normally on debian server u do this : # aptitude update # aptitude upgrade look on aptitude upgrade if openssl is listed to be updated with a newer version nr marko Jan Seeger schrieb: Thanks for the replies. I guess Timo is right, since I already upgraded from 1.0.9 to version 1.0.13. So I probably need to change my openssl version. What would be the easiest way to do that, since I'm on an debian etch server, which (I think) I cant upgrade? Regards, Jan Seeger -- -- *Marko Weber* | Administration *SALON DIGITAL* Media GmbH Rothenbaumchaussee 19a 20148 Hamburg T. (040) 429 48 68 - 23 F. (040) 429 48 68 - 20 [EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]> www.salondigital.de <http://www.salondigital.de> -- Geschäftsführung: Stephan Michalik, Ekkehart Opitz Registergericht: Amtsgericht Hamburg, NR: HRB 78111 NOTE: This communication is confidential and is intended for the use of the individual or entity to which it is directed. It may contain information that is privileged and exempt from disclosure under applicable law. If you are not the intended recipient please notify us immediately. You should not copy it or disclose its contents to any other person.
Re: [Dovecot] Install Configuring and run.
Hello Thorsten , Hello All in List, i got to write again, ok : dspam workinng , dovecot-antispam working moving mails to or out of spam seems to work and is listed in the logs; BUT the logs shows this on moving a mail to or from spam = Nov 14 11:31:57 kraftwerk1 imap: antispam: /usr/bin/dspam --source=error --class=innocent --signature==?iso-8859-1?Q?1,491d521770551288576733=0D?= ... Nov 14 11:31:57 kraftwerk1 dspam[7203]: _ds_get_signature(): _mysql_drv_getpwuid(0) failed: aborting Nov 14 11:31:57 kraftwerk1 dspam[7203]: Signature retrieval for '=?iso-8859-1?Q?1,491d521770551288576733=0D?=' failed Nov 14 11:31:57 kraftwerk1 dspam[7203]: Unable to find a valid signature. Aborting. Nov 14 11:31:57 kraftwerk1 dspam[7203]: process_message returned error -5. dropping message. incoming mails are scanned by user clamav and mails are moved now by user clamav after the the Tip of Thorsten adding this to dovecot.conf = antispam_dspam_args = --user;clamav the following point in the logs "mysql_drv_getpwuid(0)" , looks for me like dspam tries with User-ID 0 to work, but User clamav is in the mysql-db with User ID 1 do i have to set any special entires in dovecot.conf or dspam.conf ? marko Marko Weber schrieb: Hello Thorsten, now on moving mail into SPAM folder seems okay in "dspam.debug" log = 16277: [11/14/2008 10:18:33] DSPAM Instance Startup 16277: [11/14/2008 10:18:33] input args: /usr/bin/dspam --source=error --class=spam --signature==?iso-8859-1?Q?1,491d3cb5151261000521152=0D?= --user clamav 16277: [11/14/2008 10:18:33] pass-thru args: 16277: [11/14/2008 10:18:33] processing user clamav 16277: [11/14/2008 10:18:33] uid = 207, euid = 207, gid = 207, egid = 1000 16277: [11/14/2008 10:18:33] loading preferences for user clamav 16277: [11/14/2008 10:18:33] Loading preferences for uid 1 16277: [11/14/2008 10:18:33] Loading preferences for uid 0 16277: [11/14/2008 10:18:33] Loading preferences for uid 0 16277: [11/14/2008 10:18:33] default preferences empty. reverting to dspam.conf preferences. 16277: [11/14/2008 10:18:33] Loading preferences from dspam.conf 16277: [11/14/2008 10:18:33] using /var/spool/dspam/opt-in/local/clamav.dspam as path 16277: [11/14/2008 10:18:33] using /var/spool/dspam/opt-out/local/clamav.nodspam as path 16277: [11/14/2008 10:18:33] sedation level set to: 0 16277: [11/14/2008 10:18:33] DSPAM Instance Shutdown. Exit Code: 0 BUT, in systemlog /var/log/messages i get this = Nov 14 10:20:25 kraftwerk1 imap: antispam: /usr/bin/dspam --source=error --class=spam --signature==?iso-8859-1?Q?1,491d40b9162159695846858=0D?= ... Nov 14 10:20:25 kraftwerk1 dspam[16295]: _ds_get_signature(): _mysql_drv_getpwuid(0) failed: aborting Nov 14 10:20:25 kraftwerk1 dspam[16295]: Signature retrieval for '=?iso-8859-1?Q?1,491d40b9162159695846858=0D?=' failed Nov 14 10:20:25 kraftwerk1 dspam[16295]: Unable to find a valid signature. Aborting. Nov 14 10:20:25 kraftwerk1 dspam[16295]: process_message returned error -5. dropping message. maybe its cause now all is done with user clamav, and before incoming mails was checked as user clamav and moving mails was done by user postfix... dunno but when incoming mails was scanned as user clamav and signatur was saved for clamav in db and now moving mails is also done by user clamav , why he cant finde the signatur ? i also added user clamav & postfix as Trust in dspam.conf marko Thorsten Vollmer schrieb: On Thu, 2008-11-13 at 23:44 +0100, Marko Weber wrote: 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 fo
Re: [Dovecot] Install Configuring and run.
Hello Thorsten, now on moving mail into SPAM folder seems okay in "dspam.debug" log = 16277: [11/14/2008 10:18:33] DSPAM Instance Startup 16277: [11/14/2008 10:18:33] input args: /usr/bin/dspam --source=error --class=spam --signature==?iso-8859-1?Q?1,491d3cb5151261000521152=0D?= --user clamav 16277: [11/14/2008 10:18:33] pass-thru args: 16277: [11/14/2008 10:18:33] processing user clamav 16277: [11/14/2008 10:18:33] uid = 207, euid = 207, gid = 207, egid = 1000 16277: [11/14/2008 10:18:33] loading preferences for user clamav 16277: [11/14/2008 10:18:33] Loading preferences for uid 1 16277: [11/14/2008 10:18:33] Loading preferences for uid 0 16277: [11/14/2008 10:18:33] Loading preferences for uid 0 16277: [11/14/2008 10:18:33] default preferences empty. reverting to dspam.conf preferences. 16277: [11/14/2008 10:18:33] Loading preferences from dspam.conf 16277: [11/14/2008 10:18:33] using /var/spool/dspam/opt-in/local/clamav.dspam as path 16277: [11/14/2008 10:18:33] using /var/spool/dspam/opt-out/local/clamav.nodspam as path 16277: [11/14/2008 10:18:33] sedation level set to: 0 16277: [11/14/2008 10:18:33] DSPAM Instance Shutdown. Exit Code: 0 BUT, in systemlog /var/log/messages i get this = Nov 14 10:20:25 kraftwerk1 imap: antispam: /usr/bin/dspam --source=error --class=spam --signature==?iso-8859-1?Q?1,491d40b9162159695846858=0D?= ... Nov 14 10:20:25 kraftwerk1 dspam[16295]: _ds_get_signature(): _mysql_drv_getpwuid(0) failed: aborting Nov 14 10:20:25 kraftwerk1 dspam[16295]: Signature retrieval for '=?iso-8859-1?Q?1,491d40b9162159695846858=0D?=' failed Nov 14 10:20:25 kraftwerk1 dspam[16295]: Unable to find a valid signature. Aborting. Nov 14 10:20:25 kraftwerk1 dspam[16295]: process_message returned error -5. dropping message. maybe its cause now all is done with user clamav, and before incoming mails was checked as user clamav and moving mails was done by user postfix... dunno but when incoming mails was scanned as user clamav and signatur was saved for clamav in db and now moving mails is also done by user clamav , why he cant finde the signatur ? i also added user clamav & postfix as Trust in dspam.conf marko Thorsten Vollmer schrieb: On Thu, 2008-11-13 at 23:44 +0100, Marko Weber wrote: 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" If you really have a single user for DSPAM, add "antispam_dspam_args = --user;clamav" to dovecot.conf. Also, the user running dovecot's mail process needs to be trusted by DSPAM. and why are the removed mails from spam to incoming not tagged with "inncoent" ? dovecot-antispam does not change any headers of the messages you move. (do you need any logs?)
Re: [Dovecot] Install Configuring and run.
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
Re: [Dovecot] Install Configuring and run.
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
Re: [Dovecot] Install Configuring and run.
Hello Thorsten , yes dovecot-antispam is installed on my server with the useflag "debug". Thorsten Vollmer schrieb: On Tue, 2008-11-11 at 23:10 +0100, Marko Weber wrote: 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. X-DSPAM-Signature: = 1,491930ac25229173225906 X-DSPAM-Factors: 15, so far okay. i emerged dovecot-antispam. Before I look any further: dovecot-antispam in Portage is broken with USE=debug. Did you set this flag? 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, home= WGrowing 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 -- -- *Marko Weber* | Administration *SALON DIGITAL* Media GmbH Rothenbaumchaussee 19a 20148 Hamburg T. (040) 429 48 68 - 23 F. (040) 429 48 68 - 20 [EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]> www.salondigital.de <http://www.salondigital.de> -- Geschäftsführung: Stephan Michalik, Ekkehart Opitz Registergericht: Amtsgericht Hamburg, NR: HRB 78111 NOTE: This communication is confidential and is intended for the use of the individual or entity to which it is directed. It may contain information that is privileged and exempt from disclosure under applicable law. If you are not the intended recipient please notify us immediately. You should not copy it or disclose its contents to any other person.
Re: [Dovecot] Install Configuring and run.
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. 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, home= WGrowing 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
Re: [Dovecot] Install Configuring and run.
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 ? marko Thorsten Vollmer schrieb: On Fri, 2008-11-07 at 13:31 +0100, Marko Weber wrote: Thorsten Vollmer schrieb: On Thu, 2008-11-06 at 17:03 +0100, Marko Weber wrote: Ok i summarized some things, maybe any1 can give a comment to it = when i restart dovecot i get this = /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/lib64/dovecot/imap WGrowing pool 'module loader' with: 2048 IModule loaded: /usr/lib64/dovecot/imap/lib90_antispam_plugin.so IEffective uid=65534, gid=65534, home= WGrowing pool 'antispam-pool' with: 2048 [ ok ] email-headers of SPAM tagged mails (spamassassin + pyzor + razor detect them as spam cause they are spam) dspam tags the mails like this = X-DSPAM RESULT Innocent X-DSPAM Confidence 0.8505 X-DSPAM Probability 0. so, Spamassassin detect them as spam and dspam not ? (to an old mail in list question , yes i trained ca 10.000 spam mails against some not spam). because this mail would grown in endless long text i pasted the configs on web = POSTFIX main.cf = http://rafb.net/p/PQy5FN10.html POSTFIX master.cf = http://rafb.net/p/2l02A087.html DOVECOT dovecot.conf = http://rafb.net/p/PjvV1h44.html DSPAM dspam.conf = http://rafb.net/p/7O8lEf46.html I looked only briefly at the files: You need to set "signatureLocation=headers", but this is unrelated to your current problem. I use Postfix with "virtual users & domains" dspam.debug shows this entries when i send a mail to the server = http://rafb.net/p/sbEqK070.html Sending an actual spam message would have been more useful. i forwarded an spam mail to the server with dspam. http://rafb.net/p/O7jBCp59.html Do the results improve if you disable the "naive" statistical algorithm? You may also try Markovian weighting, but you need to disable ProcessorBias in that case. Not all combinations of Tokenizer, PValue, Algorithm and ProcessorBias result in working setups. Try other ones. But remember that you need to rebuild the corpus if you change the tokenizer. sorry, guys. but how do i get dspam working 100% , and how do i get this retraining working ? where i can move mails out spam into incoming and other way spam from incoming to spamfolder to retrain dspam. yes, maybe alot stuff, but any feel free to help or to explain ? thanks ahead from hamburg marko
Re: [Dovecot] Install Configuring and run.
Hi Thorsten, i forwarded an spam mail to the server with dspam. http://rafb.net/p/O7jBCp59.html thx marko Thorsten Vollmer schrieb: On Thu, 2008-11-06 at 17:03 +0100, Marko Weber wrote: Ok i summarized some things, maybe any1 can give a comment to it = when i restart dovecot i get this = /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/lib64/dovecot/imap WGrowing pool 'module loader' with: 2048 IModule loaded: /usr/lib64/dovecot/imap/lib90_antispam_plugin.so IEffective uid=65534, gid=65534, home= WGrowing pool 'antispam-pool' with: 2048 [ ok ] email-headers of SPAM tagged mails (spamassassin + pyzor + razor detect them as spam cause they are spam) dspam tags the mails like this = X-DSPAM RESULT Innocent X-DSPAM Confidence 0.8505 X-DSPAM Probability 0. so, Spamassassin detect them as spam and dspam not ? (to an old mail in list question , yes i trained ca 10.000 spam mails against some not spam). because this mail would grown in endless long text i pasted the configs on web = POSTFIX main.cf = http://rafb.net/p/PQy5FN10.html POSTFIX master.cf = http://rafb.net/p/2l02A087.html DOVECOT dovecot.conf = http://rafb.net/p/PjvV1h44.html DSPAM dspam.conf = http://rafb.net/p/7O8lEf46.html I looked only briefly at the files: You need to set "signatureLocation=headers", but this is unrelated to your current problem. I use Postfix with "virtual users & domains" dspam.debug shows this entries when i send a mail to the server = http://rafb.net/p/sbEqK070.html Sending an actual spam message would have been more useful. sorry, guys. but how do i get dspam working 100% , and how do i get this retraining working ? where i can move mails out spam into incoming and other way spam from incoming to spamfolder to retrain dspam. yes, maybe alot stuff, but any feel free to help or to explain ? thanks ahead from hamburg marko -- -- *Marko Weber* | Administration *SALON DIGITAL* Media GmbH Rothenbaumchaussee 19a 20148 Hamburg T. (040) 429 48 68 - 23 F. (040) 429 48 68 - 20 [EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]> www.salondigital.de <http://www.salondigital.de> -- Geschäftsführung: Stephan Michalik, Ekkehart Opitz Registergericht: Amtsgericht Hamburg, NR: HRB 78111 NOTE: This communication is confidential and is intended for the use of the individual or entity to which it is directed. It may contain information that is privileged and exempt from disclosure under applicable law. If you are not the intended recipient please notify us immediately. You should not copy it or disclose its contents to any other person.
Re: [Dovecot] [Postfixadmin-devel] Quota not working ?
Hello Michiel, i sent 2 further mails with 4mb attachement no quota warning, mails was delivered to user. is the "multiplier" in the postfixadmin the wrong one ? or is there a setting that MUST be in main.cf of postfix ? marko Michiel van Baak schrieb: On 17:20, Thu 06 Nov 08, Marko Weber wrote: Hi Michiel, i tried your hints. but seems not to go with quota. i send an 11mb mp3 to user and after that an 6mb mp3 the quota is set in postfixadmin to 15mb, so it should send a mail that quota is reached or not ? I think it will send the email on the next mail. 11 mb != quota reached. 6mb = one email so I think it will go through. Can you test by sending yet another email now that the user is over quota? do i have to set any special on postfixadmin config ? maybe its the quota multiplier ? in the postfixadmin config for quota is this = // Default Domain Values // Specify your default values below. Quota in MB. $CONF['aliases'] = '15'; $CONF['mailboxes'] = '15'; $CONF['maxquota'] = '15'; // Quota // When you want to enforce quota for your mailbox users set this to 'YES'. $CONF['quota'] = 'YES'; // You can either use '1024000' or '1048576' $CONF['quota_multiplier'] = '1024000'; 1024 is also in the mysql db as "quota" in the quota field for the mail where i send the mp3?s any ideas ? marko Michiel van Baak schrieb: On 00:58, Wed 05 Nov 08, Marko Weber wrote: I set this in the postfixadmin config.file = // Default Domain Values // Specify your default values below. Quota in MB. $CONF['aliases'] = '15'; $CONF['mailboxes'] = '15'; $CONF['maxquota'] = '15'; // Quota // When you want to enforce quota for your mailbox users set this to 'YES'. $CONF['quota'] = 'YES'; // You can either use '1024000' or '1048576' $CONF['quota_multiplier'] = '15728640'; i gave on postfix admin backend the domain = domain settings - aliase = -1 mailbox = 12 max quota 15 i created a mailbox for this domain and set for this mailbox 15mb quota i send an 11mb mp3 to this box and get this = This is the mail system at host .de. I'm sorry to have to inform you that your message could not be delivered to one or more recipients. It's attached below. For further assistance, please send mail to postmaster. If you do so, please include this problem report. You can delete your own text from the attached returned message. The mail system <[EMAIL PROTECTED]>: message size 15075956 exceeds size limit 1024 of server xxx.de[xxx.xxx.243.37] Any ideas why i get size limit 1024 In the main postfix configuration you can set the maximum message size. As you can see, the default is 10MB per message. To remove all size limits and let the quota actually apply try setting this in your main.cf and reload postfix: mailbox_size_limit = 0 message_size_limit = 0 virtual_mailbox_limit = 0 Good luck. - This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ ___ Postfixadmin-devel mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/postfixadmin-devel
Re: [Dovecot] Install Configuring and run.
clamav TP: 1369 TN: 9765 FP: 3 FN:25 SC:10 NC: 1 dspam TP: 11092 TN: 2824 FP: 2 FN:28 SC: 9 NC: 1 root TP: 11069 TN: 2810 FP: 3 FN:40 SC:11 NC: 1 i get this on dspam_stats Thorsten marko Thorsten Vollmer schrieb: On Thu, 2008-11-06 at 17:03 +0100, Marko Weber wrote: Ok i summarized some things, maybe any1 can give a comment to it = when i restart dovecot i get this = /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/lib64/dovecot/imap WGrowing pool 'module loader' with: 2048 IModule loaded: /usr/lib64/dovecot/imap/lib90_antispam_plugin.so IEffective uid=65534, gid=65534, home= WGrowing pool 'antispam-pool' with: 2048 [ ok ] email-headers of SPAM tagged mails (spamassassin + pyzor + razor detect them as spam cause they are spam) dspam tags the mails like this = X-DSPAM RESULT Innocent X-DSPAM Confidence 0.8505 X-DSPAM Probability 0. so, Spamassassin detect them as spam and dspam not ? (to an old mail in list question , yes i trained ca 10.000 spam mails against some not spam). Did you verify that the training was successful? dspam_dump, dspam_stats because this mail would grown in endless long text i pasted the configs on web = POSTFIX main.cf = http://rafb.net/p/PQy5FN10.html POSTFIX master.cf = http://rafb.net/p/2l02A087.html DOVECOT dovecot.conf = http://rafb.net/p/PjvV1h44.html DSPAM dspam.conf = http://rafb.net/p/7O8lEf46.html I use Postfix with "virtual users & domains" dspam.debug shows this entries when i send a mail to the server = http://rafb.net/p/sbEqK070.html sorry, guys. but how do i get dspam working 100% , and how do i get this retraining working ? where i can move mails out spam into incoming and other way spam from incoming to spamfolder to retrain dspam. yes, maybe alot stuff, but any feel free to help or to explain ? thanks ahead from hamburg marko
Re: [Dovecot] Install Configuring and run.
Ok i summarized some things, maybe any1 can give a comment to it = when i restart dovecot i get this = /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/lib64/dovecot/imap WGrowing pool 'module loader' with: 2048 IModule loaded: /usr/lib64/dovecot/imap/lib90_antispam_plugin.so IEffective uid=65534, gid=65534, home= WGrowing pool 'antispam-pool' with: 2048 [ ok ] email-headers of SPAM tagged mails (spamassassin + pyzor + razor detect them as spam cause they are spam) dspam tags the mails like this = X-DSPAM RESULT Innocent X-DSPAM Confidence 0.8505 X-DSPAM Probability 0. so, Spamassassin detect them as spam and dspam not ? (to an old mail in list question , yes i trained ca 10.000 spam mails against some not spam). because this mail would grown in endless long text i pasted the configs on web = POSTFIX main.cf = http://rafb.net/p/PQy5FN10.html POSTFIX master.cf = http://rafb.net/p/2l02A087.html DOVECOT dovecot.conf = http://rafb.net/p/PjvV1h44.html DSPAM dspam.conf = http://rafb.net/p/7O8lEf46.html I use Postfix with "virtual users & domains" dspam.debug shows this entries when i send a mail to the server = http://rafb.net/p/sbEqK070.html sorry, guys. but how do i get dspam working 100% , and how do i get this retraining working ? where i can move mails out spam into incoming and other way spam from incoming to spamfolder to retrain dspam. yes, maybe alot stuff, but any feel free to help or to explain ? thanks ahead from hamburg marko Marko Weber schrieb: Hello , yes it "seems" to work. But it tags all mails as "innocent". everyone. even mails that are marked by sapmassassin , dspam marks them as "innocent". my goal is to work with dspam that it scans incoming mails and that this training via moving mails works. if i understand the dovecot-antispam right, = dspam scans mails on incoming, marks them. then via maildrop i can put them all into folder "SPAM" at example. when dspam tagged a mail as "spam" that is "not" spam., then i can move the mail from the SPAM folder into normal incoming folder. dspam then retrain the mail. also other way. if a mail comes into the normal incoming and is spam, i can then move the mail into SPAM and dspam get retrained. sorry guys, i am not all a pro, but now, i sit since 7 days on it to get it work., i am very willing get this work. so any1 can help me maybe to get this working ? i can paste all needed info u need to help me. at moment i stuck. dspam runs and marks mails, but i am sure i did some things wrong. totally wrackey marko from hamburg :-) thx Thorsten Vollmer schrieb: On Wed, 2008-11-05 at 18:39 +0100, Thorsten Vollmer wrote: 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). dovecot-antispam(7) on Gentoo 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
Re: [Dovecot] Install Configuring and run.
Hello , yes it "seems" to work. But it tags all mails as "innocent". everyone. even mails that are marked by sapmassassin , dspam marks them as "innocent". my goal is to work with dspam that it scans incoming mails and that this training via moving mails works. if i understand the dovecot-antispam right, = dspam scans mails on incoming, marks them. then via maildrop i can put them all into folder "SPAM" at example. when dspam tagged a mail as "spam" that is "not" spam., then i can move the mail from the SPAM folder into normal incoming folder. dspam then retrain the mail. also other way. if a mail comes into the normal incoming and is spam, i can then move the mail into SPAM and dspam get retrained. sorry guys, i am not all a pro, but now, i sit since 7 days on it to get it work., i am very willing get this work. so any1 can help me maybe to get this working ? i can paste all needed info u need to help me. at moment i stuck. dspam runs and marks mails, but i am sure i did some things wrong. totally wrackey marko from hamburg :-) thx Thorsten Vollmer schrieb: On Wed, 2008-11-05 at 18:39 +0100, Thorsten Vollmer wrote: 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). dovecot-antispam(7) on Gentoo 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
Re: [Dovecot] Install Configuring and run.
Thorsten Vollmer schrieb: On Wed, 2008-11-05 at 18:39 +0100, Thorsten Vollmer wrote: 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). dovecot-antispam(7) on Gentoo 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
[Dovecot] Install Configuring and run.
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
[Dovecot] how to integrate dspam with dovecot-antispam ?
Hello, i dont get dovecot-antispam working, i think ? any1 can help me, how to configure dovecot-antispam that it work together with dspam ? i have postfix / dovecot setup as virtual user / domains.. marko thanks for any hints or help. -- -- *Marko Weber* | Administration *SALON DIGITAL* Media GmbH Rothenbaumchaussee 19a 20148 Hamburg T. (040) 429 48 68 - 23 F. (040) 429 48 68 - 20 [EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]> www.salondigital.de <http://www.salondigital.de> -- Geschäftsführung: Stephan Michalik, Ekkehart Opitz Registergericht: Amtsgericht Hamburg, NR: HRB 78111 NOTE: This communication is confidential and is intended for the use of the individual or entity to which it is directed. It may contain information that is privileged and exempt from disclosure under applicable law. If you are not the intended recipient please notify us immediately. You should not copy it or disclose its contents to any other person.