can't pop3 login to my mailserver

digibandit

New member
Joined
May 29, 2010
Messages
1
i am building a new server using centos 5.4 it is the latest version that i could download
postfix latest version
dovecot latest version
yum updated all

I am having no joy trying to log in via pop3 to retrieve the emails. below is a sample of my maillog
May 29 11:28:53 173-165-171-243-atlanta dovecot: auth(default): new auth connection: pid=5535
May 29 11:28:54 173-165-171-243-atlanta dovecot: auth(default): client out: FAIL 1 [email protected]
May 29 11:28:54 173-165-171-243-atlanta dovecot: auth(default): client out: FAIL 1 [email protected]
May 29 11:28:54 173-165-171-243-atlanta dovecot: pop3-login: Aborted login: user=<[email protected]>, method=PLAIN, rip=::ffff:192.168.1.56, lip=::ffff:173.165.171.243
May 29 11:28:54 173-165-171-243-atlanta dovecot: pop3-login: Aborted login: user=<[email protected]>, method=PLAIN, rip=::ffff:192.168.1.56, lip=::ffff:173.165.171.243
May 29 11:36:17 173-165-171-243-atlanta dovecot: auth(default): client in: AUTH 1 PLAIN service=POP3 lip=::ffff:173.165.171.243 rip=::ffff:192.168.1.56 resp=AGRhdmlkQG4xaWIubmV0AGplZXAxOTg0
May 29 11:36:17 173-165-171-243-atlanta dovecot: auth(default): passwd-file /var/mail/vhosts/n1ib.net/shadow: stat() failed: Permission denied
May 29 11:36:17 173-165-171-243-atlanta dovecot: auth(default): passwd-file([email protected],::ffff:192.168.1.56): no passwd file: /var/mail/vhosts/n1ib.net/shadow
May 29 11:36:17 173-165-171-243-atlanta dovecot: auth(default): client in: AUTH 1 PLAIN service=POP3 lip=::ffff:173.165.171.243 rip=::ffff:192.168.1.56 resp=AGRhdmlkQGRlc2lnbnBsYW5zb2x1dGlvbnMuY29tAGplZXAxOTg0
May 29 11:36:17 173-165-171-243-atlanta dovecot: auth(default): passwd-file /var/mail/vhosts/designplansolutions.com/shadow: stat() failed: Permission denied
May 29 11:36:17 173-165-171-243-atlanta dovecot: auth(default): passwd-file([email protected],::ffff:192.168.1.56): no passwd file: /var/mail/vhosts/designplansolutions.com/shadow
May 29 11:36:17 173-165-171-243-atlanta dovecot: auth(default): new auth connection: pid=5575
May 29 11:36:17 173-165-171-243-atlanta dovecot: auth(default): new auth connection: pid=5576
May 29 11:36:18 173-165-171-243-atlanta dovecot: auth(default): client out: FAIL 1 [email protected]
May 29 11:36:18 173-165-171-243-atlanta dovecot: auth(default): client out: FAIL 1 [email protected]
May 29 11:36:18 173-165-171-243-atlanta dovecot: pop3-login: Aborted login: user=<[email protected]>, method=PLAIN, rip=::ffff:192.168.1.56, lip=::ffff:173.165.171.243
May 29 11:36:18 173-165-171-243-atlanta dovecot: pop3-login: Aborted login: user=<[email protected]>, method=PLAIN, rip=::ffff:192.168.1.56, lip=::ffff:173.165.171.243
May 29 11:51:37 173-165-171-243-atlanta dovecot: auth(default): client in: AUTH 1 PLAIN service=POP3 lip=::ffff:173.165.171.243 rip=::ffff:192.168.1.56 resp=AGRhdmlkQGRlc2lnbnBsYW5zb2x1dGlvbnMuY29tAGplZXAxOTg0
May 29 11:51:37 173-165-171-243-atlanta dovecot: auth(default): passwd-file /var/mail/vhosts/designplansolutions.com/shadow: stat() failed: Permission denied
May 29 11:51:37 173-165-171-243-atlanta dovecot: auth(default): passwd-file([email protected],::ffff:192.168.1.56): no passwd file: /var/mail/vhosts/designplansolutions.com/shadow
May 29 11:51:37 173-165-171-243-atlanta dovecot: auth(default): client in: AUTH 1 PLAIN service=POP3 lip=::ffff:173.165.171.243 rip=::ffff:192.168.1.56 resp=AGRhdmlkQG4xaWIubmV0AGplZXAxOTg0
May 29 11:51:37 173-165-171-243-atlanta dovecot: auth(default): passwd-file /var/mail/vhosts/n1ib.net/shadow: stat() failed: Permission denied
May 29 11:51:37 173-165-171-243-atlanta dovecot: auth(default): passwd-file([email protected],::ffff:192.168.1.56): no passwd file: /var/mail/vhosts/n1ib.net/shadow
May 29 11:51:38 173-165-171-243-atlanta dovecot: auth(default): new auth connection: pid=5602
May 29 11:51:38 173-165-171-243-atlanta dovecot: auth(default): new auth connection: pid=5601
May 29 11:51:38 173-165-171-243-atlanta dovecot: auth(default): client out: FAIL 1 [email protected]
May 29 11:51:38 173-165-171-243-atlanta dovecot: auth(default): client out: FAIL 1 [email protected]
May 29 11:51:38 173-165-171-243-atlanta dovecot: pop3-login: Aborted login: user=<[email protected]>, method=PLAIN, rip=::ffff:192.168.1.56, lip=::ffff:173.165.171.243
May 29 11:51:38 173-165-171-243-atlanta dovecot: pop3-login: Aborted login: user=<[email protected]>, method=PLAIN, rip=::ffff:192.168.1.56, lip=::ffff:173.165.171.243

