From 655e43b525bb329203d04e60bc01e7655fb284e5 Mon Sep 17 00:00:00 2001 From: "Eric S. Raymond" Date: Sun, 18 Mar 2001 04:32:06 +0000 Subject: MAILBOX_PROTOCOL is back. svn path=/trunk/; revision=3266 --- fetchmail.h | 7 +++++++ 1 file changed, 7 insertions(+) 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 */ -- cgit v1.2.3