
27th November 2010, 08:24
|
|
Junior Member
|
|
Join Date: Nov 2010
Posts: 17
Thanks: 0
Thanked 1 Time in 1 Post
|
|
POP3 unable to login and geting mail from mailbox
all,
I am finished installation of ISPConfig and going for testing function. We are using Windows Live Mail for getting POP3 mail but it cannot. I checking Mail.log on ISPCONFIG server, it show below :
dovecot: chdir (/var/vmail/abc.com/keith) failed with uid 5000: Permission denied
docecot: child 31226 (pop3P returned error 89
Any adivse to me for solve the issue.
Keith
|

27th November 2010, 09:48
|
|
Junior Member
|
|
Join Date: Nov 2010
Posts: 17
Thanks: 0
Thanked 1 Time in 1 Post
|
|
It fixed on /var/vmail/abc.com permission. Checked that ISPCONFIG used 700 for create the directory. I need to change to 755 to fix the issue. I want to know that where can change the 755 by default the folder.
|

28th November 2010, 19:10
|
|
Super Moderator
|
|
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,685
Thanks: 1,899
Thanked 2,601 Times in 2,450 Posts
|
|
Which distribution do you use? Which tutorial (URL) did you use to set up the server?
|

29th November 2010, 17:00
|
|
Super Moderator
|
|
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 32,071
Thanks: 697
Thanked 4,251 Times in 3,263 Posts
|
|
700 is the correct directory permission. Changing to 755 is not nescessary and a security risk.
1) Which ISPConfig version do you use?
2) Post the out put of:
ls -la /var/vmail/
|

29th December 2010, 08:31
|
|
Junior Member
|
|
Join Date: Sep 2010
Posts: 5
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
I have the same problem.
ISPConfig Version: 3.0.3.1
ns1:/# ls -la /var/vmail/
total 20K
drwxr-xr-x 4 root root 4,0K Dez 29 04:39 .
drwxr-xr-x 15 root root 4,0K Dez 29 03:36 ..
drwx------ 3 root root 4,0K Dez 29 05:11 abc.com.br
-rwxr-xr-x 1 vmail vmail 1,4K Dez 29 03:36 .mailfilter
drwxr-xr-x 2 root root 4,0K Dez 29 03:36 mailfilters
ns1:/var/vmail/abc.com.br# ls -lah
total 12K
drwx------ 3 root root 4,0K Dez 29 05:11 .
drwxr-xr-x 4 root root 4,0K Dez 29 04:39 ..
drwx------ 3 root root 4,0K Dez 29 05:09 rick
ns1:/var/vmail/abc.com.br/rick# ls
total 12K
drwx------ 3 root root 4,0K Dez 29 05:09 .
drwx------ 3 root root 4,0K Dez 29 05:11 ..
drwx------ 9 root root 4,0K Dez 29 05:09 Maildir
ns1:/var/vmail/abc.com.br/rick/Maildir# ls
total 44K
drwx------ 9 root root 4,0K Dez 29 05:09 .
drwx------ 3 root root 4,0K Dez 29 05:09 ..
-rwxr--r-- 1 root root 47 Dez 29 05:09 courierimapsubscribed
drwx------ 2 root root 4,0K Dez 29 05:09 cur
drwx------ 5 root root 4,0K Dez 29 05:09 .Drafts
drwx------ 5 root root 4,0K Dez 29 05:09 .Junk
drwx------ 2 root root 4,0K Dez 29 05:09 new
drwx------ 5 root root 4,0K Dez 29 05:09 .Sent
-rwxr--r-- 1 root root 23 Dez 29 05:09 subscriptions
drwx------ 2 root root 4,0K Dez 29 05:09 tmp
drwx------ 5 root root 4,0K Dez 29 05:09 .Trash
Debug:
Dec 29 05:12:35 ns1 dovecot: imap-login: Login: user=<rick@abc.com.br>, method=PLAIN, rip=192.168.0.5, lip=192.168.0.1, TLS
Dec 29 05:12:35 ns1 dovecot: auth(default): client in: AUTH#0111#011PLAIN#011service=IMAP#011secured#011l ip=192.168.0.1#011rip=192.168.0.5
Dec 29 05:12:35 ns1 dovecot: auth(default): client out: CONT#0111#011
Dec 29 05:12:35 ns1 dovecot: auth(default): client in: CONT#0111#<hidden>
Dec 29 05:12:35 ns1 dovecot: auth(default): client out: OK#0111#011user=rick@abc.com.br
Dec 29 05:12:35 ns1 dovecot: auth-worker(default): sql(rick@abc.com.br,192.168.0.5): query: SELECT password FROM mail_user WHERE email = 'rick@abc.com.br' AND disableimap = 'n'
Dec 29 05:12:35 ns1 dovecot: chdir(/var/vmail/abc.com.br/rick) failed with uid 5000: Permission denied
Dec 29 05:12:35 ns1 dovecot: auth(default): master in: REQUEST#01122#0114636#0111
Dec 29 05:12:35 ns1 dovecot: auth(default): master out: USER#01122#011rick@abc.com.br#011user=rick@abc.com .br#011home=/var/vmail/abc.com.br/rick#011mail=maildir:/var/vmail/abc.com.br/rick/Maildir#011uid=5000#011gid=5000#011quota=maildir:s torage=10240#011sieve=/var/vmail/abc.com.br/rick/.sieve
Dec 29 05:12:35 ns1 dovecot: auth-worker(default): sql(rick@abc.com.br,192.168.0.5): SELECT email as user, maildir as home, CONCAT('maildir:', maildir, '/Maildir') as mail, uid, gid, CONCAT('maildir:storage=', floor(quota/1024)) AS quota, CONCAT(maildir, '/.sieve') as sieve FROM mail_user WHERE email = 'rick@abc.com.br' AND disableimap = 'n'
Dec 29 05:12:35 ns1 dovecot: child 4704 (imap) returned error 89
Dec 29 05:12:35 ns1 dovecot: imap-login: Login: user=<rick@abc.com.br>, method=PLAIN, rip=192.168.0.5, lip=192.168.0.1, TLS
Fictitious Domain: abc.com.br
Fictitious Server IP : 192.168.0.1
Fictitious Client IP: 192.168.0.5
I've tried everything and I can not solve this problem.
regards,
Rick
Last edited by rikw22; 29th December 2010 at 08:36.
|

