diff options
author | Eric S. Raymond <esr@thyrsus.com> | 2001-03-18 04:32:06 +0000 |
---|---|---|
committer | Eric S. Raymond <esr@thyrsus.com> | 2001-03-18 04:32:06 +0000 |
commit | 655e43b525bb329203d04e60bc01e7655fb284e5 (patch) | |
tree | 7b2a081e6fefd404e255a7165b3fcc679c0edab8 | |
parent | 93bd05ed2643780351e3cbc45ef8f8dd912cbb7d (diff) | |
download | fetchmail-655e43b525bb329203d04e60bc01e7655fb284e5.tar.gz fetchmail-655e43b525bb329203d04e60bc01e7655fb284e5.tar.bz2 fetchmail-655e43b525bb329203d04e60bc01e7655fb284e5.zip |
MAILBOX_PROTOCOL is back.
svn path=/trunk/; revision=3266
-rw-r--r-- | fetchmail.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/fetchmail.h b/fetchmail.h index acae237c..f3181da6 100644 --- a/fetchmail.h +++ b/fetchmail.h @@ -28,6 +28,13 @@ #define SPOP3_PORT 995 #endif +/* + * We need to distinguish between mailbox and mailbag protocols. + * Under a mailbox protocol wwe're pulling mail for a speecific user. + * Under a mailbag protocol we're fetching mail for an entire domain. + */ +#define MAILBOX_PROTOCOL(ctl) ((ctl)->server.protocol < P_ETRN) + /* authentication types */ #define A_ANY 0 /* use the first method that works */ #define A_PASSWORD 1 /* password authentication */ |