diff src/context.h @ 259:be939802c64e

add recipient rate limits by email from address or domain
author Carl Byington <carl@five-ten-sg.com>
date Sat, 21 Jul 2012 08:34:04 -0700
parents d6d5c50b9278
children f941563c2a95
line wrap: on
line diff
--- a/src/context.h	Sun Jul 01 10:34:43 2012 -0700
+++ b/src/context.h	Sat Jul 21 08:34:04 2012 -0700
@@ -209,6 +209,7 @@
     void        set_daily_multiple(int multiple)            {rcpt_daily_multiple = multiple;};
     void        add_rate(const char *user, int limit)       {rcpt_per_hour[user] = limit;};
     int         find_rate(const char *user);
+    bool        is_unauthenticated_limited(const char *user);
     int         get_daily_multiple()                        {return rcpt_daily_multiple;};
 
     void        add_to(const char *to)                            {env_to.insert(to);};