Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > ISPConfig 2 > Installation/Configuration

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Reply
 
Thread Tools Display Modes
  #1  
Old 1st October 2006, 11:40
meekish meekish is offline
Junior Member
 
Join Date: Sep 2006
Posts: 29
Thanks: 0
Thanked 0 Times in 0 Posts
Default Verify email setup

I went through the tutorial here on howtoforge for setting up the perfect ubuntu dapper server. I then installed ISPConfig. Everything with ISPConfig seems to be working fine, except for email. I have deployed four sites using ISPConfig and have created email users for each, but I still can't login to my POP3 server using the accounts ISPConfig created.

Where do I need to look to begin troubleshooting?
Reply With Quote
Sponsored Links
  #2  
Old 1st October 2006, 12:02
edge edge is offline
Moderator
 
Join Date: Dec 2005
Location: The Netherlands
Posts: 2,034
Thanks: 264
Thanked 151 Times in 131 Posts
Default

Are you using the ISPconfig's "User" name as account name in your email client, or the email address?

If it's the email address, change it to the User name (web1_info, or whatever it is on your system for that email address), and try again
Reply With Quote
  #3  
Old 2nd October 2006, 06:04
meekish meekish is offline
Junior Member
 
Join Date: Sep 2006
Posts: 29
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Quote:
Originally Posted by edge
Are you using the ISPconfig's "User" name as account name in your email client, or the email address?

If it's the email address, change it to the User name (web1_info, or whatever it is on your system for that email address), and try again
I've tried logging in with just the User name, but to no avail. In my email client, it just tells me that the password was rejected. Here's the tail of my /var/log/mail.log file:

Code:
Oct  2 03:57:32 reformationstudios courierpop3login: LOGIN FAILED, ip=[::ffff:69.92.207.127]
Oct  2 03:57:33 reformationstudios courierpop3login: LOGOUT, ip=[::ffff:69.92.207.127]
Oct  2 03:57:37 reformationstudios courierpop3login: Connection, ip=[::ffff:69.92.207.127]
Oct  2 03:57:37 reformationstudios courierpop3login: chdir "/var/www/web3/user/web3_jhurt": Permission denied

I tried changing my password for this user to a couple of different things, but still can't seem to get in. Does the permission denied line in the log mean that my password was incorrect, or that the courierpop3login process doesn't have adequate permissions to access the file that stores the passwords?

Also, is the address of my POP3 server just www.mydomain.com, or mydomain.com, or mail.mydomain.com?
Reply With Quote
  #4  
Old 2nd October 2006, 12:06
till till is online now
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 35,703
Thanks: 819
Thanked 5,320 Times in 4,173 Posts
Default

Have you enabled the "Maildir" Checkbox in ISPConfig under Management > server > settings?

What is the output of:

ls -la /var/www/web3/user/

Quote:
Also, is the address of my POP3 server just www.mydomain.com, or mydomain.com, or mail.mydomain.com?
That depends on your DNS setup. You can use any domain that points to your server IP.
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
  #5  
Old 2nd October 2006, 18:47
meekish meekish is offline
Junior Member
 
Join Date: Sep 2006
Posts: 29
Thanks: 0
Thanked 0 Times in 0 Posts
Default

I did not have the "maildir" checkbox enabled...

Here is the output before enabling that checkbox
Code:
ls -la /var/www/web3/user
total 4
drwxr-xr-x 4 www-data web3 1024 Sep  9 23:08 .
drwxr-xr-x 8 www-data web3 1024 Sep 12 04:10 ..
-r-------- 1 root     root    0 Sep  9 22:55 .no_delete
drwxr-xr-x 3 meekish  web3 1024 Sep  9 22:56 web3_jhurt
drwxr-xr-x 3 meekish  web3 1024 Sep 12 04:10 web3_test
And the output after enabling that checkbox and adding another user "jed.hurt" :

