OSEC

Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com
 
Re: Can postfix notify to postmaster when over quota ?

From: Alain NAKACHE (alainalinto.net)
Date: Wed May 10 2006 - 11:50:53 CDT


Alain NAKACHE a écrit :
> Wietse Venema a écrit :
>>> Courier-smtp already include such a mechanism by testing exit_code=78
>>> when a mail can't be delivered because of overquota in a maildir.
>>>
>>
>> According to /usr/include/sysexits.h:
>>
>> #define EX_CONFIG 78 /* configuration error */
>>
>> In other words, this is NOT an over-quota indicator.
>>
> I know but as it is an unused indicator, I think that Mr Sam decided
> it is a good way to warn about an overquota :-)
>
My mistake. After a quick look at the maildrop code, it seems to be a 77
exit code. Is it better ?