AW: AW: AW: Change default reject message

2021-04-23 Thread rudolf
-Ursprüngliche Nachricht- Von: owner-postfix-us...@postfix.org Im Auftrag von Wietse Venema Gesendet: Freitag, 23. April 2021 20:39 An: Postfix users Betreff: Re: AW: AW: Change default reject message rud...@padaru.de: > Since Postfix rewrites all alias email addresses to the local us

Re: AW: AW: Change default reject message

2021-04-23 Thread Wietse Venema
rud...@padaru.de: > Since Postfix rewrites all alias email addresses to the local users, this > works perfectly. Postfix calls Dovecot quota before Postfix aliases the recipient to a local user. How does Dovecot know what mailbox Postfix is asking about? Wietse

AW: AW: Change default reject message

2021-04-23 Thread rudolf
The user management is done by Dovecot, so as soon as a user logs in, the user / password query is sent to a database, which also queries the quota. Since Postfix rewrites all alias email addresses to the local users, this works perfectly. Dovecot manages the local users + the quota in the databa

Re: AW: AW: AW: Change default reject message

2021-04-23 Thread Wietse Venema
Wietse: > So this needs a quota check before Postfix expands aliases and other address > mappings. > > How does the Postfix SMTP server find out that a user is over quota? > Does it use check_policy_service, or does it use a transport map that > returns something like "error:user is over quota"?

Re: AW: AW: Change default reject message

2021-04-23 Thread Jaroslaw Rafa
Dnia 23.04.2021 o godz. 08:32:06 rud...@padaru.de pisze: > > But postfix dont use these recipient_restrictions because the local mails > dont pass the smtpd. Is there something that can check the quota and runs as a milter and not a policy service? Because you could use such a thing in non_smtpd_

AW: AW: AW: Change default reject message

2021-04-22 Thread rudolf
mail have to pass through the smtpd. Mit freundlichen Grüßen Yours sincerely Pascal Rudolf  -Ursprüngliche Nachricht- Von: owner-postfix-us...@postfix.org Im Auftrag von Wietse Venema Gesendet: Donnerstag, 22. April 2021 22:29 An: Postfix users Betreff: Re: AW: AW: Change default

Re: AW: AW: Change default reject message

2021-04-22 Thread Wietse Venema
rud...@padaru.de: > In the message from the dovecot the @ is written, this > information is of no use to the sender, because he does not know the local > user name of the receiver. > > The bounce mail must therefore contain the e-mail address that the sender > has addressed, the virtual address so

AW: AW: Change default reject message

2021-04-22 Thread rudolf
In the message from the dovecot the @ is written, this information is of no use to the sender, because he does not know the local user name of the receiver. The bounce mail must therefore contain the e-mail address that the sender has addressed, the virtual address so to speak. Mit freundlichen G