aboutsummaryrefslogtreecommitdiffstats
path: root/fetchmail.h
diff options
context:
space:
mode:
authorMatthias Andree <matthias.andree@gmx.de>2006-01-07 21:56:35 +0000
committerMatthias Andree <matthias.andree@gmx.de>2006-01-07 21:56:35 +0000
commit5c42b7406d84d51c5a15b1cf5b25f63c7837af64 (patch)
treeac0ffcad87ab5eba8a1df4d9230382fc83cfea1f /fetchmail.h
parent425f0a71e2ff77f5d0c27274b79682a7031180bf (diff)
downloadfetchmail-5c42b7406d84d51c5a15b1cf5b25f63c7837af64.tar.gz
fetchmail-5c42b7406d84d51c5a15b1cf5b25f63c7837af64.tar.bz2
fetchmail-5c42b7406d84d51c5a15b1cf5b25f63c7837af64.zip
Revise Maillennium workaround so that it is reported only once per server, in daemon mode.
svn path=/branches/BRANCH_6-3/; revision=4613
Diffstat (limited to 'fetchmail.h')
-rw-r--r--fetchmail.h8
1 files changed, 8 insertions, 0 deletions
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 */