MSG Support:
> Hi all,
> 
> My current postfix version installed is postfix-2.2.10-1.1.el4

Postfix 2.3 and later will extract the 5.2.2 status code in your
bounce message below. The mail user agent can then translate it
into human-readable text in the user's own language.

According to RFC 3463, status code 5.5.2 means:

         A mail transaction protocol command was issued which could not
         be interpreted, either because the syntax was wrong or the
         command is unrecognized.

Thus, the LMTP server produces a bogus response. Even with support
for RFC 3463 in Postfix and in the mail user agent, the user would
still get the wrong diagnosis.

And no, I have no plans to build a universal free-text error message
translator into Postfix.

        Wietse

> The user's mail over-quota, it will automatically send a bounced mail
> to the sender as below:
> 
> _______________Begining of the message__________________
> This is the Postfix program at host myhostname.mydomain.com
> I'm sorry to have to inform you that your message could not be
> delivered to one or more recipients. It's attached below.
> For further assistance, please send mail to <postmaster>
> 
> If you do so, please include this problem report. You can delete your
> own text from the attached returned message.
> 
>                                     The Postfix program
> 
> <[email protected]> (expanded from
> <[email protected]>): host
>     /var/lib/imap/socket/lmtp[/var/lib/imap/socket/lmtp] said: 552
> 5.2.2 Over quota (in reply to RCPT TO command)
> _______________Ending of the message___________________
> 
> Is there any workaround to customize the over-quota bounced message:
> e.g.:
> 1. It shows the USER_IC_NUMBER as well (instead of UserMailAccount
> only).  We want to hide/remove the USER_IC_NUMBER.
> 2. To hide the server host name: myhostname.mydomain.com
> 3. To hide 'The Postfix program' line.
> 4. To hide '/var/lib/imap/socket/lmtp[/var/lib/imap/socket/lmtp]' line.
> 
> Since there's a concern for not to upgrade to postfix 2.3 (understand
> that postfix 2.3 has this bounce message feature), we need to look for
> workaround for this, at least to remove the USER_IC_NUMBER.
> 
> Thank you very much for any response and help.
> 
> Best regards,
> Rommy
> 
> 

Reply via email to