Antonello Cioffi
2015-Dec-02 08:13 UTC
Dovecot doesn't sent rejection message user overquota
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
Marcus Rueckert
2015-Dec-02 14:49 UTC
Dovecot doesn't sent rejection message user overquota
On 2015-12-02 09:13:04 +0100, Antonello Cioffi wrote:> 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 DSNssmells like an error message from your smtp server. -- openSUSE - SUSE Linux is my linux openSUSE is good for you www.opensuse.org
Antonello Cioffi
2015-Dec-03 09:55 UTC
Dovecot doesn't sent rejection message user overquota
Il 02/12/2015 15:49, Marcus Rueckert ha scritto:> On 2015-12-02 09:13:04 +0100, Antonello Cioffi wrote: >> 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 > smells like an error message from your smtp server. > >I solved: it's a very very old header_checks rule in postfix configuration that I use some times ago to stop some kind of spam and i've forgive it Dec 3 10:28:19 posta2 postfix/cleanup[31760]: 3CC8611C049: reject: header Content-Type: multipart/report; report-type=delivery-status;??boundary="32191/mail.uniparthenope.it" from localhost[127.0.0.1]; from=<> to=<xxx at uniparthenope.it> proto=ESMTP helo=<mail.uniparthenope.it>: 5.7.1 no third-party DSNs thanks for your help bye -- Dott. Antonello Cioffi Ufficio Servizi Informatici Universit? degli Studi di Napoli Parthenope Tel. 081/5475292 - Fax. 081/5475180