LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 02-22-2013, 02:57 PM   #1
skuli434
LQ Newbie
 
Registered: Dec 2011
Posts: 11

Rep: Reputation: Disabled
dovecot: pop3-login: Disconnected (auth failed, 1 attempts):


dears,
i have set up an email server as follows,
installed postfix with following settings :

Code:
alias_database = hash:/etc/aliases
alias_maps = hash:/etc/aliases
command_directory = /usr/sbin
config_directory = /etc/postfix
daemon_directory = /usr/libexec/postfix
data_directory = /var/lib/postfix
debug_peer_level = 2
home_mailbox = Maildir/
html_directory = no
inet_interfaces = all
inet_protocols = all
local_recipient_maps =
mail_owner = postfix
mailbox_size_limit = 1073741824
mailq_path = /usr/bin/mailq.postfix
manpage_directory = /usr/share/man
message_size_limit = 10485760
mydestination = $myhostname, localhost.$mydomain, localhost, $mydomain
mydomain = x.x
myhostname = x.x.x
mynetworks = 127.0.0.0/8, 82.212.0.0/16, 172.16.0.0/16, 188.0.0.0/8
myorigin = $mydomain
newaliases_path = /usr/bin/newaliases.postfix
queue_directory = /var/spool/postfix
readme_directory = /usr/share/doc/postfix-2.6.6/README_FILES
sample_directory = /usr/share/doc/postfix-2.6.6/samples
sendmail_path = /usr/sbin/sendmail.postfix
setgid_group = postdrop
smtpd_banner = $myhostname ESMTP
smtpd_client_restrictions = permit_mynetworks,reject_unknown_client,permit
smtpd_recipient_restrictions = permit_mynetworks,permit_auth_destination,permit_sasl_authenticated,reject
smtpd_sasl_auth_enable = yes
smtpd_sasl_local_domain = $myhostname
smtpd_sasl_path = private/auth
smtpd_sasl_security_options = noanonymous
smtpd_sasl_type = dovecot
unknown_local_recipient_reject_code = 550
virtual_alias_maps = hash:/etc/postfix/virtual
and dovecot v2 with following configurations

Code:
# 2.0.9: /etc/dovecot/dovecot.conf
# OS: Linux 2.6.32-279.22.1.el6.x86_64 x86_64 CentOS release 6.3 (Final)
auth_default_realm = x.x.x
auth_mechanisms = plain login
disable_plaintext_auth = no
listen = *
mail_location = maildir:~/Maildir
mbox_write_locks = fcntl
passdb {
  driver = pam
}
service auth {
  unix_listener /var/spool/postfix/private/auth {
    group = postfix
    mode = 0666
    user = postfix
  }
}
ssl_cert = </etc/pki/dovecot/certs/dovecot.pem
ssl_key = </etc/pki/dovecot/private/dovecot.pem
userdb {
  driver = passwd
}
protocol pop3 {
  pop3_uidl_format = %08Xu%08Xv
}
however when i try to connect trough outlook it says that the authentication is not correct,
i have set it trough passwd command,
"support dovecot: pop3-login: Disconnected (auth failed, 1 attempts): user=<y@x.d.x>, method=PLAIN, rip=188.247.76.220, lip=x.x.x.x

"

what is going on, i dont get it,
please help
 
Old 02-26-2013, 06:28 AM   #2
unSpawn
Moderator
 
Registered: May 2001
Posts: 29,415
Blog Entries: 55

Rep: Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600
Quote:
Originally Posted by skuli434 View Post
(..)when i try to connect trough outlook it says that the authentication is not correct, i have set it trough passwd command,
"support dovecot: pop3-login: Disconnected (auth failed, 1 attempts): user=<y@x.d.x>, method=PLAIN, rip=nnn.nnn.nnn.nnn, lip=x.x.x.x"
what is going on, i dont get it,
When something goes wrong then the first thing is to check the log files for clues. Server side if there's not enough logging then enable verbose logging: http://wiki2.dovecot.org/Logging. Client side, in the case of MsO or MsOE it will often display a specific error code which you can look up in their Knowledge Base. Also since you're not the first one to realize Ms has a different view on standardization you might benefit from what other wrote in the http://wiki2.dovecot.org/Clients#Outlook section of the http://wiki2.dovecot.org/#Troubleshooting documentation. That all should get you through about ninety nine per cent of common errors and if you still must post error messages then please post complete error messages and please obfuscate all public IP addresses unless vital for answering your question.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
auth.log many failed attempts in one second despite MaxAuthTries azenz Linux - Security 3 12-16-2012 05:12 AM
dovecot-auth: pam_succeed_if(dovecot:auth): error retrieving information about user karsel Linux - Newbie 0 12-11-2012 07:44 AM
Failed to start Dovecot POP3/IMAP server! KarolisK Linux - Newbie 4 05-17-2011 05:36 AM
dovecot pop3-login abhandari Linux - Server 2 04-13-2010 12:17 AM
Dovecot error on pop3 login halvorls Linux - Server 1 11-30-2008 12:15 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 01:11 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration