Hi all,

My current postfix version installed is postfix-2.2.10-1.1.el4

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

<user_ic_num...@mydomain.com> (expanded from
<usermailacco...@mydomain.com>): 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