OSEC

Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com
bounce messages on message_size_limit exceeded in uucp

From: ram (ramnetcore.co.in)
Date: Tue Jun 19 2007 - 09:20:59 CDT


When a message is delivered to postfix from a uucp connection and if the
mail exceeds message_size_limit then the mail is held in the uucp
directory forever

The issue is that the sender is never notified that the message was
rejetcted. And postfix logs just a simple error log like

----------
Jun 19 19:31:26 newuucp3 postfix/sendmail[9682]: fatal:
suhas.bhopeXXXXXXX(10): queue file write error
-------------

After a lot of research we realized this is because the message exceeds
the size limit.
So how do I set postfix to give uucp a permanent failure on message_size
error

Thanks
Ram