diff options
author | Eric S. Raymond <esr@thyrsus.com> | 2001-03-05 13:14:09 +0000 |
---|---|---|
committer | Eric S. Raymond <esr@thyrsus.com> | 2001-03-05 13:14:09 +0000 |
commit | 6452b2c571c21a1c396656a4b1ab10d62958782e (patch) | |
tree | 0fa85e0153425138be84f96fa020225afd86957b /fetchmail.h | |
parent | 8a2a861425f7835e83d5d868672ca946221fb1be (diff) | |
download | fetchmail-6452b2c571c21a1c396656a4b1ab10d62958782e.tar.gz fetchmail-6452b2c571c21a1c396656a4b1ab10d62958782e.tar.bz2 fetchmail-6452b2c571c21a1c396656a4b1ab10d62958782e.zip |
Tolerate flaky servers better.
svn path=/trunk/; revision=3204
Diffstat (limited to 'fetchmail.h')
-rw-r--r-- | fetchmail.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/fetchmail.h b/fetchmail.h index dff81d18..6c9a4919 100644 --- a/fetchmail.h +++ b/fetchmail.h @@ -92,6 +92,7 @@ #define PS_DNS 11 /* fatal DNS error */ #define PS_BSMTP 12 /* output batch could not be opened */ #define PS_MAXFETCH 13 /* poll ended by fetch limit */ +#define PS_SERVBUSY 14 /* server is busy */ /* leave space for more codes */ #define PS_UNDEFINED 23 /* something I hadn't thought of */ #define PS_TRANSIENT 24 /* transient failure (internal use) */ @@ -297,6 +298,8 @@ struct query const char *destaddr; /* destination host for this query */ int errcount; /* count transient errors in last pass */ int authfailcount; /* count of authorization failures */ + int wehaveauthed; /* We have managed to logon at least once! */ + int wehavesentauthnote; /* We have sent an authorization failure note */ int wedged; /* wedged by auth failures or timeouts? */ char *smtphost; /* actual SMTP host we connected to */ int smtp_socket; /* socket descriptor for SMTP connection */ |