The authentication errors came from the German Mail Provider WEB.DE
(because of database administration work). But to simulate this later,
I used a wrong password for my account. I tried this with POP3 over
SSL and IMAP over SSL. Because IMAP authentication errors are also not
reported with an exit code != 0, using IMAP isn't a solution.
That's probably true. You're not likely to get a useful return code of
any kind if there is more than one site in your .fetchmailrc file. But
the IMAP client code can unambiguously report an authentication-failure
condition.
Sure, it's difficult to give a correct return code, if there are
multiple sites in fetchmailrc and fetchmail doesn't stop after the
first error. But the .fetchmailrc which I used and included in my mail
has only 1 IMAP entry. You can test it (because I haven't included my
real password, authentification will surely fail:-).
This was my testing configuration file: .fetchmailrc-smtp-b4-smtp
------------------------------------------------------------------
set spambounce
poll imap.web.de protocol IMAP interval 10 uidl
username SOME-USER password "APASSWORD" is bv here
mda "/usr/bin/procmail -d %T" fetchall ssl
------------------------------------------------------------------
I called fetchmail with "fetchmail -f .fetchmailrc-smtp-b4-smtp"
(see above).
Bye, Björn
--
Björn Voigt <bjoern(_at_)cs(_dot_)tu-berlin(_dot_)de>
WWW: http://user.cs.tu-berlin.de/~bjoern/