Code:
ls -la /var/www/web3/user
total 5
drwxr-xr-x 5 www-data      web3 1024 Oct  2 16:43 .
drwxr-xr-x 8 www-data      web3 1024 Sep 12 04:10 ..
-r-------- 1 root          root    0 Sep  9 22:55 .no_delete
drwxr-xr-x 4 web3_jed.hurt web3 1024 Oct  2 16:43 web3_jed.hurt
drwxr-xr-x 4 meekish       web3 1024 Oct  2 16:41 web3_jhurt
drwxr-xr-x 3 meekish       web3 1024 Sep 12 04:10 web3_test
And here's the tail of my mail.log file after trying to check the email of the new user I just created:

Code:
Oct  2 16:43:09 reformationstudios postfix/master[14203]: warning: inet_protocols: IPv6 support is disabled: Address family not supported by protocol
Oct  2 16:43:09 reformationstudios postfix/master[14203]: warning: inet_protocols: configuring for IPv4 support only
Oct  2 16:43:09 reformationstudios postfix/master[14203]: daemon started -- version 2.2.10, configuration /etc/postfix
Oct  2 16:43:09 reformationstudios postfix/pickup[14219]: warning: inet_protocols: IPv6 support is disabled: Address family not supported by protocol
Oct  2 16:43:09 reformationstudios postfix/pickup[14219]: warning: inet_protocols: configuring for IPv4 support only
Oct  2 16:43:09 reformationstudios postfix/qmgr[14220]: warning: inet_protocols: IPv6 support is disabled: Address family not supported by protocol
Oct  2 16:43:09 reformationstudios postfix/qmgr[14220]: warning: inet_protocols: configuring for IPv4 support only
Oct  2 16:43:30 reformationstudios courierpop3login: Connection, ip=[::ffff:69.92.207.127]
Oct  2 16:43:35 reformationstudios courierpop3login: LOGIN FAILED, ip=[::ffff:69.92.207.127]
Oct  2 16:43:35 reformationstudios courierpop3login: LOGOUT, ip=[::ffff:69.92.207.127]
Oct  2 16:45:39 reformationstudios courierpop3login: Connection, ip=[::ffff:69.92.207.127]
Oct  2 16:45:45 reformationstudios courierpop3login: LOGIN FAILED, ip=[::ffff:69.92.207.127]
Oct  2 16:45:45 reformationstudios courierpop3login: LOGOUT, ip=[::ffff:69.92.207.127]
Reply With Quote
  #6  
Old 3rd October 2006, 17:18
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,739 Times in 2,574 Posts
Default

Quote:
Originally Posted by meekish
I did not have the "maildir" checkbox enabled...

Here is the output before enabling that checkbox
Code:
ls -la /var/www/web3/user
total 4
drwxr-xr-x 4 www-data web3 1024 Sep  9 23:08 .
drwxr-xr-x 8 www-data web3 1024 Sep 12 04:10 ..
-r-------- 1 root     root    0 Sep  9 22:55 .no_delete
drwxr-xr-x 3 meekish  web3 1024 Sep  9 22:56 web3_jhurt
drwxr-xr-x 3 meekish  web3 1024 Sep 12 04:10 web3_test
And the output after enabling that checkbox and adding another user "jed.hurt" :

Code:
ls -la /var/www/web3/user
total 5
drwxr-xr-x 5 www-data      web3 1024 Oct  2 16:43 .
drwxr-xr-x 8 www-data      web3 1024 Sep 12 04:10 ..
-r-------- 1 root          root    0 Sep  9 22:55 .no_delete
drwxr-xr-x 4 web3_jed.hurt web3 1024 Oct  2 16:43 web3_jed.hurt
drwxr-xr-x 4 meekish       web3 1024 Oct  2 16:41 web3_jhurt
drwxr-xr-x 3 meekish       web3 1024 Sep 12 04:10 web3_test
Please run
Code:
chown web3_jhurt /var/www/web3/user/web3_jhurt
chown web3_test /var/www/web3/user/web3_test
When you want to log in with your email client to the web3_jhurt account, you're using the usernamr web3_jhurt, right?

What's the output of
Code:
ls -la /var/www/web3/user/web3_jhurt
?
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
  #7  
Old 5th October 2006, 07:46
meekish meekish is offline
Junior Member
 
Join Date: Sep 2006
Posts: 29
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Here is the output after chowning those directories:

