Here you see my problem, i have enabled 'local'´s verbose mode in the
master.cf

postfix/local[28092]: queue_name: active
 postfix/local[28092]: queue_id: 1290D2F001C3
 postfix/local[28092]: offset: 829
 postfix/local[28092]: sender: <sender: E-Mail-Adress>
 postfix/local[28092]: recipient: <recipient: local Username @
MyMailserver.com>
 postfix/local[28092]: domain: <myMailServer.com>
 postfix/local[28092]: local: <recipient: local Username>
 postfix/local[28092]: user: <recipient: local Username>
 postfix/local[28092]: extension: null
 postfix/local[28092]: unmatched: null
 postfix/local[28092]: owner: null
 postfix/local[28092]: delivered: <recipient: local Username @
MyMailserver.com>
 postfix/local[28092]: relay: local
 postfix/local[28092]: exp_type: 0
 postfix/local[28092]: exp_from: null
 postfix/local[28092]: why: buffer
 postfix/local[28092]: deliver_switch[2]: local <recipient local Username>
recip <recipient: local Username @ MyMailserver.com> exten  deliver
<recipient: local Username @ MyMailserver.com> exp_from
 postfix/local[28092]: deliver_alias[3]: local <recipient local Username>
recip <recipient: local Username @ MyMailserver.com> exten  deliver
<recipient: local Username @ MyMailserver.com> exp_from
 postfix/local[28092]: deliver_alias:
hash:/etc/aliases(0,lock|no_regsub|no_proxy|no_unauth|fold_fix|utf8_request)
: <recipient local Username> not found
 postfix/local[28092]: deliver_dotforward[3]: local <recipient local
Username> recip <recipient: local Username @ MyMailserver.com> exten
deliver <recipient: local Username @ MyMailserver.com> exp_from
 postfix/local[28092]: deliver_dotforward[3]: set user_attr: <recipient
local Username>
 postfix/local[28092]: set_eugid: euid 1312 egid 1000
 postfix/local[28092]: set_eugid: euid 108 egid 113
 postfix/local[28092]: deliver_dotforward: path /var/mail/<recipient local
Username>/.forward expand_status 0 look_status -1
 postfix/local[28092]: deliver_mailbox[3]: local <recipient local Username>
recip <recipient: local Username @ MyMailserver.com> exten  deliver
<recipient: local Username @ MyMailserver.com> exp_from
 postfix/local[28092]: been_here: mailbox <recipient local Username>: 0
 postfix/local[28092]: deliver_mailbox[3]: set user_attr: <recipient local
Username>
 postfix/local[28092]: deliver_command[4]: local <recipient local Username>
recip <recipient: local Username @ MyMailserver.com> exten  deliver
<recipient: local Username @ MyMailserver.com> exp_from
 postfix/local[28092]: been_here: command <recipient local Username>:1312
/usr/bin/procmail: 0
 dovecot[28218]: lda(<recipient local
Username>)<28218><y2iAEg15gmA6bgAAVtsF+A>: sieve:
msgid=<20210423073645.1290D2F001C3@<myMailServer.com>>: failed to store into
mailbox 'INBOX': Quota exceeded (mailbox for user is full)
 dovecot[28218]: lda(<recipient local
Username>)<28218><y2iAEg15gmA6bgAAVtsF+A>:
msgid=<20210423073645.1290D2F001C3@<myMailServer.com>>: rejected: Quota
exceeded (mailbox for user is full)


The local module rewrite the senders e-mail-adress with
<localu...@mymailserver.com> , then he want to deliver the mail directly to
dovecot-lda who says, there is no space in recipients mailbox.

Then the dovecot produce an late bounce with the false mailadress in the
error report.


Mit freundlichen Grüßen
Yours sincerely


Pascal Rudolf | Geschäftsführer
PADARU-IT | Bielebohstraße 10 | 02736  Beiersdorf
@: rud...@padaru.de | www: padaru.de
mobil: +49 (0) 17 772 595 32



-----Ursprüngliche Nachricht-----
Von: owner-postfix-us...@postfix.org <owner-postfix-us...@postfix.org> Im
Auftrag von @lbutlr
Gesendet: Freitag, 23. April 2021 09:24
An: Postfix users <postfix-users@postfix.org>
Betreff: Re: Change default reject message

On 22 Apr 2021, at 12:49, Wietse Venema <wie...@porcupine.org> wrote:
> rud...@padaru.de:
>> Good evening,
>> Unfortunately, I have to revisit my topic from back in the day....
>> 
>> Sending the proper reject-messages through the postfix works wonderfully,
as long as it is an external sender.
>> 
>> But now if a local sender sends an email to the full mailbox, again the
Dovecot replies, or the program what generates the message mentioned at the
beginning:
>> 
>> ##
>> Your message to <localu...@my.server.com> was automatically discarded:
>> ##
> 
> Why discard over-quota email? If you allow Dovecot to reject delivery, 
> then the local sender will receive a proper delivery status notification.

Also, discarding email that you accepted is evil. IMO, off course, but I
would immediately stop using an mail address in which email that was
delivered was deleted by the service. In fact, I have.

Either you accept the message and deliver it or you reject the message,
anything else is unacceptable.

--
Do you have any idea how expensive wool is in Transylvania? Because of the
euro.


Reply via email to