1

Topic: POP user name "user@example.com" unrecognized

======== Required information ====
- iRedMail version: 0.8.5
- Store mail accounts in which backend (LDAP/MySQL/PGSQL): MySQL
- Linux/BSD distribution name and version: CentOS 6.5
- Related log if you're reporting an issue:
====

Hi there,

I am getting reports from some users (only two, actually, out of about a thousand) of "connection issues", as one of them put it. I myself am having no such problems with access to my own account on the same server. It seems interesting that nobody other than these two users (who are on the same domain, but they have other domains and I'm checking to see if this happens on their other domains too) are having the problem, but I don't know yet if that's significant.

Specifically, an Apple Mail user is getting this error:

    POP user name "user@example.com" unrecognized

(Of course, "user@example.com" is not the actual email address.)

However, the error is intermittent, and the user does indeed exist. On subsequent mail checks there is no error.

My initial thought was that the server was overloaded, as happens far too often, but that's simply not the case at the moment.

Does anyone have any thoughts on a possible issue or where to look for clues?

Thanks in advance for any help.


Craig


P.S.: And yes, I know I'm behind on updates.

----

Spider Email Archiver: On-Premises, lightweight email archiving software developed by iRedMail team. Supports Amazon S3 compatible storage and custom branding.

2

Re: POP user name "user@example.com" unrecognized

Apparently it is happening on multiple domains. But still only with these two users.

And apprently one of the error messages being displayed by Thunderbird is as follows:

Sending of password did not succeed. Mail server host.exmple.com

I'm looking at the search results for this error right now to see if they might help. There are more than I found for the Apple error message.


Craig

3

Re: POP user name "user@example.com" unrecognized

Yeah, no, the search results weren't much use. Mozilla has a page at http://kb.mozillazine.org/Password_rejected , but it largely deals with specific rather than generic situations and typical issues such as incorrect entry (typos).

There were some result in a search for the error in this forum, but none seemed in any way related.


Craig

4

Re: POP user name "user@example.com" unrecognized

This seems to be spreading. I'm getting more reports. I think all of the people involved are using POP, but I'm waiting for confirmation of that.

5

Re: POP user name "user@example.com" unrecognized

I ended up rebooting the server and that fixed the problem. I suspect that one service or another was not running. However, there were about a hundred "dovecot/pop3-login" processes running just before I rebooted, so I'm at a loss to explain what happened after the reboot -- i.e., what was running after the reboot that wasn't running before it.

I can say that there's not much information in /var/log/dovecot.log, as it seems that unsuccessful connection attempts were not logged ... which, I suppose, make sense.

Something similar happened last week, but I was in the middle of doing updates when the reports started coming in. Once I was done the updates the problem went away, so evidently one service or another was (re)started and the problem went away. So I suspect this problem will re-occur unless I find out the cause and fix it.

If anyone has any ideas, I'd love to hear them. Thanks.


Craig

6

Re: POP user name "user@example.com" unrecognized

*) Did you check iptables rules to check whether these clients were blocked? (triggered by Fail2ban)
*) Did you try to increase POP3 process limit in Dovecot? Search 'process_limit' in /etc/dovecot/dovecot.conf AND http://wiki2.dovecot.org/ will give you more details.

7 (edited by craig 2014-10-09 05:57:02)

Re: POP user name "user@example.com" unrecognized

ZhangHuangbin wrote:

*) Did you check iptables rules to check whether these clients were blocked? (triggered by Fail2ban)
*) Did you try to increase POP3 process limit in Dovecot? Search 'process_limit' in /etc/dovecot/dovecot.conf AND http://wiki2.dovecot.org/ will give you more details.

Hi Zhang,

Thanks for your reply.

The only process_limit set in /etc/dovecot/dovecot.conf is inside the "service imap-login" braces and it's set to 500. There is no process_limit set for POP3, which leads me to believe it will be set to the default. The default_process_limit directive is commented out though.

Is Dovecot hard-coded to set the (default_)process_limit to 100 if it's not defined in "dovecot.conf"? If that's the case, that's probably where I'm running into the problem, as it's POP I'm having the problems with (no issues with IMAP) and at the time it happened there were about 100 POP processes running.

That said, I did not see any "process_limit" error messages in /var/log/maillog.

Thanks.


Craig


(Edited to make a little clearer and add the fact that I saw no error messages in the log that seemed related to the "process_limit" directive.)

8

