Can't get mail from server

When I restored my domain I checked the mail to make sure it worked, it retrieved some mail (probably from the backup). I also sent one to make sure of that. Now, when I check the mail, it connects OK but it acts like the folder is empty. I checked the folder and there is mail? I have a few customers, and I figure theirs is the same.

Fresh install of Ubuntu 10.04 then ran install.sh

Howdy,

You may want to try sending an email to your address, and then looking at the email logs (/var/log/mail.log) to get an idea of what’s going on. If you see the email in the mail log being handed off to procmail, you can then take a look at /var/log/procmail.log to see where the email was delivered.

-Eric

From myhiwebservices@gmail.com Sun Jan 23 11:30:23 2011
Subject: test mail1
Folder: /home/my-hi/homes/mail/Maildir/new/1295818225.27160_0.donswe 2401
Time:1295818225 From:myhiwebservices@gmail.com To:mail@my-hi.com User:mail.my-hi Size:2458 Dest:/home/my-hi/homes/mail/Maildir/new/1295818225.27160_0.donswebservices Mode:None

It shows that it is delivering to the right folder. It must have something to do with dovecot, but everything seems OK

Mmm… yeah, that much does look good.

What do you see in the logs when attempting to check your email? Your connection should show up in that same log, mail.log.

-Eric

from mail.log. Seems OK

Jan 23 12:28:41 donswebservices dovecot: pop3-login: Login: user=, method=PLAIN, rip=166.187.138.2, lip=209.139.209.100
Jan 23 12:28:41 donswebservices dovecot: pop3-login: Login: user=<dons.donsws>, method=PLAIN, rip=166.187.138.2, lip=209.139.209.100
Jan 23 12:28:41 donswebservices dovecot: pop3-login: Login: user=<don.hdc>, method=PLAIN, rip=166.187.138.2, lip=209.139.209.100
Jan 23 12:28:41 donswebservices dovecot: pop3-login: Login: user=<don.my-hi>, method=PLAIN, rip=166.187.138.2, lip=209.139.209.213
Jan 23 12:28:41 donswebservices dovecot: pop3-login: Login: user=, method=PLAIN, rip=166.187.138.2, lip=209.139.209.213
Jan 23 12:28:41 donswebservices dovecot: pop3-login: Login: user=<mail.aloha>, method=PLAIN, rip=166.187.138.2, lip=209.139.209.100
Jan 23 12:28:41 donswebservices dovecot: pop3-login: Login: user=<paypal.aloha>, method=PLAIN, rip=166.187.138.2, lip=209.139.209.100
Jan 23 12:28:41 donswebservices dovecot: pop3-login: Login: user=<rex.aloha>, method=PLAIN, rip=166.187.138.2, lip=209.139.209.100
Jan 23 12:28:41 donswebservices dovecot: pop3-login: Login: user=<don.ohia>, method=PLAIN, rip=166.187.138.2, lip=209.139.209.100
Jan 23 12:28:41 donswebservices dovecot: pop3-login: Login: user=<mail.my-hi>, method=PLAIN, rip=166.187.138.2, lip=209.139.209.213
Jan 23 12:28:41 donswebservices dovecot: pop3-login: Login: user=<ebay.my-hi>, method=PLAIN, rip=166.187.138.2, lip=209.139.209.213

All the mail is in the folder. I can use read user mail and they are there… I noticed that the permissions on the mail folder is 700. Is that right?

Hrm, while I don’t know what specifically – I have a suspicion the issue may be with your mail client. If they show up in “Read user mail”, that means that Dovecot is correctly giving out the emails to be downloaded. Those permissions are also correct.

So for some reason, they aren’t showing up in your client… you might consider starting over with your email client – deleting your account, and re-adding it, if that’s possible to do without losing any data.

-Eric

Deleted and recreated now it works.