Results 1 to 2 of 2
Hi all! I recently followed the 'Virtual Users And Domains With Postfix, Courier, MySQL And SquirrelMail (CentOS 6.2 x86_64)' guide on HowToForge, and after a lot of graft I have ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
- 05-23-2012 #1
- Join Date
- Apr 2012
IMAP not receiving virtual mailbox mail on Postfix/Courier setup
I recently followed the 'Virtual Users And Domains With Postfix, Courier, MySQL And SquirrelMail (CentOS 6.2 x86_64)' guide on HowToForge, and after a lot of graft I have now got the server to a point where I can send and receive mail internally and externally and load the Squirrelmail webpage; however, just as a cruel last little stumbling block, I have discovered here on the home straight that I am not receiving any mail into IMAP since yesterday afternoon, meaning that whilst I can send mail from Squirrelmail, I do not receive any there.
Now, I wish I could tell you what changes I made yesterday afternoon to allow it to briefly work for a few hours before stopping again, but alas, I have made so many changes before and since that I really have no clue. At the time when mail was coming in, yesterday 11am-1pm approx, Squirrelmail wasn't yet loading so I wasn't aware that it was downloading anything.
The failure to download anything into Squirrelmail comes from the fact that IMAP isn't receiving anything new (the six e-mails in the inbox below are the ones that came in yesterday):
telnet mydomain.com 143 Trying x.x.x.x... Connected to mydomain.com. Escape character is '^]'. * OK [CAPABILITY IMAP4rev1 UIDPLUS CHILDREN NAMESPACE THREAD=ORDEREDSUBJECT THREAD=REFERENCES SORT QUOTA IDLE ACL ACL2=UNION STARTTLS] Courier-IMAP ready. Copyright 1998-2011 Double Precision, Inc. See COPYING for distribution information. 0 login user1[a]mydomain.com passwd 0 OK LOGIN Ok. 0 select inbox * FLAGS (\Draft \Answered \Flagged \Deleted \Seen \Recent) * OK [PERMANENTFLAGS (\* \Draft \Answered \Flagged \Deleted \Seen)] Limited * 6 EXISTS * 0 RECENT * OK [UIDVALIDITY 1337763508] Ok * OK [MYRIGHTS "acdilrsw"] ACL 0 OK [READ-WRITE] Ok
sudo cat /etc/authlib/authmysqlrc| grep HOME MYSQL_HOME_FIELD "/home/vmail" cat /etc/postfix/main.cf | grep vmail virtual_mailbox_base = /home/vmail
ll /home/vmail/mydomain.com/user1/cur/* -rw------- 1 vmail vmail 1295 May 22 11:39 /home/vmail/mydomain.com/user1/cur/1337683182.Vfd02I1920008M825692.mydomain.com:2,S -rw------- 1 vmail vmail 1119 May 22 11:40 /home/vmail/mydomain.com/user1/cur/1337683234.Vfd02I192000bM642814.mydomain.com:2,S -rw------- 1 vmail vmail 1119 May 22 11:49 /home/vmail/mydomain.com/user1/cur/1337683763.Vfd02I192000cM274064.mydomain.com:2,S -rw------- 1 vmail vmail 1110 May 22 11:49 /home/vmail/mydomain.com/user1/cur/1337683769.Vfd02I192000dM508512.mydomain.com:2,S -rw------- 1 vmail vmail 1132 May 22 13:24 /home/vmail/mydomain.com/user1/cur/1337689465.Vfd02I192000eM45146.mydomain.com:2,S -rw------- 1 vmail vmail 1133 May 22 13:27 /home/vmail/mydomain.com/user1/cur/1337689623.Vfd02I192000fM33886.mydomain.com:2,S
- 05-25-2012 #2
- Join Date
- Apr 2012
This is more or less resolved now, as per post 279699 on the HowToForge forums - problem seems to have been with my having both mydestination and virtual_mailbox_domains in main.cf pointing to my domain name.