Re: POP user name "user@example.com" unrecognized

Sorry, cannot help without related log.

9

Re: POP user name "user@example.com" unrecognized

ZhangHuangbin wrote:

Sorry, cannot help without related log.

Which log are you looking for?

10

Re: POP user name "user@example.com" unrecognized

Sorry, it's not about which log i'm looking for. If you cannot paste useful log or error message related to this issue, we cannot help at all.
So it's your job to extract related log and paste here, so that we can help troubleshoot.

11

Re: POP user name "user@example.com" unrecognized

I already stated that there were no "process_limit" errors in /var/log/maillog.

It may be my job to paste useful log information here, but I'm paying a licence fee to get some reasonable help in a public forum. So how about suggesting which log I should look in for the inormation that you would find useful to help me?

Thank-you.

12

Re: POP user name "user@example.com" unrecognized

Besides, at this point my most recent question was about configuration, *not* errors.

13 (edited by craig 2014-10-11 10:42:23)

Re: POP user name "user@example.com" unrecognized

Hi Zhang,

Can we start from the beginning here and get past the misunderstandings?

Based on my research and your feedback so far, I think that I am possibly running into a limit on the number of "dovecot/pop3-login" processes. It's a guess -- because I can't see any other reason based on my analysis of /var/log/maillog and /var/log/dovecot.log, so I have nothing to show you -- but I think it's a reasonable one based on the symptoms, and one on which I am willing to rely unless or until I find otherwise.

So then I did some more research, some of it in the Dovecot documentation to which you linked. To make a long story short, I'm looking for clarification of a Dovecot configuration parameter as explained in message 7 above. I am NOT looking for interpretation of log entries.

So, in iRedMail's implementation of Dovecot, is the default "process_limit" for POP3 set to 100, or is it set to something else? It's a very straightforward question, the answer to which is a "yes" or a "no", and if the answer is "no" the answer should include a number. Log output is not needed to come up with an answer.

Based on your answer I will either increase the "process_limit" for POP3 processes, or I will keep investigating.

Can you please answer my question? Thank-you.


Craig

14

Re: POP user name "user@example.com" unrecognized

craig wrote:

So, in iRedMail's implementation of Dovecot, is the default "process_limit" for POP3 set to 100, or is it set to something else?

It's set to 100 by default, by Dovecot. iRedMail overrides the setting of IMAP process limit, set to 500.

if you search 'process_limit' in /etc/dovecot/dovecot.conf, you can find some comment out settings. for example:

# Limits the number of users that can be logging in at the same time.              
# Default is 100.                                                                  
# Note: this value can be overrided by "process_limit =" in service                
#       protocol. e.g.                                                             
#       protocol imap-login {                                                      
#           process_limit = 500                                                    
#       }                                                                          
#default_process_limit = 100

15

Re: POP user name "user@example.com" unrecognized

Hi Zhang,

Thanks very much. I increased the "process_limit" for POP to 500.

But when restarting Dovecot, I got this that I do not believe was present before:

[06:25:49 root@host dovecot]# service dovecot restart
Stopping Dovecot Imap:                                     [  OK  ]
Starting Dovecot Imap: doveconf: Warning: service auth { client_limit=1000 } is lower than required under max. load (1100)
doveconf: Warning: service anvil { client_limit=1000 } is lower than required under max. load (1103)
Warning: service auth { client_limit=1000 } is lower than required under max. load (1100)
Warning: service anvil { client_limit=1000 } is lower than required under max. load (1103)
                                                           [  OK  ]
[06:26:10 root@host dovecot]#

It also shows up when I execute "doveconf -n". But there is no existing "client_limit" variable defined in dovecot.conf, and Dovecot seems to be working fine.

They're only warnings, but I guessed that they cropped up because of the increased process_limit for POP3 combined with other process_limits. So I resolved them by lowering the "process_limit" for POP3 to 390.

Thanks again.


Craig

16

Re: POP user name "user@example.com" unrecognized

craig wrote:

But there is no existing "client_limit" variable defined in dovecot.conf, and Dovecot seems to be working fine.

It's default setting hard-coded in Dovecot source code, you can override it in dovecot.conf.

17

Re: POP user name "user@example.com" unrecognized

ZhangHuangbin wrote:

It's default setting hard-coded in Dovecot source code, you can override it in dovecot.conf.

Yes, I assumed that would be the case, but just as easy to lower the limit I had just raised. Thanks.