Accessing IMAP folders problem.

Discussion in 'Installation/Configuration' started by FeraTechInc, Feb 15, 2007.

  1. FeraTechInc

    FeraTechInc ISPConfig Developer

    So I followed the Ubuntu Edgy perfect setup and installed ISPConfig. I set up an IMAP account and on my server run Thunderbird. What Thunderbird does is, it downloads all my mail from my 3 different accounts into 1. Then I have a PC and a Desktop which I use to actually check my mail.

    The problem is that my PC and Laptop both have a problem when connecting to the IMAP account. They frequently time out. It seems like there is a restricted number of users that can be connected to that account at a time.

    Is there a way to do this or an alternative way to get all my mail into one folder and then sync it between 3 difference PC's.
     
  2. till

    till Super Moderator

    Do you get any error messages in the mail log? Does your server use Maildir or Mbox format for storing the emails?
     
  3. FeraTechInc

    FeraTechInc ISPConfig Developer

    Code:
    Feb 15 14:27:42 feraserver imapd: LOGOUT, user=web2_system, ip=[::ffff:67.173.112.114], headers=303, body=4252, rcvd=1053, sent=369311, time=15
    Feb 15 14:52:47 feraserver imapd: DISCONNECTED, user=web2_system, ip=[::ffff:67.173.112.114], headers=0, body=4028, rcvd=333, sent=5336, time=2482
    Feb 15 15:00:41 feraserver imapd: Connection, ip=[::ffff:67.173.112.114]
    Feb 15 15:00:41 feraserver imapd: LOGIN, user=web2_system, ip=[::ffff:67.173.112.114], protocol=IMAP
    Feb 15 15:04:07 feraserver imapd: Connection, ip=[::ffff:67.173.112.114]
    Feb 15 15:04:07 feraserver imapd: LOGIN, user=web2_system, ip=[::ffff:67.173.112.114], protocol=IMAP
    Feb 15 15:04:29 feraserver imapd: Connection, ip=[::ffff:192.168.0.100]
    Feb 15 15:04:29 feraserver imapd: LOGIN, user=web2_system, ip=[::ffff:192.168.0.100], protocol=IMAP
    Feb 15 15:05:08 feraserver imapd: DISCONNECTED, user=web2_system, ip=[::ffff:67.173.112.114], headers=0, body=0, rcvd=206, sent=337401, time=61
    Feb 15 15:07:33 feraserver imapd: Connection, ip=[::ffff:67.173.112.114]
    Feb 15 15:07:34 feraserver imapd: LOGIN, user=web2_system, ip=[::ffff:67.173.112.114], protocol=IMAP
    Feb 15 15:14:25 feraserver imapd: LOGOUT, user=web2_system, ip=[::ffff:67.173.112.114], headers=661, body=3104, rcvd=5377, sent=371682, time=411
    Feb 15 15:20:24 feraserver imapd: Connection, ip=[::ffff:67.173.112.114]
    Feb 15 15:20:24 feraserver imapd: LOGIN, user=web2_system, ip=[::ffff:67.173.112.114], protocol=IMAP
    Feb 15 15:22:49 feraserver imapd: LOGOUT, user=web2_system, ip=[::ffff:67.173.112.114], headers=677, body=56530, rcvd=4047, sent=424237, time=145
    Feb 15 15:34:29 feraserver imapd: TIMEOUT, user=web2_system, ip=[::ffff:192.168.0.100], headers=0, body=0, rcvd=112, sent=551, time=1800
    Feb 15 15:53:45 feraserver imapd: DISCONNECTED, user=web2_system, ip=[::ffff:67.173.112.114], headers=0, body=8091, rcvd=572, sent=10058, time=3184
    Feb 15 16:23:15 feraserver postfix/smtpd[25359]: warning: 204.228.237.29: hostname host-204-228-237-29.ns1.spro.net verification failed: Name or service not known
    Feb 15 16:23:15 feraserver postfix/smtpd[25359]: connect from unknown[204.228.237.29]
    Feb 15 16:23:15 feraserver postfix/smtpd[25359]: lost connection after CONNECT from unknown[204.228.237.29]
    Feb 15 16:23:15 feraserver postfix/smtpd[25359]: disconnect from unknown[204.228.237.29]
    Feb 15 16:26:35 feraserver postfix/anvil[25362]: statistics: max connection rate 1/60s for (smtp:204.228.237.29) at Feb 15 16:23:15
    Feb 15 16:26:35 feraserver postfix/anvil[25362]: statistics: max connection count 1 for (smtp:204.228.237.29) at Feb 15 16:23:15
    Feb 15 16:26:35 feraserver postfix/anvil[25362]: statistics: max cache size 1 at Feb 15 16:23:15
    Feb 15 19:49:55 feraserver postfix/smtpd[638]: connect from localhost[127.0.0.1]
    Feb 15 19:49:55 feraserver postfix/smtpd[638]: lost connection after CONNECT from localhost[127.0.0.1]
    Feb 15 19:49:55 feraserver postfix/smtpd[638]: disconnect from localhost[127.0.0.1]
    Feb 15 19:53:19 feraserver imapd-ssl: couriertls: connect: Connection reset by peer
    Feb 15 19:55:16 feraserver imapd: Connection, ip=[::ffff:74.135.21.114]
    Feb 15 19:55:16 feraserver imapd: Disconnected, ip=[::ffff:74.135.21.114], time=0
    Feb 15 20:01:23 feraserver courierpop3login: Connection, ip=[::ffff:127.0.0.1]
    Feb 15 20:01:23 feraserver courierpop3login: Disconnected, ip=[::ffff:127.0.0.1]
    Feb 15 20:01:23 feraserver postfix/smtpd[1129]: connect from localhost.localdomain[127.0.0.1]
    Feb 15 20:01:23 feraserver postfix/smtpd[1129]: lost connection after CONNECT from localhost.localdomain[127.0.0.1]
    Feb 15 20:01:23 feraserver postfix/smtpd[1129]: disconnect from localhost.localdomain[127.0.0.1]
    Here is my log file. There aren't any errors, just a strange connection from 204.228.237.29 which shouldn't be there.
     
  4. till

    till Super Moderator

    Does your server use Maildir or Mbox format for storing the emails?
     
  5. FeraTechInc

    FeraTechInc ISPConfig Developer

    Honestly I am not sure. However, I did opt not to have Postfix deliver mail to the maildir and decided to use ISPConfig system instead.

    Is there any way I can double check?
     
  6. martinfst

    martinfst HowtoForge Supporter

    ISPConfig uses the regular Postfix installation. So if you skipped the postfix setup, you have missed a couple of essential steps. Please reread the howto and do the postfix (+sasl and the rest) parts.
     
  7. FeraTechInc

    FeraTechInc ISPConfig Developer

    I did not skip the postfix setup. My mail would not work at all if it was the case. This is the part of the setup I skipped:
    Code:
     If you do not want to use ISPConfig, configure Postfix to deliver emails to a user's Maildir*:
    
    postconf -e 'home_mailbox = Maildir/'
    postconf -e 'mailbox_command ='
    /etc/init.d/postfix restart 
    As you can specifically see this is only to use the maildir.
     
  8. martinfst

    martinfst HowtoForge Supporter

    If you have followed the default howto for all other tools, those will assume Maildir format. Which means you shouldn't have skipped these steps. Please execute those commands to complete your installation.

    After restarting Postfix, I'm not sure if you have to re-create the mail account. That may be the case. Also sent an initial 'welcome' email to this account, or use the 'maildircreate' command to create the Maildir structure for this user. Postfix will automagically created the required directories, but the IMAP/POP servers will fail if the directory structure is not there.
     

Share This Page