Code:
ls -la /var/www/web3/user/web3_jhurt
total 87
drwxr-xr-x 4 web3_jhurt web3  1024 Oct  2 16:41 .
drwxr-xr-x 5 meekish    web3  1024 Oct  2 16:43 ..
-rw-r--r-- 1 meekish    root   103 Oct  2 16:41 .antivirus.rc
-rw-r--r-- 1 meekish    root   789 Oct  2 16:41 .autoresponder.rc
-rw------- 1 meekish    web3    24 Oct  2 16:41 .forward
-rw-r--r-- 1 meekish    root 67866 Oct  2 16:41 .html-trap.rc
-rw-r--r-- 1 meekish    root  3889 Oct  2 16:41 .local-rules.rc
-rw-r--r-- 1 meekish    root   204 Oct  2 16:41 .mailsize.rc
-rw-r--r-- 1 meekish    root   451 Oct  2 16:41 .procmailrc
-rw-r--r-- 1 meekish    root   656 Oct  2 16:41 .quota.rc
-rw-r--r-- 1 meekish    root  1146 Oct  2 16:41 .spamassassin.rc
-rw-r--r-- 1 meekish    root  2010 Oct  2 16:41 .user_prefs
-rw-r--r-- 1 meekish    root    32 Oct  2 16:41 .vacation.msg
drwx------ 5 meekish    web3  1024 Oct  2 16:41 Maildir
drwxrwxr-x 2 meekish    web3  1024 Sep  9 22:56 web
I'm still unable to login using my POP3 client...

Last edited by meekish; 5th October 2006 at 07:48.
Reply With Quote
  #8  
Old 5th October 2006, 10:39
till till is online now
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 35,703
Thanks: 819
Thanked 5,320 Times in 4,173 Posts
Default

You have to change the owner to recursively.

Please login as root and execute the command:

Quote:
chown -R web3_jhurt:web3 /var/www/web3/user/web3_jhurt
Quote:
chown -R web3_test:web3 /var/www/web3/user/web3_test
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
  #9  
Old 7th October 2006, 02:33
meekish meekish is offline
Junior Member
 
Join Date: Sep 2006
Posts: 29
Thanks: 0
Thanked 0 Times in 0 Posts
Default

I ran the chown recursively. I'm still unable to login... Here is a recurvsive listing of the web3_jhurt directory:

Code:
ls web3_jhurt -Rla
web3_jhurt:
total 87
drwxr-xr-x 4 web3_jhurt web3  1024 Oct  2 16:41 .
drwxr-xr-x 5 www-data   web3  1024 Oct  2 16:43 ..
-rw-r--r-- 1 web3_jhurt web3   103 Oct  2 16:41 .antivirus.rc
-rw-r--r-- 1 web3_jhurt web3   789 Oct  2 16:41 .autoresponder.rc
-rw------- 1 web3_jhurt web3    24 Oct  2 16:41 .forward
-rw-r--r-- 1 web3_jhurt web3 67866 Oct  2 16:41 .html-trap.rc
-rw-r--r-- 1 web3_jhurt web3  3889 Oct  2 16:41 .local-rules.rc
-rw-r--r-- 1 web3_jhurt web3   204 Oct  2 16:41 .mailsize.rc
-rw-r--r-- 1 web3_jhurt web3   451 Oct  2 16:41 .procmailrc
-rw-r--r-- 1 web3_jhurt web3   656 Oct  2 16:41 .quota.rc
-rw-r--r-- 1 web3_jhurt web3  1146 Oct  2 16:41 .spamassassin.rc
-rw-r--r-- 1 web3_jhurt web3  2010 Oct  2 16:41 .user_prefs
-rw-r--r-- 1 web3_jhurt web3    32 Oct  2 16:41 .vacation.msg
drwx------ 5 web3_jhurt web3  1024 Oct  2 16:41 Maildir
drwxrwxr-x 2 web3_jhurt web3  1024 Sep  9 22:56 web

web3_jhurt/Maildir:
total 5
drwx------ 5 web3_jhurt web3 1024 Oct  2 16:41 .
drwxr-xr-x 4 web3_jhurt web3 1024 Oct  2 16:41 ..
drwx------ 2 web3_jhurt web3 1024 Oct  2 16:41 cur
drwx------ 2 web3_jhurt web3 1024 Oct  2 16:41 new
drwx------ 2 web3_jhurt web3 1024 Oct  2 16:41 tmp

