imapext-2007

view src/dmail/dquota.c @ 0:ada5e610ab86

imap-2007e
author yuuji@gentei.org
date Mon, 14 Sep 2009 15:17:45 +0900
parents
children
line source
1 /* ========================================================================
2 * Copyright 1988-2007 University of Washington
3 *
4 * Licensed under the Apache License, Version 2.0 (the "License");
5 * you may not use this file except in compliance with the License.
6 * You may obtain a copy of the License at
7 *
8 * http://www.apache.org/licenses/LICENSE-2.0
9 *
10 *
11 * ========================================================================
12 */
14 /*
15 * Program: Procmail-Callable Mail Delivery Module Quota Hook
16 *
17 * Author: Mark Crispin
18 * Networks and Distributed Computing
19 * Computing & Communications
20 * University of Washington
21 * Administration Building, AG-44
22 * Seattle, WA 98195
23 * Internet: MRC@CAC.Washington.EDU
24 *
25 * Date: 10 September 2007
26 * Last Edited: 10 September 2007
27 */
29 #include "c-client.h"
31 /* Site-written routine to validate delivery per quota and policy
32 * Accepts: stringstruct of message temporary file
33 * filesystem path
34 * return path
35 * buffer to write error message
36 * precedence setting
37 * Returns: T if can deliver, or NIL if quota issue and must bounce
38 */
40 long dmail_quota (STRING *msg,char *path,char *tmp,char *sender,
41 long precedence)
42 {
43 return LONGT; /* dummy success return */
44 }

UW-IMAP'd extensions by yuuji