From 5c42b7406d84d51c5a15b1cf5b25f63c7837af64 Mon Sep 17 00:00:00 2001 From: Matthias Andree Date: Sat, 7 Jan 2006 21:56:35 +0000 Subject: Revise Maillennium workaround so that it is reported only once per server, in daemon mode. svn path=/branches/BRANCH_6-3/; revision=4613 --- fetchmail.h | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'fetchmail.h') diff --git a/fetchmail.h b/fetchmail.h index a638df9e..dfafd2b5 100644 --- a/fetchmail.h +++ b/fetchmail.h @@ -277,8 +277,16 @@ struct hostdata /* shared among all user connections to given server */ size_t trueaddr_len; /* size of trueaddr data */ struct hostdata *lead_server; /* ptr to lead query for this server */ int esmtp_options; + int workarounds; /* track which workarounds the user was warned about */ }; +/* + * bit flags to set in workarounds after the corresponding warning, + * which we assume to be server-specific, has been printed, + * so we don't spam our users in daemon mode. + */ +#define WKA_TOP (1L << 0) /* Maillennium TOP -> RETR override warning */ + struct query { /* mailserver connection controls */ -- cgit v1.2.3