yuuji@0: /* ======================================================================== yuuji@0: * Copyright 1988-2007 University of Washington yuuji@0: * yuuji@0: * Licensed under the Apache License, Version 2.0 (the "License"); yuuji@0: * you may not use this file except in compliance with the License. yuuji@0: * You may obtain a copy of the License at yuuji@0: * yuuji@0: * http://www.apache.org/licenses/LICENSE-2.0 yuuji@0: * yuuji@0: * yuuji@0: * ======================================================================== yuuji@0: */ yuuji@0: yuuji@0: /* yuuji@0: * Program: Procmail-Callable Mail Delivery Module Quota Hook yuuji@0: * yuuji@0: * Author: Mark Crispin yuuji@0: * Networks and Distributed Computing yuuji@0: * Computing & Communications yuuji@0: * University of Washington yuuji@0: * Administration Building, AG-44 yuuji@0: * Seattle, WA 98195 yuuji@0: * Internet: MRC@CAC.Washington.EDU yuuji@0: * yuuji@0: * Date: 10 September 2007 yuuji@0: * Last Edited: 10 September 2007 yuuji@0: */ yuuji@0: yuuji@0: #include "c-client.h" yuuji@0: yuuji@0: /* Site-written routine to validate delivery per quota and policy yuuji@0: * Accepts: stringstruct of message temporary file yuuji@0: * filesystem path yuuji@0: * return path yuuji@0: * buffer to write error message yuuji@0: * precedence setting yuuji@0: * Returns: T if can deliver, or NIL if quota issue and must bounce yuuji@0: */ yuuji@0: yuuji@0: long dmail_quota (STRING *msg,char *path,char *tmp,char *sender, yuuji@0: long precedence) yuuji@0: { yuuji@0: return LONGT; /* dummy success return */ yuuji@0: }