Mail Delivery Problem after update

I have updated to Virtualmin 4.00 and recently as well my mail stopped delivering to Maildir/cur but it all goes to Maildir/msg.JAg9N instead.

How do I fix it?

Status: 
Closed (fixed)

Comments

Ilia's picture
Submitted by Ilia on Sun, 05/12/2013 - 07:05

I have found an issue. For some reason Virtualmin updated /etc/procmailrc incorrectly removing / at the end of Maildir:

Should be like this:

DEFAULT=$HOME/Maildir/
ORGMAIL=$HOME/Maildir/

Happened to be like this for some reason:

DEFAULT=$HOME/Maildir
ORGMAIL=$HOME/Maildir

Could you please check?

Howdy -- Virtualmin doesn't modify the /etc/procmailrc file after the initial setup, though it's possible another program on your server could have.

What is the output of these two commands:

ls /etc/yum.repos.d/
rpm -qa | grep postfix
Ilia's picture
Submitted by Ilia on Sun, 05/12/2013 - 13:34

Here:

postfix-2.6.6-2.2.el6_1.x86_64

I start remembering, I could probably edit those files.. But I'm not sure! :) Very sorry for any confusion!

In case I have familiar problem happening automatically in the future, I will let you know!

What does the home_mailbox line contain in your /etc/postfix/main.cf file? If it is something like :

home_mailbox=Maildir

you need to change it to :

home_mailbox=Maildir/
Ilia's picture
Submitted by Ilia on Sun, 05/12/2013 - 14:30

Jamie, you are right!

It was

home_mailbox=Maildir

I changed it the way you told me!! :)

So far everything works fine!

Do you think it's the bug or it was me?

I think it must have been changed outside of Virtualmin, as our installer sets it to Maildir/ and doesn't change it afterwards.

Automatically closed -- issue fixed for 2 weeks with no activity.