|
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: Andreas Winkelmann (ml
awinkelmann.de)
Date: Sat May 13 2006 - 02:10:36 CDT
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Am Wednesday 10 May 2006 18:50 schrieb Alain NAKACHE:
> >>> 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 ?
Not really.
#define EX_NOPERM 77 /* permission denied */
--
Andreas
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]