30th December 2010, 17:18
|
|
Super Moderator
|
|
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,685
Thanks: 1,899
Thanked 2,601 Times in 2,450 Posts
|
|
Can you try this?
Code:
chown -R vmail:vmail /var/vmail/abc.com.br
Which distribution do you use?
|

31st December 2010, 03:58
|
|
Junior Member
|
|
Join Date: Sep 2010
Posts: 5
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
# cat /proc/version
Linux version 2.6.26-2-amd64 (Debian 2.6.26-26lenny1) (dannf@debian.org) (gcc version 4.1.3 20080704 (prerelease) (Debian 4.1.2-25)) #1 SMP Thu Nov 25 04:30:55 UTC 2010
This:
Code:
chown -R vmail:vmail /var/vmail/abc.com.br
this solves my problem temporarily
I'm finding strange is because it created the files / folders as root
they should not be the owner www-data user for apache webserver?
Thank you for your attention and help!
Last edited by rikw22; 31st December 2010 at 03:59.
Reason: I forgot to thank =P
|

31st December 2010, 14:24
|
|
Super Moderator
|
|
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,685
Thanks: 1,899
Thanked 2,601 Times in 2,450 Posts
|
|
Quote:
Originally Posted by rikw22
I'm finding strange is because it created the files / folders as root
they should not be the owner www-data user for apache webserver?
|
No, it must be the user/group vmail (this is smtp, not http). Please check if ISPConfig uses the correct user/group when you create a new account.
|

1st January 2011, 21:47
|
|
Junior Member
|
|
Join Date: Sep 2010
Posts: 5
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
Sorry, I think I expressed it badly,
What I meant is that ISPConfig created the files as root,
Folders User Defaults (Maildir/*) when I create the email account
|
| Thread Tools |
|
|
| Display Modes |
Linear Mode
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
All times are GMT +2. The time now is 08:14.
|
|
Recent comments
15 hours 49 min ago
16 hours 49 min ago
20 hours 36 min ago
21 hours 50 min ago
1 day 1 hour ago
1 day 8 hours ago
1 day 17 hours ago
1 day 19 hours ago
2 days 10 hours ago
2 days 12 hours ago