Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

I've been running an XMail server on my home PC for some years, on XP and Vista. My Vista system recently died, and I'm now trying to get XMail up on Windows 7.

I appear to have successfully migrated the migrated everything (by copying the configuration unchanged), and the SMTP side appears to be working correctly (I can see emails coming from outside).

However, my POP connection (from Thunderbird) consistently fails with this message:

... Mail server ... responded with Invalid auth or access denied

Wireshark shows an apparently correct sequence of USER and PASS commands going in from the client. I have tried both unsecure and encrypted passwords, and the passwords match on the client and in the server configuration.

XMail is set up as a "Local System" account, and there doesn't appear to be any issue with file access permissions or ownership.

Has anyone experienced a similar problem, and solved it?


In answer to @joeqwerty:'s question, here's the text from Wireshark following the TCP stream:

+OK <1313755638.5516@quadrangle.dyndns.org> [XMail 1.27 POP3 Server] service ready; Fri, 19 Aug 2011 13:07:18 +0100
CAPA
+OK Capability list follows
TOP
USER
UIDL
PIPELINING
STLS
IMPLEMENTATION [XMail 1.27 POP3 Server]
.
USER xxxx
+OK Password required for xxxx@mydomain
PASS qwerty
-ERR Invalid auth or access denied

Note that the actual packet dump shows the client sending USER xxxx\r\n and PASS qwerty\r\n, which I believe is correct, even from the remote client, which is Thunderbird on Linux (Mint).

BTW, here's the registry stuff for XMail:

[HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\GNU\XMail]
    "MAIL_ROOT"="D:\\Programs\\XMailRoot"
    "MAIL_CMD_LINE"="-Mr 12 -Pl -Sl -Ql -Yi 900 -Yl -F- -Cl -Ll"

I've also tried with APOP:

+OK <1313757456.4464@quadrangle.dyndns.org> [XMail 1.27 POP3 Server] service ready; Fri, 19 Aug 2011 13:37:36 +0100
CAPA
+OK Capability list follows
TOP
USER
UIDL
PIPELINING
STLS
IMPLEMENTATION [XMail 1.27 POP3 Server]
.
APOP xxxx 58f4ef7808f8b611b1451c4d1cdae1a6
-ERR Invalid auth or access denied

BTW, I checked the hash, and it is correct (from the client's point of view)


I chose ServerFault rather than SuperUser to post this question because a search for XMail gave more questions here than there. However, if the community feels I should be over there, please feel free to migrate me.

share|improve this question
1  
Have you performed basic network troubleshooting between the two systems to ensure there are no underlying network-related issues? –  user48838 Aug 19 '11 at 9:47
1  
Ok, does it work correctly when testing the client/server on the same machine? –  user48838 Aug 19 '11 at 10:05
1  
What do you see in the capture after the client issues the USER and PASS commands? The server has to be responding with something and that should show up in the capture. Also, is it possible that the server requires the APOP command rather than the USER and PASS commands? –  joeqwerty Aug 19 '11 at 11:35
1  
OK, the capture definitely looks to me like the server requires the APOP command. The server signifies this by including a timestamp (processID.clock) in it's banner greeting, which is what the capture looks like to me. When using APOP the client has to submit the mailbox name with an MD5 digest string, such as "APOP Brent b5c9344bac571ecc979e58002d3e22fb". Are you doing that? –  joeqwerty Aug 19 '11 at 12:32
1  
Well it's got to be an authentication problem or an access problem. Since you've tried both authentication methods I'm inclined to think it's an access problem. Are you sure that a mailbox exists for the user? How about setting up a new mailbox and trying with that? –  joeqwerty Aug 19 '11 at 13:19

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.