On 01 Dec 2015, at 17:10, Antonello Cioffi <antonello.cio...@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=<anto...@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.8060...@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.8060...@uniparthenope.it>: rejected: Quota exceeded (mailbox 
> for user is full)
> Dec  1 14:54:23 posta2 postfix/pipe[21020]: 111FB11C00B: 
> to=<anto...@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.

Reply via email to