fetchmail-friends
[Top] [All Lists]

Re: [fetchmail]Bug in doing CAPA /w fetchmail-5.9.11?

2002-05-05 22:20:25
Quoting from Matthias Andree's mail on Sat, May 04, 2002 at 03:42:03PM +0200:
I can imagine one, but that might break mail servers behind load
balancers: connect, send CAPA, store the replies, disconnect, reconnect,
proceed without CAPA with the stored CAPAbilities.

This looks like a good solution. In fact, there is no need to quit if
CAPA succeeds. Only if the response to CAPA is an -ERR should the
POP server be reconnected.

In fact, a similar thing has been done in the SMTP code, where if EHLO
fails, the SMTP server is reconnected before sending HELO. Of course,
the SMTP server is normally localhost, so reconnecting is not
expensive.

Sunil Shetye.