Koozali.org: home of the SME Server

Fetchmail failure after V5 upgrade, V2 update

oj

Fetchmail failure after V5 upgrade, V2 update
« on: October 05, 2001, 10:55:13 AM »
Since upgrading to SME 5, mail collection has stopped altogether. I've applied update 2, but it's failed to fix the problem.

After a lot of investigating, I suspect it's the format of the username that my hosting service requires. The username takes the format of user%domain.com (yes, that's a percent sign). It worked perfectly under 4.12

The log files show

fetchmail[11561]: Authorization failure on catchall%XXXXXX.com@IPADDRESS
fetchmail[11561]: Query status=3 (AUTHFAIL)

It works fine when I use another POP3 account to poll from.

Using:

fetchmail -v -v -p POP3 IPADDRESS -u USERNAME

gives the following:

+OK catchall's mailbox has 0 message(s) (0 octets)
USER catchall%IPADDRESS
-ERR unknown or invalid command in this state [USER]
PASS *
-ERR unknown or invalid command in this state [PASS]

The user/pass combination works perfectly fine under 4.12 and when I tested it through Outlook.

Short of changing hosts or reverting to 4.12, any clues on how to get around this?

Thanks,

OJ.

oj

Re: Fetchmail failure after V5 upgrade, V2 update
« Reply #1 on: October 06, 2001, 06:03:34 AM »
As an update, I chanced upon adding '--auth password' to the above and it magically worked. No idea why this is required for my main host, but not any others.

I've since added it to the template, and it's working great!

If someone knows a better way, or there's something I missed, please pass it along.