i am getting permission denied on the shadow file and no passwd file

here is the location of the passwd file and shadow file
.:
total 40
drwxr-x--- 5 vmail vmail 4096 May 21 14:32 .
drwxrwxr-x 3 root mail 4096 May 27 04:02 ..
drwxr-x--- 2 vmail vmail 4096 May 27 14:06 designplansolutions.com
drwxr-x--- 4 vmail vmail 4096 May 24 14:57 n1ib.com
drwxr-x--- 4 vmail vmail 4096 May 25 13:20 n1ib.net

./designplansolutions.com:
total 32
drwxr-x--- 2 vmail vmail 4096 May 27 14:06 .
drwxr-x--- 5 vmail vmail 4096 May 21 14:32 ..
-rw-r----- 1 root root 402 May 27 14:06 passwd
-rw-r----- 1 root root 492 May 27 13:58 shadow

./n1ib.com:
total 48
drwxr-x--- 4 vmail vmail 4096 May 24 14:57 .
drwxr-x--- 5 vmail vmail 4096 May 21 14:32 ..
drwx------ 5 vmail vmail 4096 May 24 14:57 david
-rwxr-x--- 1 vmail vmail 254 May 21 14:32 passdb
drwx------ 5 vmail vmail 4096 May 24 14:57 patrick
-rwxr-x--- 1 vmail vmail 565 May 21 14:32 userdb

./n1ib.net:
total 48
drwxr-x--- 4 vmail vmail 4096 May 25 13:20 .
drwxr-x--- 5 vmail vmail 4096 May 21 14:32 ..
drwxr-x--- 5 vmail vmail 4096 May 24 14:19 david
-rw-r--r-- 1 root root 210 May 24 21:39 passwd
drwxr-x--- 5 vmail vmail 4096 May 24 14:19 rene
-rw-r--r-- 1 root root 327 May 24 21:39 shadow.

here is my dovecot -n output
# 1.0.7: /etc/dovecot.conf
base_dir: /var/run/dovecot/
login_dir: /var/run/dovecot/login
login_executable(default): /usr/libexec/dovecot/imap-login
login_executable(imap): /usr/libexec/dovecot/imap-login
login_executable(pop3): /usr/libexec/dovecot/pop3-login
mail_location: Maildir:/usr/local/vmail/%d/%n
mail_executable(default): /usr/libexec/dovecot/imap
mail_executable(imap): /usr/libexec/dovecot/imap
mail_executable(pop3): /usr/libexec/dovecot/pop3
mail_plugin_dir(default): /usr/lib/dovecot/imap
mail_plugin_dir(imap): /usr/lib/dovecot/imap
mail_plugin_dir(pop3): /usr/lib/dovecot/pop3
auth default:
mechanisms: plain login CRAM-MD5
verbose: yes
debug: yes
debug_passwords: yes
passdb:
driver: passwd-file
args: /var/mail/vhosts/%d/shadow
userdb:
driver: passwd-file
args: username_format=%n@%d /var/mail/vhosts/%d/passwd
socket:
type: listen
client:
path: /var/spool/postfix/private/auth
mode: 432
user: root
group: root

and now my postfconf - output
alias_maps = hash:/etc/aliases
command_directory = /usr/sbin
config_directory = /etc/postfix
daemon_directory = /usr/libexec/postfix
debug_peer_level = 2
html_directory = no
inet_interfaces = all
mail_owner = postfix
mailq_path = /usr/bin/mailq.postfix
manpage_directory = /usr/share/man
mynetworks = 127.0.0.0/8, 173.165.171.243, 173.165.171.246, 192.168.0.0/24
newaliases_path = /usr/bin/newaliases.postfix
readme_directory = /usr/share/doc/postfix-2.3.3/README_FILES
sample_directory = /usr/share/doc/postfix-2.3.3/samples
sendmail_path = /usr/sbin/sendmail.postfix
setgid_group = postdrop
smtpd_recipient_restrictions = permit_mynetworks, permit_sasl_authenticated, reject_unauth_destination
smtpd_sasl_path = private/auth
smtpd_sasl_type = dovecot
unknown_local_recipient_reject_code = 550
virtual_gid_maps = static:5000
virtual_mailbox_base = /var/mail/vhosts
virtual_mailbox_domains = n1ib.net, n1ib.com, designplansolutions.com
virtual_mailbox_maps = hash:/etc/postfix/vmailbox
virtual_minimum_uid = 80
virtual_uid_maps = static:5000

now can some one please tell me how to fix the errors that i am getting i have dealing with this for a week and half now with no joy i have tried setting the permissions to 777 and still no joy.
so please help
 
This is a support forum for the DirectAdmin webhosting panel, which uses the exim MTA, not Postfix.

If you were running DirectAdmin and exim, you probably wouldn't have the problem, but if you did we could probably help you.

But since you're not, you're posting in the wrong place.

That all said, check your Dovecot configuration to make sure you're pointing to the right file; you didn't give us enough of a path to know for certain.

Jeff
 
Back
Top