Hallo zusammen,

über den Policy Service von Dovecot zum Abfragen der User Quotas wurde
ja schon diskutiert - auch gibt es eine gute Anleitung zum Einrichten,
nur leider bekomme ich den Policy Server nicht korrekt konfiguriert.

Folgende Fehler werden protokolliert:

May  3 22:00:13 mail postfix/smtpd[17463]: warning: access table 
unix:private/quota-status entry  has empty value
May  3 22:00:42 mail dovecot: quota-status(dan...@dlutt.de): Error: user 
dan...@dlutt.de: Error reading configuration: 
net_connect_unix(/usr/var/run/dovecot/config) failed: Permission denied

Es ist dabei so, dass nach einem Reload der Dienste die erste Mail
noch zugestellt wird, die folgende, eingehende Mail dann jedoch
abgelehnt wird. Nachfolgend die kompletten Logeinträge:

May  3 22:00:12 mail postfix/smtpd[17463]: connect from 
mail-ie0-x236.google.com[2607:f8b0:4001:c03::236]
May  3 22:00:13 mail postfix/smtpd[17463]: warning: access table 
unix:private/quota-status entry  has empty value
May  3 22:00:13 mail postfix/smtpd[17463]: 0EB81172391A: 
client=mail-ie0-x236.google.com[2607:f8b0:4001:c03::236]
May  3 22:00:13 mail postfix/cleanup[17475]: 0EB81172391A: 
message-id=<CAKrzS114MaJGND9BxYUiixMMtORmXJqTA3W13B=qar0yw_n...@mail.gmail.com>
May  3 22:00:13 mail postfix/qmgr[17429]: 0EB81172391A: 
from=<sen...@googlemail.com>, size=5409, nrcpt=1 (queue active)
May  3 22:00:13 mail postfix/smtpd[17463]: disconnect from 
mail-ie0-x236.google.com[2607:f8b0:4001:c03::236]
May  3 22:00:13 mail klms-smtp_proxy: Message from sen...@googlemail.com to 
dan...@dlutt.de passed
May  3 22:00:14 mail postfix/smtpd[17482]: connect from localhost[127.0.0.1]
May  3 22:00:14 mail postfix/smtpd[17482]: 00776172391C: 
client=localhost[127.0.0.1], 
orig_client=mail-ie0-x236.google.com[2607:f8b0:4001:c03::236]
May  3 22:00:14 mail postfix/cleanup[17475]: 00776172391C: 
message-id=<CAKrzS114MaJGND9BxYUiixMMtORmXJqTA3W13B=qar0yw_n...@mail.gmail.com>
May  3 22:00:14 mail postfix/qmgr[17429]: 00776172391C: 
from=<sen...@googlemail.com>, size=6195, nrcpt=1 (queue active)
May  3 22:00:14 mail postfix/smtpd[17482]: disconnect from localhost[127.0.0.1]
May  3 22:00:14 mail postfix/smtp[17476]: 0EB81172391A: to=<dan...@dlutt.de>, 
relay=127.0.0.1[127.0.0.1]:10025, delay=1.2, delays=0.54/0.02/0/0.65, 
dsn=2.0.0, status=sent (250 2.0.0 Ok: queued as 00776172391C)
May  3 22:00:14 mail postfix/qmgr[17429]: 0EB81172391A: removed
May  3 22:00:14 mail dovecot: lmtp(17484): Connect from local
May  3 22:00:14 mail dovecot: lmtp(17484, dan...@dlutt.de): 
dEa8BE4XhFFMRAAAG4AjPw: sieve: 
msgid=<CAKrzS114MaJGND9BxYUiixMMtORmXJqTA3W13B=qar0yw_n...@mail.gmail.com>: 
stored mail into mailbox 'INBOX'
May  3 22:00:14 mail dovecot: lmtp(17484): Disconnect from local: Successful 
quit
May  3 22:00:14 mail postfix/lmtp[17483]: 00776172391C: to=<dan...@dlutt.de>, 
relay=mail.dlutt.de[private/dovecot-lmtp], delay=0.11, 
delays=0.05/0.02/0.01/0.03, dsn=2.0.0, status=sent (250 2.0.0 <dan...@dlutt.de> 
dEa8BE4XhFFMRAAAG4AjPw Saved)
May  3 22:00:14 mail postfix/qmgr[17429]: 00776172391C: removed
May  3 22:00:36 mail postfix/postscreen[17433]: CONNECT from 
[2607:f8b0:4001:c03::230]:43653 to [2a00:1828:2000:206::2]:25
May  3 22:00:42 mail postfix/postscreen[17433]: PASS NEW 
[2607:f8b0:4001:c03::230]:43653
May  3 22:00:42 mail postfix/smtpd[17463]: connect from 
mail-ie0-x230.google.com[2607:f8b0:4001:c03::230]
May  3 22:00:42 mail dovecot: quota-status(dan...@dlutt.de): Error: user 
dan...@dlutt.de: Error reading configuration: 
net_connect_unix(/usr/var/run/dovecot/config) failed: Permission denied
May  3 22:00:42 mail postfix/smtpd[17463]: NOQUEUE: reject: RCPT from 
mail-ie0-x230.google.com[2607:f8b0:4001:c03::230]: 450 4.7.1 <dan...@dlutt.de>: 
Recipient address rejected: Internal error occurred. Refer to server log for 
more information.; from=<absen...@googlemail.com> to=<dan...@dlutt.de> 
proto=ESMTP helo=<mail-ie0-x230.google.com>
May  3 22:00:42 mail postfix/smtpd[17463]: disconnect from 
mail-ie0-x230.google.com[2607:f8b0:4001:c03::230]
May  3 22:00:53 mail postfix/postfix-script[17560]: stopping the Postfix mail 
system
May  3 22:00:53 mail postfix/master[17425]: terminating on signal 15
May  3 22:02:51 mail dovecot: master: Warning: Killed with signal 15 (by 
pid=17681 uid=0 code=kill)


Das Problem tritt mit dem unix_listener, aber auch mit dem
inet_listener auf - beide Male beschwert sich Dovecot über den Zugriff
auf den Service "config". Ich habe auch mal versucht, die
Berechtigungen für den Service "config" auf World-Readable zu setzen,
leider hat dies auch nicht geklappt, wobei ich nicht weiß, ob dieser
unbedingt mit dem Problem etwas zu tun hat.

Auch beim Debug-Logging sind leider nicht mehr Infos zum Fehler zu
finden.

Zum Einsatz kommt aktuell Postfix 2.10.0 und Dovecot 2.2.1.

Die Dovecot Quota Konfiguration sieht so aus, wie bei sys4
beschrieben:

service quota-status {
 executable = quota-status -p postfix
 unix_listener /var/spool/postfix/private/quota-status {
 group = postfix
 mode = 0660
 user = postfix
 }
 client_limit = 1
}

Mittlerweile habe ich schon einige Optionen und Berechtigungen
ausprobiert, aber der Fehler bleibt leider der gleiche.

Hat vielleicht jemand noch einen Tip?

Danke schon mal.

--
Daniel

Reply via email to