imapext-2007

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

imap-2007e
author yuuji@gentei.org
date Mon, 14 Sep 2009 15:17:45 +0900
parents
children
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/src/dmail/dquota.c	Mon Sep 14 15:17:45 2009 +0900
     1.3 @@ -0,0 +1,44 @@
     1.4 +/* ========================================================================
     1.5 + * Copyright 1988-2007 University of Washington
     1.6 + *
     1.7 + * Licensed under the Apache License, Version 2.0 (the "License");
     1.8 + * you may not use this file except in compliance with the License.
     1.9 + * You may obtain a copy of the License at
    1.10 + *
    1.11 + *     http://www.apache.org/licenses/LICENSE-2.0
    1.12 + *
    1.13 + * 
    1.14 + * ========================================================================
    1.15 + */
    1.16 +
    1.17 +/*
    1.18 + * Program:	Procmail-Callable Mail Delivery Module Quota Hook
    1.19 + *
    1.20 + * Author:	Mark Crispin
    1.21 + *		Networks and Distributed Computing
    1.22 + *		Computing & Communications
    1.23 + *		University of Washington
    1.24 + *		Administration Building, AG-44
    1.25 + *		Seattle, WA  98195
    1.26 + *		Internet: MRC@CAC.Washington.EDU
    1.27 + *
    1.28 + * Date:	10 September 2007
    1.29 + * Last Edited:	10 September 2007
    1.30 + */
    1.31 +
    1.32 +#include "c-client.h"
    1.33 +
    1.34 +/* Site-written routine to validate delivery per quota and policy
    1.35 + * Accepts: stringstruct of message temporary file
    1.36 + *	    filesystem path
    1.37 + *	    return path
    1.38 + *	    buffer to write error message
    1.39 + *	    precedence setting
    1.40 + * Returns: T if can deliver, or NIL if quota issue and must bounce
    1.41 + */
    1.42 +
    1.43 +long dmail_quota (STRING *msg,char *path,char *tmp,char *sender,
    1.44 +		  long precedence)
    1.45 +{
    1.46 +  return LONGT;			/* dummy success return */
    1.47 +}

UW-IMAP'd extensions by yuuji