How I changed the quota message;

To change the message cyrus rejects over quota mail with I modified
/usr/local/src/cyrus-imapd-2.0.16/imap/lmtpengine.c  (line 152)

The lines 151 & 152 now read;
151     case IMAP_QUOTA_EXCEEDED:
152        return "550 4.2.2 Over quota";

After recompiling cyrus the only binary files that will have changed are 
deliver & lmtpd, these files are located as;
/usr/local/src/cyrus-imapd-2.0.16/imap/deliver
/usr/local/src/cyrus-imapd-2.0.16/imap/lmtpd

Backup 
/usr/cyrus/bin/deliver & /usr/cyrus/bin/lmtpd
Stop cyrus & replace the two files with the new copies.
Restart cyrus & the message will have changed.

I hope this helps.

Steve.


On Thursday 21 February 2002 12:45, you wrote:
> Hello
>
> > I have therefor (from information I found in the mailing list archives)
> > altered cyrus to no longer issue a temporary error, cyrus will now issue
> > 550 when the user is over quota.
>
>  Please, could u tell me how to do that, or direct me to that message ,
> where u found the answer . I couldnt find it in the mailing list.
>
> Thanks
> Regards
>
>
> Andrei V. Loukinykh , Evpatoria Ukrtelecom ISP, +380 6569 29376
> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> "UNIX is like a vigvam - no Windows, no Gates and an Apache inside"

Reply via email to