in reply to Net::POP3 has login failure

Are you sure this dovecot instance allows for plaintext passwords? Check the dovecot configuration file for the for the setting

auth_mechanisms = plain

if it's set to only allow other authentication mechanisms (CRAM-MD5 or DIGEST-MD5)you'll have to use those. Also take a look at the logs if you have access, dovecot is usually rather helpful in what it tells you about errors.

Other than that, it may be helpful to look at the network traffic Evolution generates when connecting to the server successfully, as well as the traffic when your script connects. Here's a node I wrote in response to a different question, explaining some ways of how to do this.

Replies are listed 'Best First'.
Re^2: Net::POP3 has login failure
by diskcrash (Hermit) on Oct 26, 2005 at 02:46 UTC
    I have been studying the dovecot.conf file closely. Yes, the
    auth_mechanisms = plain
    is set. I have found some examples of dovecot.conf files and I'm trying them out. So far the same symptoms appear. I did notice that I get the same login error when I use either a good or bad user names and passwords. Work in progress and thanks for the tip.
    DD