Dovecot errors after update?

OS: Centos 5.3
Virtualmin: 3.68 GPL
Dovecot: 0.99.14

As of a couple days ago, any new domains added to virtualmin have problems connecting to dovecot for imap/pop.

It seems to be a permissions error, but even setting 777 on the users home directory doesn’t remedy the issue.

I can still successfully create new email accounts under domains that were added more than 4 days ago. It is only the newest domains that are experiencing this problem

I have read that I may need to update dovecot to a newer version, but I am unsure why only accounts under new domains are having the problem.

Errors from /var/log/maillog while connecting to imap:

May 20 14:13:45 ws2 dovecot: chdir(/home/testdomain/homes/test) failed with uid 741: Permission denied
May 20 14:13:45 ws2 imap-login: Login: test.testdomain [::ffff:]
May 20 14:13:45 ws2 dovecot: child 13244 (imap) returned error 89

For some reason the home directory of new domains has the wrong permissions.

Directories under /home started being created by virtualmin as:

drwxr-x— 9 testdomain testdomain 4096 May 20 17:46 testdomain

After changing to

drwxr-xr-x 9 testdomain testdomain 4096 May 20 17:46 testdomain

This issue with Dovecot is resolved.

It appears that virtualmin uses /etc/skel as the template for home directories. /etc/skel has the appropriate file permissions. Any ideas on why virtualmin is not creating the directory properly?

That’s weird. Dovecot in recent versions shouldn’t need 755 permissions. 750 should be fine.

Wait…Why do you have such an ancient version of Dovecot? 0.99.14 isn’t the Dovecot version provided by CentOS 5.

So, I would suggest you upgrade to the normal CentOS Dovecot package (and figure out where the heck the ancient one came from, so you can get rid of whatever repo dropped that steaming pile of fail onto your server). :wink:

Bodemeister with jockey Mike Smith aboard ran the opening quarter in :22.32 and a half in :45.39 at the Derby and had a three-length lead heading down the stretch before tiring as I’ll Have Another caught him late.

The Kentucky Derby was Bodemeister’s fifth career start, all this year. Still, the 3-year-old son of Empire Maker went from mostly unknown to the race favorite in a few short weeks after winning the Arkansas Derby (gr. I) by 9 1/2 lengths at Oaklawn Park April 14.

"Think about this, Bob keeps reminding me,Givenchy Sandal, three weeks before that (race) we didn’t have a horse in the Derby,Givenchy Flats,’’ Zayat said. "We go from a grade I to the favorite in the Derby. That’s a huge accomplishment. So,Givenchy handbag, we were feeling sad because he ran a winner’s race and not to get it,givenchy nightingale, you feel bad for the horse. He ran such a brilliant race.’‘

Baffert,Givenchy Flats, a five-time Preakness winner,Givenchy Shoes, is less certain with his plans for Liaison,Givenchy Shoes, his other Derby entry that finished sixth. Baffert said he wanted to talk to Liaison’s owner, Arnold Zetcher, before making a decision.

"I want to see what the field is looking like,Givenchy Sandal,’’ Baffert said. "It was a good race for him. I think the horse is turning the corner. I’ve just got to decide,Givenchy bag, ‘Do I want to keep pushing him along?’ You know, he needs to win a race. If he’s going to be competitive, we’ll take him up there.’’