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 30th June 2008, 13:08
ajw_doc ajw_doc is offline
Member
 
Join Date: Jun 2008
Posts: 36
Thanks: 0
Thanked 0 Times in 0 Posts
Default Can't receive emails via POP3

Hi,

Can't receive emails via POP3. I'm running Dovecot, Maildir is checked. IMAP accounts on the same domain are fine but pop3 isn't. Mail is delivered but can't be downloaded.

Last log entry for pop3 connection:

Code:
Jun 30 11:06:34 server1 dovecot: pop3-login: Login: user=<name.domain.org>, method=PLAIN, rip=::ffff:xx.xx.xxx.xxx, lip=::ffff:xx.xx.xxx.xxx
Jun 30 11:06:34 server1 dovecot: POP3(name.domain.org): Disconnected: Logged out top=0/0, retr=0/0, del=0/0, size=0
To be on safe side I delete user and recreated them but still no joy.

Any ideas?

Thanks

AJ
Reply With Quote
Sponsored Links
  #2  
Old 30th June 2008, 13:56
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 36,733
Thanks: 840
Thanked 5,597 Times in 4,407 Posts
Default

And the login with the exact same username with IMAP works?
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
  #3  
Old 30th June 2008, 14:09
ajw_doc ajw_doc is offline
Member
 
Join Date: Jun 2008
Posts: 36
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Hi,

IMAP is the same for this account. Can connect fine and with no errors in mail log but no email downloads. There are two in new at the moment so they are getting delivered.
Reply With Quote
  #4  
Old 30th June 2008, 14:28
ajw_doc ajw_doc is offline
Member
 
Join Date: Jun 2008
Posts: 36
Thanks: 0
Thanked 0 Times in 0 Posts
Default

I think I might have worked out the problem.

For other domains everything is under /home/domain/user/userid/Maildir/

but for this one it seems to create a new user thus: /home/domain/user/userid/user/userid/Maildir

The email is being delivered to /home/domain/user/userid/Maildir/new as it should be but it's connecting to the above extra directory which has nothing in. I'm not sure why this is as the other two accounts on that domain are set up properly as are the accounts on other domains.

[edit]
I've tried adding a brand new user - this is set up correctly but still can't receive email via POP or IMAP

Last edited by ajw_doc; 30th June 2008 at 14:31.
Reply With Quote
  #5  
Old 30th June 2008, 14:41
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 36,733
Thanks: 840
Thanked 5,597 Times in 4,407 Posts
Default

Ok, I guess you dont use ISPConfig, as ISPConfig never uses these directories? I will move your post to a general forum.
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
  #6  
Old 30th June 2008, 14:50
ajw_doc ajw_doc is offline
Member
 
Join Date: Jun 2008
Posts: 36
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Quote:
Originally Posted by till View Post
Ok, I guess you dont use ISPConfig, as ISPConfig never uses these directories? I will move your post to a general forum.
Yes I do use ISpconfig hence posting in the ispconfig section so can you move it back please? The only thing that has been changed is the dovecot mail location as it was wrong. and the location of the domain directories as I have them on a second drive mounted to home.

Last edited by ajw_doc; 30th June 2008 at 15:12. Reason: wrong thing
Reply With Quote
  #7  
Old 30th June 2008, 15:01
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 36,733
Thanks: 840
Thanked 5,597 Times in 4,407 Posts
Default

Ok. Please post the content of the main.cf file, comments stripped.
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
  #8  
Old 30th June 2008, 15:02
ajw_doc ajw_doc is offline
Member
 
Join Date: Jun 2008
Posts: 36
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Will do. As an aside I've completely removed the domain, emptied recylce bin and re added everything. Same thing happens but only to the same account. It's very odd!
Reply With Quote
  #9  
Old 30th June 2008, 15:09
ajw_doc ajw_doc is offline
Member
 
Join Date: Jun 2008
Posts: 36
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Code:
queue_directory = /var/spool/postfix
command_directory = /usr/sbin
daemon_directory = /usr/libexec/postfix
data_directory = /var/lib/postfix
mail_owner = postfix
inet_interfaces = all
mydestination = $myhostname, localhost.$mydomain, localhost
unknown_local_recipient_reject_code = 550
alias_maps = hash:/etc/aliases
alias_database = hash:/etc/aliases
debug_peer_level = 2
debugger_command =
	 PATH=/bin:/usr/bin:/usr/local/bin:/usr/X11R6/bin
	 ddd $daemon_directory/$process_name $process_id & sleep 5

sendmail_path = /usr/sbin/sendmail.postfix
newaliases_path = /usr/bin/newaliases.postfix
mailq_path = /usr/bin/mailq.postfix
setgid_group = postdrop
html_directory = no
manpage_directory = /usr/share/man
sample_directory = /usr/share/doc/postfix-2.5.1/samples
readme_directory = /usr/share/doc/postfix-2.5.1/README_FILES
inet_protocols = all
smtpd_sasl_local_domain = 
smtpd_sasl_auth_enable = yes
smtpd_sasl_security_options = noanonymous
broken_sasl_auth_clients = yes
smtpd_sasl_authenticated_header = yes
smtpd_recipient_restrictions = permit_sasl_authenticated,permit_mynetworks,reject_unauth_destination
mynetworks = 127.0.0.0/8
smtpd_tls_auth_only = no
smtp_use_tls = yes
smtpd_use_tls = yes
smtp_tls_note_starttls_offer = yes
smtpd_tls_key_file = /etc/postfix/ssl/smtpd.key
smtpd_tls_cert_file = /etc/postfix/ssl/smtpd.crt
smtpd_tls_CAfile = /etc/postfix/ssl/cacert.pem
smtpd_tls_loglevel = 1
smtpd_tls_received_header = yes
smtpd_tls_session_cache_timeout = 3600s
tls_random_source = dev:/dev/urandom
myhostname = server1.domain.co.uk
home_mailbox = Maildir/
mailbox_command = 
virtual_maps = hash:/etc/postfix/virtusertable
mydestination = /etc/postfix/local-host-names
I followed this setup http://howtoforge.com/perfect-server-fedora9
Reply With Quote
  #10  
Old 30th June 2008, 15:24
ajw_doc ajw_doc is offline
Member
 
Join Date: Jun 2008
Posts: 36
Thanks: 0
Thanked 0 Times in 0 Posts
 
Default

I've worked out what the problem is - but I don't know the solution to it

It so happens that all other accounts on the server are admin accounts - these all work fine. I've just tried adding a normal account to another domain and get the same problem - it creates the Maildir in an extra user folder within the username folder.

Is this because I have the mail location in dovecot.conf set as:
Code:
mail_location = maildir:~/user/%u/Maildir
However, if this is the problem what is the correct path as that is the only thing that works for all my other (admin) email accounts?
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
cannot receive emails after made website online llamy General 20 27th December 2007 02:14
Cannot receive emails gorolla Installation/Configuration 10 6th September 2006 03:11
SMTP failed & can't receive new emails torusturtle Installation/Configuration 3 20th August 2006 20:48
Cannot receive emails skeeta Installation/Configuration 18 22nd April 2006 17:02
Cannot receive emails skeeta Installation/Configuration 10 3rd September 2005 10:14


All times are GMT +2. The time now is 22:40.


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