Dovecot doesn't sent rejection message user overquota

Antonello Cioffi antonello.cioffi at uniparthenope.it
Wed Dec 2 08:13:04 UTC 2015


Il 01/12/2015 16:19, Timo Sirainen ha scritto:
> On 01 Dec 2015, at 17:10, Antonello Cioffi <antonello.cioffi at uniparthenope.it> wrote:
>> Hi
>>
>> I'm using postfix+dovecot (2.2.18).
>>
>> The problem is that dovecot silently discard message when user has its own mailbox full without sending rejection message to the sender.
>>
>> Here a sample log:
>>
>> Dec  1 14:54:23 posta2 postfix/smtp[21478]: B315111C00B: to=<antonen at uniparthenope.it>, relay=192.168.241.110[192.168.241.110]:25, delay=0.4, delays=0.2/0/0/0.2, dsn=2.0.0, status=sent (250 2.0.0 Ok: queued as C27BF1244DD)
>> Dec  1 14:54:23 posta2 dovecot: lda(antonen): Error: sieve: msgid=<565DA68E.8060308 at uniparthenope.it>: failed to store into mailbox 'INBOX': Quota exceeded (mailbox for user is full)
>> Dec  1 14:54:23 posta2 dovecot: lda(antonen): sieve: Execution of script /usr/local/etc/dovecot/sieve/default.sieve failed with unsuccessful implicit keep
>> Dec  1 14:54:23 posta2 dovecot: lda(antonen): msgid=<565DA68E.8060308 at uniparthenope.it>: rejected: Quota exceeded (mailbox for user is full)
>> Dec  1 14:54:23 posta2 postfix/pipe[21020]: 111FB11C00B: to=<antonen at uniparthenope.it>, relay=dovecot, delay=0.14, delays=0.05/0.01/0/0.09, dsn=2.0.0, status=sent (delivered via dovecot service)
> Dovecot should have sent a bounce message at that time. I guess that doesn't work for some reason. By default Dovecot uses:
>
> sendmail_path = /usr/sbin/sendmail
>
> Also you can instead have it send it via SMTP by setting submission_host setting. And finally if you give -e parameter to dovecot-lda, it won't send a bounce itself but instead will exit with 77 causing Postfix to send the bounce.
>
Hi

I don't set -e parameter.

Now I set "submission_host = mail.uniparthenope.it" to use smtp instead 
of sendmail_path and the result is now:

Dec  2 08:58:49 posta2 dovecot: lda(antonen): 
msgid=<565EA4B9.1020009 at uniparthenope.it>: Permanently failed to send 
rejection: smtp(mail.uniparthenope.it): DATA failed: 550 5.7.1 no 
third-party DSNs

Regards

-- 
Dott. Antonello Cioffi
Ufficio Servizi Informatici
Università degli Studi di Napoli Parthenope
Tel. 081/5475292 - Fax. 081/5475180



More information about the dovecot mailing list