Hi,
sorry. Let me sum up all required info:

My problem: 
============
I installed the Optional Amavisd Support following the guide on 
http://wiki.policyd.org/installing.
I wanted to test if the new features are working by creating a very simple rule 
to 'BCC' all in- and outgoing mails. 
But it's not working.


How did I patch:
================
I did patch the "/usr/sbin/amavisd-new" with 
"amavisd-new-2.6.4_policyd-201003290852.patch".
The result was:
Hunk #1 succeeded at 8506 (offset 50 lines).
Hunk #2 succeeded at 10405 (offset 51 lines).

"amavisd-new" (new size:1171376) and  
"amavisd-new.orig" (size 1170798)

In 'amavisd-policyd.pm' I do have the following database configuration:
-------------------amavisd-policyd.pm-----------------
...
my $DB_dsn = "DBI:mysql:database=policyd;host=localhost";
my $DB_user = "amavisuser";
my $DB_pass = "**********";
my $DB_prefix = "";
...
-----------------------------------------------------



My new Amavis related rules in cluebringer look like this:
===========================================================
"Amavis Rule"(Disabled:no):
---------------------------------------------------
Link to policy: "Default"
BCC To: "anymail at any.de"
---------------------------------------------------

Policy "Default" (Disabled:no)

Policy "Default" - Members (Disabled:no):
---------------------------------------------------
Source: any
Destination: any
---------------------------------------------------
Following the logic of this rule set I should receive a BCC-mail for every out- 
and incomming mail.
But it is not working. All other policyd rules (e.g. quotas) are working. 