web3_jhurt/Maildir/cur:
total 2
drwx------ 2 web3_jhurt web3 1024 Oct  2 16:41 .
drwx------ 5 web3_jhurt web3 1024 Oct  2 16:41 ..

web3_jhurt/Maildir/new:
total 2
drwx------ 2 web3_jhurt web3 1024 Oct  2 16:41 .
drwx------ 5 web3_jhurt web3 1024 Oct  2 16:41 ..

web3_jhurt/Maildir/tmp:
total 2
drwx------ 2 web3_jhurt web3 1024 Oct  2 16:41 .
drwx------ 5 web3_jhurt web3 1024 Oct  2 16:41 ..

web3_jhurt/web:
total 4
drwxrwxr-x 2 web3_jhurt web3 1024 Sep  9 22:56 .
drwxr-xr-x 4 web3_jhurt web3 1024 Oct  2 16:41 ..
-rwxrwxr-x 1 web3_jhurt web3 1197 Sep  9 22:56 index.html
I sent an email to jhurt@reformationstudios.com and did not get a returned to sender email, but my mail.log now looks like this:

Code:
Oct  7 00:31:09 reformationstudios postfix/postdrop[25656]: warning: mail_queue_enter: create file maildrop/343316.25656: Permission denied
Oct  7 00:31:09 reformationstudios postfix/postdrop[25612]: warning: mail_queue_enter: create file maildrop/343491.25612: Permission denied
Oct  7 00:31:14 reformationstudios postfix/postdrop[25799]: warning: mail_queue_enter: create file maildrop/955896.25799: Permission denied
Oct  7 00:31:19 reformationstudios postfix/postdrop[25656]: warning: mail_queue_enter: create file maildrop/344780.25656: Permission denied
Oct  7 00:31:19 reformationstudios postfix/postdrop[25612]: warning: mail_queue_enter: create file maildrop/344789.25612: Permission denied
Oct  7 00:31:24 reformationstudios postfix/postdrop[25799]: warning: mail_queue_enter: create file maildrop/957392.25799: Permission denied
Oct  7 00:31:29 reformationstudios postfix/postdrop[25656]: warning: mail_queue_enter: create file maildrop/345266.25656: Permission denied
Oct  7 00:31:29 reformationstudios postfix/postdrop[25612]: warning: mail_queue_enter: create file maildrop/345269.25612: Permission denied
Oct  7 00:31:31 reformationstudios courierpop3login: Connection, ip=[::ffff:69.92.207.127]
Oct  7 00:31:32 reformationstudios courierpop3login: chdir "/var/www/web3/user/web3_jhurt": Permission denied
Oct  7 00:31:34 reformationstudios postfix/postdrop[25799]: warning: mail_queue_enter: create file maildrop/958869.25799: Permission denied
Oct  7 00:31:38 reformationstudios courierpop3login: Connection, ip=[::ffff:69.92.207.127]
Oct  7 00:31:38 reformationstudios courierpop3login: chdir "/var/www/web3/user/web3_jhurt": Permission denied
Looks like the postfix process is trying to write the received email file to maildir, but can't get directory permissions?
Reply With Quote
  #10  
Old 7th October 2006, 19:40
meekish meekish is offline
Junior Member
 
Join Date: Sep 2006
Posts: 29
Thanks: 0
Thanked 0 Times in 0 Posts
 
Default

Is it hopeless?
Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

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 On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
re:perfect setup ubuntu 6.06 - email setup when not using ispconfig caffine_fizz HOWTO-Related Questions 5 19th August 2006 20:05
email setup shiidii Installation/Configuration 2 2nd August 2006 11:39
email forwarding locally consumes all resources rdells General 20 1st May 2006 19:43
Debian Sarge, ISPConfig, perfect setup followed, email can't login! Zoon Installation/Configuration 3 12th February 2006 20:58
Postfix or email server setup matrich Server Operation 3 24th November 2005 22:26


All times are GMT +2. The time now is 18:14.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.