HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials

HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials (http://www.howtoforge.com/forums/index.php)
-   Installation/Configuration (http://www.howtoforge.com/forums/forumdisplay.php?f=16)
-   -   Change Postfix Quota exceeded error message (http://www.howtoforge.com/forums/showthread.php?t=8197)

steowimmy 14th November 2006 21:29

Change Postfix Quota exceeded error message
 
Hi all!

Just for an information... Is it possible to change the error message in the Quota Exceeded message in Postfix/Procmail?

A friend has sended me last week an email in my account but my account is full in quota limit. But my friend has received a return email by my Postfix server with:

Quote:

<web4_test@domain.com> (expanded from <test@friend.com>): can't create
user output file. Command output: procmail: Couldn't create
"/var/mail/web4_test" procmail: Quota exceeded while writing
"/var/www/web4/user/web4_test/Maildir/tmp/1163448005.11579_2.domain.com
Is it possible to remove the message in "Command output"???

Well, is it possible to remove some of these verbose error message in Postfix?
Ex: Just write: An error has occured...

Thanks! :rolleyes:

falko 15th November 2006 16:41

If you have Postfix 2.3 or newer, this paramater: bounce_template_file might work.
What's the output of
Code:

postconf -d|grep bounce_template_file
?

steowimmy 15th November 2006 16:46

Nothing...
I use the version 2.2.8-1.2 of Postfix (Fedora C5 x64 with the manual of HowToForge for ISPConfig).

Can I make a "yum update" of postfix directly and put the tag bounce_template_file?

falko 16th November 2006 15:20

Quote:

Originally Posted by steowimmy
Can I make a "yum update" of postfix directly and put the tag bounce_template_file?

I don't know if there's a Postfix 2.3.x package available for Fedora, and I don't know if bounce_template_file is the right option. It was just a shot in the dark...


All times are GMT +2. The time now is 20:54.

Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.