My logfiles when I do send an outgoing mail:
=============================================
--------------/var/log/cbpolicyd/cbpolicyd.log---on 
log_level=4----------------------
[2013/11/07-18:25:14 - 2123] [CORE] NOTICE: Process Backgrounded
[2013/11/07-18:25:14 - 2123] [CBPOLICYD] NOTICE: Policyd v2 / Cluebringer - 
v2.1.x-201310261831
[2013/11/07-18:25:14 - 2123] [CBPOLICYD] NOTICE: Initializing system modules.
[2013/11/07-18:25:14 - 2123] [CBPOLICYD] NOTICE: System modules initialized.
[2013/11/07-18:25:14 - 2123] [CBPOLICYD] NOTICE: Module load started...
[2013/11/07-18:25:14 - 2123] [CORE] NOTICE:   => AccessControl: enabled
[2013/11/07-18:25:14 - 2123] [CORE] NOTICE:   => Accounting: enabled
[2013/11/07-18:25:14 - 2123] [CORE] NOTICE:   => Amavis: disabled
[2013/11/07-18:25:14 - 2123] [CORE] NOTICE:   => CheckHelo: enabled
[2013/11/07-18:25:14 - 2123] [CORE] NOTICE:   => CheckSPF: enabled
[2013/11/07-18:25:14 - 2123] [CORE] NOTICE:   => Greylisting: enabled
[2013/11/07-18:25:14 - 2123] [CORE] NOTICE:   => Quotas: enabled
[2013/11/07-18:25:14 - 2123] [CORE] NOTICE:   => Protocol(Postfix): enabled
[2013/11/07-18:25:14 - 2123] [CORE] NOTICE:   => Protocol(Bizanga): enabled
[2013/11/07-18:25:14 - 2123] [CBPOLICYD] NOTICE: Module load done.
[2013/11/07-18:25:14 - 2123] [CBPOLICYD] NOTICE: Session tracking is ENABLED.
[2013/11/07-18:25:14 - 2123] [CBPOLICYD] DEBUG: Opening syslog, destination = 
'native', facility = 'ARRAY(0x15bb038)'.
[2013/11/07-18:25:14 - 2123] [CORE] NOTICE: 2013/11/07-18:25:14 cbp (type 
Net::Server::PreFork) starting! pid(2123)
[2013/11/07-18:25:14 - 2123] [CORE] NOTICE: Resolved [*]:10031 to [::]:10031, 
IPv6
[2013/11/07-18:25:14 - 2123] [CORE] NOTICE: Not including resolved host 
[0.0.0.0] IPv4 because it will be handled by [::] IPv6
[2013/11/07-18:25:14 - 2123] [CORE] NOTICE: Binding to TCP port 10031 on host 
:: with IPv6
[2013/11/07-18:25:14 - 2123] [CORE] INFO: Setting up serialization via flock
[2013/11/07-18:25:14 - 2123] [CORE] INFO: Beginning prefork (4 processes)
[2013/11/07-18:25:14 - 2123] [CORE] INFO: Starting "4" children
[2013/11/07-18:25:14 - 2123] [CORE] DEBUG: Parent ready for children.
[2013/11/07-18:25:14 - 2168] [CORE] DEBUG: Child Preforked (2168)
[2013/11/07-18:25:14 - 2168] [CBPOLICYD] DEBUG: Starting up caching engine
[2013/11/07-18:25:14 - 2169] [CORE] DEBUG: Child Preforked (2169)
[2013/11/07-18:25:14 - 2169] [CBPOLICYD] DEBUG: Starting up caching engine
[2013/11/07-18:25:14 - 2170] [CORE] DEBUG: Child Preforked (2170)
[2013/11/07-18:25:14 - 2170] [CBPOLICYD] DEBUG: Starting up caching engine
[2013/11/07-18:25:14 - 2171] [CORE] DEBUG: Child Preforked (2171)
[2013/11/07-18:25:14 - 2171] [CBPOLICYD] DEBUG: Starting up caching engine
[2013/11/07-18:36:45 - 2171] [CORE] INFO: 2013/11/07-18:36:45 CONNECT TCP Peer: 
"[::ffff:127.0.0.1]:51105" Local: "[::ffff:127.0.0.1]:10031"
[2013/11/07-18:36:45 - 2123] [CORE] INFO: Starting "1" children
[2013/11/07-18:36:45 - 2278] [CORE] DEBUG: Child Preforked (2278)
[2013/11/07-18:36:45 - 2278] [CBPOLICYD] DEBUG: Starting up caching engine
[2013/11/07-18:36:45 - 2171] [CBPOLICYD] INFO: Got request #1
[2013/11/07-18:36:45 - 2171] [CBPOLICYD] INFO: Got request #2 (pipelined)
[2013/11/07-18:36:47 - 2123] [CORE] INFO: Starting "1" children
[2013/11/07-18:36:47 - 2169] [CORE] INFO: 2013/11/07-18:36:47 CONNECT TCP Peer: 
"[::ffff:127.0.0.1]:51120" Local: "[::ffff:127.0.0.1]:10031"
[2013/11/07-18:36:47 - 2309] [CORE] DEBUG: Child Preforked (2309)
[2013/11/07-18:36:47 - 2309] [CBPOLICYD] DEBUG: Starting up caching engine
[2013/11/07-18:36:47 - 2169] [CBPOLICYD] INFO: Got request #1

--------------------------------------------------------------------------------------
?Amavis support seems to be disabled?


-------------/var/log/mail.log---------------------------------------------------------
Nov  7 17:54:44 server1 dovecot: imap: Debug: Module loaded: 
/usr/lib/dovecot/modules/lib11_imap_quota_plugin.so
Nov  7 17:54:44 server1 dovecot: imap: Debug: Added userdb setting: 
mail=maildir:/var/vmail/anydomain.de/steffen.wegner
Nov  7 17:54:44 server1 dovecot: imap: Debug: Added userdb setting: 
plugin/quota_rule=*:bytes=1048576000
Nov  7 17:54:44 server1 dovecot: imap([email protected]): Debug: 
Effective uid=150, gid=8, home=/var/vmail/anydomain.de/steffen.wegner
Nov  7 17:54:44 server1 dovecot: imap([email protected]): Debug: 
Quota root: name=User quota backend=dict args=:proxy::sqluserquota
Nov  7 17:54:44 server1 dovecot: imap([email protected]): Debug: 
Quota rule: root=User quota mailbox=* bytes=1048576000 messages=0
Nov  7 17:54:44 server1 dovecot: imap([email protected]): Debug: 
Quota rule: root=User quota mailbox=Trash bytes=+104857600 (10%) messages=0
Nov  7 17:54:44 server1 dovecot: imap([email protected]): Debug: dict 
quota: [email protected], uri=proxy::sqluserquota, noenforcing=0
Nov  7 17:54:44 server1 dovecot: imap([email protected]): Debug: 
maildir++: root=/var/vmail/anydomain.de/steffen.wegner, index=, control=, 
inbox=/var/vmail/anydomain.de/steffen.wegner, alt=
Nov  7 17:54:44 server1 dovecot: imap([email protected]): 
Disconnected: Logged out bytes=44/435
Nov  7 17:55:38 server1 dovecot: auth: Debug: auth client connected (pid=4704)
Nov  7 17:55:38 server1 dovecot: auth: Debug: client in: 
AUTH#0111#011PLAIN#011service=imap#011secured#011lip=127.0.0.1#011rip=127.0.0.1#011lport=143#011rport=50593#011resp=c3RlZmFuLndhZ25lckBwb3N0aXZhLmRlAHN0ZWZhbi53YWduZXJAcG9zdGl2YS5kZQBsa2FtMjAwMA==
Nov  7 17:55:38 server1 dovecot: auth-worker: Debug: 
sql([email protected],127.0.0.1): query: SELECT username as user, 
password, '/var/vmail/anydomain.de/steffen.wegner' as userdb_home, 
'maildir:/var/vmail/anydomain.de/steffen.wegner' as userdb_mail, 150 as 
userdb_uid, 8 as userdb_gid FROM mailbox WHERE username = 
'[email protected]' AND active = '1'
Nov  7 17:55:38 server1 dovecot: auth: Debug: client out: 
OK#0111#[email protected]
Nov  7 17:55:38 server1 dovecot: auth: Debug: master in: 
REQUEST#0113763470337#0114704#0111#0119841bbb348b66a2388952384a2c12794
Nov  7 17:55:38 server1 dovecot: auth-worker: Debug: 
sql([email protected],127.0.0.1): SELECT 
'/var/vmail/anydomain.de/steffen.wegner' as home, 
'maildir:/var/vmail/anydomain.de/steffen.wegner' as mail, CONCAT('*:bytes=', 
IF(mailbox.quota = 0, domain.maxquota*1024000, mailbox.quota)) as quota_rule 
FROM mailbox, domain WHERE username = '[email protected]' AND 
mailbox.active = '1' AND domain.domain = 'anydomain.de' AND domain.active = '1'
Nov  7 17:55:38 server1 dovecot: auth: Debug: master out: 
USER#0113763470337#[email protected]#011home=/var/vmail/anydomain.de/steffen.wegner#011mail=maildir:/var/vmail/anydomain.de/steffen.wegner#011quota_rule=*:bytes=1048576000
Nov  7 17:55:38 server1 dovecot: imap-login: Login: 
user=<[email protected]>, method=PLAIN, rip=127.0.0.1, lip=127.0.0.1, 
mpid=4705, secured
Nov  7 17:55:38 server1 dovecot: imap: Debug: Loading modules from directory: 
/usr/lib/dovecot/modules
Nov  7 17:55:38 server1 dovecot: imap: Debug: Module loaded: 
/usr/lib/dovecot/modules/lib10_quota_plugin.so
Nov  7 17:55:38 server1 dovecot: imap: Debug: Module loaded: 
/usr/lib/dovecot/modules/lib11_imap_quota_plugin.so
Nov  7 17:55:38 server1 dovecot: imap: Debug: Added userdb setting: 
mail=maildir:/var/vmail/anydomain.de/steffen.wegner
Nov  7 17:55:38 server1 dovecot: imap: Debug: Added userdb setting: 
plugin/quota_rule=*:bytes=1048576000
Nov  7 17:55:38 server1 dovecot: imap([email protected]): Debug: 
Effective uid=150, gid=8, home=/var/vmail/anydomain.de/steffen.wegner
Nov  7 17:55:38 server1 dovecot: imap([email protected]): Debug: 
Quota root: name=User quota backend=dict args=:proxy::sqluserquota
Nov  7 17:55:38 server1 dovecot: imap([email protected]): Debug: 
Quota rule: root=User quota mailbox=* bytes=1048576000 messages=0
Nov  7 17:55:38 server1 dovecot: imap([email protected]): Debug: 
Quota rule: root=User quota mailbox=Trash bytes=+104857600 (10%) messages=0
Nov  7 17:55:38 server1 dovecot: imap([email protected]): Debug: dict 
quota: [email protected], uri=proxy::sqluserquota, noenforcing=0
Nov  7 17:55:38 server1 dovecot: imap([email protected]): Debug: 
maildir++: root=/var/vmail/anydomain.de/steffen.wegner, index=, control=, 
inbox=/var/vmail/anydomain.de/steffen.wegner, alt=
Nov  7 17:55:39 server1 postfix/smtps/smtpd[4706]: warning: dict_nis_init: NIS 
domain name not set - NIS lookups disabled
Nov  7 17:55:39 server1 postfix/smtps/smtpd[4706]: connect from 
server1.anydomain.de[195.30.107.16]
Nov  7 17:55:39 server1 postfix/smtps/smtpd[4706]: Anonymous TLS connection 
established from server1.anydomain.de[195.30.107.16]: TLSv1.1 with cipher 
ECDHE-RSA-AES256-SHA (256/256 bits)
Nov  7 17:55:39 server1 dovecot: auth: Debug: auth client connected (pid=4706)
Nov  7 17:55:39 server1 dovecot: auth: Debug: client in: 
AUTH#0111#011PLAIN#011service=smtp#011nologin#011lip=195.30.107.16#011rip=195.30.107.16#011secured
Nov  7 17:55:39 server1 dovecot: auth: Debug: client out: CONT#0111#011
Nov  7 17:55:39 server1 dovecot: auth: Debug: client in: 
CONT#0111#011AHN0ZWZhbi53YWduZXJAcG9zdGl2YS5kZQBsa2FtMjAwMA==
Nov  7 17:55:39 server1 dovecot: auth-worker: Debug: 
sql([email protected],195.30.107.16): query: SELECT username as user, 
password, '/var/vmail/anydomain.de/steffen.wegner' as userdb_home, 
'maildir:/var/vmail/anydomain.de/steffen.wegner' as userdb_mail, 150 as 
userdb_uid, 8 as userdb_gid FROM mailbox WHERE username = 
'[email protected]' AND active = '1'
Nov  7 17:55:39 server1 dovecot: auth: Debug: client out: 
OK#0111#[email protected]
Nov  7 17:55:39 server1 postfix/smtps/smtpd[4706]: 21F2C340073: 
client=server1.anydomain.de[195.30.107.16], sasl_method=PLAIN, 
[email protected]
Nov  7 17:55:39 server1 postfix/cleanup[4714]: 21F2C340073: 
message-id=<[email protected]>
Nov  7 17:55:39 server1 postfix/qmgr[1925]: 21F2C340073: 
from=<[email protected]>, size=350, nrcpt=1 (queue active)
Nov  7 17:55:39 server1 dovecot: dict: mysql(localhost): Connected to database 
mail
Nov  7 17:55:39 server1 amavis[2316]: (02316-02) NOTICE: reconnecting in 
response to: err=2006, HY000, DBD::mysql::st execute failed: MySQL server has 
gone away at (eval 101) line 166, <GEN54> line 5.
Nov  7 17:55:39 server1 amavis[2316]: (02316-02) (!)policyd/process_policy: 
Failed to parse in queue id from received line ''
Nov  7 17:55:39 server1 postfix/smtps/smtpd[4706]: disconnect from 
server1.anydomain.de[195.30.107.16]
Nov  7 17:55:39 server1 dovecot: imap([email protected]): 
Disconnected: Logged out bytes=471/507
Nov  7 17:55:40 server1 dovecot: auth: Debug: auth client connected (pid=4727)
Nov  7 17:55:40 server1 dovecot: auth: Debug: client in: 
AUTH#0111#011PLAIN#011service=imap#011secured#011lip=127.0.0.1#011rip=127.0.0.1#011lport=143#011rport=50606#011resp=c3RlZmFuLndhZ25lckBwb3N0aXZhLmRlAHN0ZWZhbi53YWduZXJAcG9zdGl2YS5kZQBsa2FtMjAwMA==
Nov  7 17:55:40 server1 dovecot: auth-worker: Debug: 
sql([email protected],127.0.0.1): query: SELECT username as user, 
password, '/var/vmail/anydomain.de/steffen.wegner' as userdb_home, 
'maildir:/var/vmail/anydomain.de/steffen.wegner' as userdb_mail, 150 as 
userdb_uid, 8 as userdb_gid FROM mailbox WHERE username = 
'[email protected]' AND active = '1'
Nov  7 17:55:40 server1 dovecot: auth: Debug: client out: 
OK#0111#[email protected]
Nov  7 17:55:40 server1 dovecot: auth: Debug: master in: 
REQUEST#0111591345153#0114727#0111#011e5d3eb7f3769e9e70c824ca1d537ef85
Nov  7 17:55:40 server1 dovecot: auth-worker: Debug: 
sql([email protected],127.0.0.1): SELECT 
'/var/vmail/anydomain.de/steffen.wegner' as home, 
'maildir:/var/vmail/anydomain.de/steffen.wegner' as mail, CONCAT('*:bytes=', 
IF(mailbox.quota = 0, domain.maxquota*1024000, mailbox.quota)) as quota_rule 
FROM mailbox, domain WHERE username = '[email protected]' AND 
mailbox.active = '1' AND domain.domain = 'anydomain.de' AND domain.active = '1'
Nov  7 17:55:40 server1 dovecot: auth: Debug: master out: 
USER#0111591345153#[email protected]#011home=/var/vmail/anydomain.de/steffen.wegner#011mail=maildir:/var/vmail/anydomain.de/steffen.wegner#011quota_rule=*:bytes=1048576000
Nov  7 17:55:40 server1 dovecot: imap-login: Login: 
user=<[email protected]>, method=PLAIN, rip=127.0.0.1, lip=127.0.0.1, 
mpid=4728, secured
Nov  7 17:55:40 server1 dovecot: imap: Debug: Loading modules from directory: 
/usr/lib/dovecot/modules
Nov  7 17:55:40 server1 dovecot: imap: Debug: Module loaded: 
/usr/lib/dovecot/modules/lib10_quota_plugin.so
Nov  7 17:55:40 server1 dovecot: imap: Debug: Module loaded: 
/usr/lib/dovecot/modules/lib11_imap_quota_plugin.so
Nov  7 17:55:40 server1 dovecot: imap: Debug: Added userdb setting: 
mail=maildir:/var/vmail/anydomain.de/steffen.wegner
Nov  7 17:55:40 server1 dovecot: imap: Debug: Added userdb setting: 
plugin/quota_rule=*:bytes=1048576000
Nov  7 17:55:40 server1 dovecot: imap([email protected]): Debug: 
Effective uid=150, gid=8, home=/var/vmail/anydomain.de/steffen.wegner
Nov  7 17:55:40 server1 dovecot: imap([email protected]): Debug: 
Quota root: name=User quota backend=dict args=:proxy::sqluserquota
Nov  7 17:55:40 server1 dovecot: imap([email protected]): Debug: 
Quota rule: root=User quota mailbox=* bytes=1048576000 messages=0
Nov  7 17:55:40 server1 dovecot: imap([email protected]): Debug: 
Quota rule: root=User quota mailbox=Trash bytes=+104857600 (10%) messages=0
Nov  7 17:55:40 server1 dovecot: imap([email protected]): Debug: dict 
quota: [email protected], uri=proxy::sqluserquota, noenforcing=0
Nov  7 17:55:40 server1 dovecot: imap([email protected]): Debug: 
maildir++: root=/var/vmail/anydomain.de/steffen.wegner, index=, control=, 
inbox=/var/vmail/anydomain.de/steffen.wegner, alt=
Nov  7 17:55:40 server1 dovecot: dict: mysql(localhost): Connected to database 
mail
Nov  7 17:55:40 server1 dovecot: imap([email protected]): 
Disconnected: Logged out bytes=70/547
Nov  7 17:55:40 server1 dovecot: auth: Debug: auth client connected (pid=4731)
Nov  7 17:55:40 server1 dovecot: auth: Debug: client in: 
AUTH#0111#011PLAIN#011service=imap#011secured#011lip=127.0.0.1#011rip=127.0.0.1#011lport=143#011rport=50607#011resp=c3RlZmFuLndhZ25lckBwb3N0aXZhLmRlAHN0ZWZhbi53YWduZXJAcG9zdGl2YS5kZQBsa2FtMjAwMA==
Nov  7 17:55:40 server1 dovecot: auth-worker: Debug: 
sql([email protected],127.0.0.1): query: SELECT username as user, 
password, '/var/vmail/anydomain.de/steffen.wegner' as userdb_home, 
'maildir:/var/vmail/anydomain.de/steffen.wegner' as userdb_mail, 150 as 
userdb_uid, 8 as userdb_gid FROM mailbox WHERE username = 
'[email protected]' AND active = '1'
Nov  7 17:55:40 server1 dovecot: auth: Debug: client out: 
OK#0111#[email protected]
Nov  7 17:55:40 server1 dovecot: auth: Debug: master in: 
REQUEST#0112376073217#0114731#0111#0119340e63aef2f8442b2ad35b0d207dc77
Nov  7 17:55:40 server1 dovecot: auth-worker: Debug: 
sql([email protected],127.0.0.1): SELECT 
'/var/vmail/anydomain.de/steffen.wegner' as home, 
'maildir:/var/vmail/anydomain.de/steffen.wegner' as mail, CONCAT('*:bytes=', 
IF(mailbox.quota = 0, domain.maxquota*1024000, mailbox.quota)) as quota_rule 
FROM mailbox, domain WHERE username = '[email protected]' AND 
mailbox.active = '1' AND domain.domain = 'anydomain.de' AND domain.active = '1'
Nov  7 17:55:40 server1 dovecot: auth: Debug: master out: 
USER#0112376073217#[email protected]#011home=/var/vmail/anydomain.de/steffen.wegner#011mail=maildir:/var/vmail/anydomain.de/steffen.wegner#011quota_rule=*:bytes=1048576000
Nov  7 17:55:40 server1 dovecot: imap-login: Login: 
user=<[email protected]>, method=PLAIN, rip=127.0.0.1, lip=127.0.0.1, 
mpid=4732, secured
Nov  7 17:55:40 server1 dovecot: imap: Debug: Loading modules from directory: 
/usr/lib/dovecot/modules
Nov  7 17:55:40 server1 dovecot: imap: Debug: Module loaded: 
/usr/lib/dovecot/modules/lib10_quota_plugin.so
Nov  7 17:55:40 server1 dovecot: imap: Debug: Module loaded: 
/usr/lib/dovecot/modules/lib11_imap_quota_plugin.so
Nov  7 17:55:40 server1 dovecot: imap: Debug: Added userdb setting: 
mail=maildir:/var/vmail/anydomain.de/steffen.wegner
Nov  7 17:55:40 server1 dovecot: imap: Debug: Added userdb setting: 
plugin/quota_rule=*:bytes=1048576000
Nov  7 17:55:40 server1 dovecot: imap([email protected]): Debug: 
Effective uid=150, gid=8, home=/var/vmail/anydomain.de/steffen.wegner
Nov  7 17:55:40 server1 dovecot: imap([email protected]): Debug: 
Quota root: name=User quota backend=dict args=:proxy::sqluserquota
Nov  7 17:55:40 server1 dovecot: imap([email protected]): Debug: 
Quota rule: root=User quota mailbox=* bytes=1048576000 messages=0
Nov  7 17:55:40 server1 dovecot: imap([email protected]): Debug: 
Quota rule: root=User quota mailbox=Trash bytes=+104857600 (10%) messages=0
Nov  7 17:55:40 server1 dovecot: imap([email protected]): Debug: dict 
quota: [email protected], uri=proxy::sqluserquota, noenforcing=0
Nov  7 17:55:40 server1 dovecot: imap([email protected]): Debug: 
maildir++: root=/var/vmail/anydomain.de/steffen.wegner, index=, control=, 
inbox=/var/vmail/anydomain.de/steffen.wegner, alt=
Nov  7 17:55:40 server1 dovecot: imap([email protected]): 
Disconnected: Logged out bytes=270/17844
Nov  7 17:55:40 server1 dovecot: auth: Debug: auth client connected (pid=4733)
Nov  7 17:55:40 server1 dovecot: auth: Debug: client in: 
AUTH#0111#011PLAIN#011service=imap#011secured#011lip=127.0.0.1#011rip=127.0.0.1#011lport=143#011rport=50609#011resp=c3RlZmFuLndhZ25lckBwb3N0aXZhLmRlAHN0ZWZhbi53YWduZXJAcG9zdGl2YS5kZQBsa2FtMjAwMA==
Nov  7 17:55:40 server1 dovecot: auth-worker: Debug: 
sql([email protected],127.0.0.1): query: SELECT username as user, 
password, '/var/vmail/anydomain.de/steffen.wegner' as userdb_home, 
'maildir:/var/vmail/anydomain.de/steffen.wegner' as userdb_mail, 150 as 
userdb_uid, 8 as userdb_gid FROM mailbox WHERE username = 
'[email protected]' AND active = '1'
Nov  7 17:55:40 server1 dovecot: auth: Debug: client out: 
OK#0111#[email protected]
Nov  7 17:55:40 server1 dovecot: auth: Debug: master in: 
REQUEST#0113510370305#0114733#0111#011652b8a414d270ebda80e6ab114988044
Nov  7 17:55:40 server1 dovecot: auth-worker: Debug: 
sql([email protected],127.0.0.1): SELECT 
'/var/vmail/anydomain.de/steffen.wegner' as home, 
'maildir:/var/vmail/anydomain.de/steffen.wegner' as mail, CONCAT('*:bytes=', 
IF(mailbox.quota = 0, domain.maxquota*1024000, mailbox.quota)) as quota_rule 
FROM mailbox, domain WHERE username = '[email protected]' AND 
mailbox.active = '1' AND domain.domain = 'anydomain.de' AND domain.active = '1'
Nov  7 17:55:40 server1 dovecot: auth: Debug: master out: 
USER#0113510370305#[email protected]#011home=/var/vmail/anydomain.de/steffen.wegner#011mail=maildir:/var/vmail/anydomain.de/steffen.wegner#011quota_rule=*:bytes=1048576000
Nov  7 17:55:40 server1 dovecot: imap-login: Login: 
user=<[email protected]>, method=PLAIN, rip=127.0.0.1, lip=127.0.0.1, 
mpid=4734, secured
Nov  7 17:55:40 server1 dovecot: imap: Debug: Loading modules from directory: 
/usr/lib/dovecot/modules
Nov  7 17:55:40 server1 dovecot: imap: Debug: Module loaded: 
/usr/lib/dovecot/modules/lib10_quota_plugin.so
Nov  7 17:55:40 server1 dovecot: imap: Debug: Module loaded: 
/usr/lib/dovecot/modules/lib11_imap_quota_plugin.so
Nov  7 17:55:40 server1 dovecot: imap: Debug: Added userdb setting: 
mail=maildir:/var/vmail/anydomain.de/steffen.wegner
Nov  7 17:55:40 server1 dovecot: imap: Debug: Added userdb setting: 
plugin/quota_rule=*:bytes=1048576000
Nov  7 17:55:40 server1 dovecot: imap([email protected]): Debug: 
Effective uid=150, gid=8, home=/var/vmail/anydomain.de/steffen.wegner
Nov  7 17:55:40 server1 dovecot: imap([email protected]): Debug: 
Quota root: name=User quota backend=dict args=:proxy::sqluserquota
Nov  7 17:55:40 server1 dovecot: imap([email protected]): Debug: 
Quota rule: root=User quota mailbox=* bytes=1048576000 messages=0
Nov  7 17:55:40 server1 dovecot: imap([email protected]): Debug: 
Quota rule: root=User quota mailbox=Trash bytes=+104857600 (10%) messages=0
Nov  7 17:55:40 server1 dovecot: imap([email protected]): Debug: dict 
quota: [email protected], uri=proxy::sqluserquota, noenforcing=0
Nov  7 17:55:40 server1 dovecot: imap([email protected]): Debug: 
maildir++: root=/var/vmail/anydomain.de/steffen.wegner, index=, control=, 
inbox=/var/vmail/anydomain.de/steffen.wegner, alt=
Nov  7 17:55:40 server1 dovecot: imap([email protected]): 
Disconnected: Logged out bytes=157/641
Nov  7 17:55:40 server1 postfix/smtpd[4736]: connect from localhost[127.0.0.1]
Nov  7 17:55:40 server1 dovecot: auth: Debug: auth client connected (pid=4736)
Nov  7 17:55:40 server1 postfix/smtpd[4736]: F2497340077: 
client=localhost[127.0.0.1]
Nov  7 17:55:41 server1 postfix/cleanup[4714]: F2497340077: 
message-id=<[email protected]>
Nov  7 17:55:41 server1 postfix/qmgr[1925]: F2497340077: 
from=<[email protected]>, size=789, nrcpt=1 (queue active)
Nov  7 17:55:41 server1 postfix/smtpd[4736]: disconnect from 
localhost[127.0.0.1]
Nov  7 17:55:41 server1 amavis[2316]: (02316-02) Passed CLEAN, [195.30.107.16] 
<[email protected]> -> <[email protected]>, Message-ID: 
<[email protected]>, mail_id: qb7UqSEgXgZc, Hits: 
0.997, size: 350, queued_as: F2497340077, 1712 ms
Nov  7 17:55:41 server1 postfix/smtp[4718]: 21F2C340073: 
to=<[email protected]>, relay=127.0.0.1[127.0.0.1]:10024, delay=2, 
delays=0.22/0.02/0/1.7, dsn=2.0.0, status=sent (250 2.0.0 from 
MTA([127.0.0.1]:10025): 250 2.0.0 Ok: queued as F2497340077)
Nov  7 17:55:41 server1 postfix/qmgr[1925]: 21F2C340073: removed
Nov  7 17:55:41 server1 postfix/smtp[4738]: F2497340077: 
to=<[email protected]>, relay=mx-ha02.web.de[213.165.67.120]:25, 
delay=0.43, delays=0.01/0.03/0.2/0.19, dsn=2.0.0, status=sent (250 Requested 
mail action okay, completed: id=0MX21A-1VAkHZ1Bx6-00VwxK)
Nov  7 17:55:41 server1 postfix/qmgr[1925]: F2497340077: removed
--------------------------------------------------------------------------------------------------------


Thanks for help
Steffen

_______________________________________________
Users mailing list
[email protected]
http://lists.policyd.org/mailman/listinfo/users_lists.policyd.org

Reply via email to