Zentyal Forum, Linux Small Business Server

Zentyal Server => Email and Groupware => Topic started by: brasse on January 09, 2017, 11:49:45 am

Title: Zentyal 5.0.2 postfix / dovecot configuration mismatch
Post by: brasse on January 09, 2017, 11:49:45 am
Hello.

So i have installed Zentyal from scratch, connected it to our AD as secondary domain controller, so far so good.
Ive enabled active sync for the mail.
Now i am trying everything out, and ive found some problems.


1. Each reboot (uncertain of when exactly) Zentyal sets permissions to root:root to /etc/postfix, which means that postfix cant read *.cf-files there, so each reboot i have to do: chgrp postfix /etc/postfix/*.cf && /etc/init.d/postfix restart

2. postfix deliveres new mails to dir /var/vmail/%d/%u/new, dovecot tries to read new mails in dir /var/vmail/%d/%u/Maildir/New, this means that the clients will never be able to see any new mails.
If i manuall move the mails i can see them in the client ( mv /var/vmail/%d/%u/new/* /var/vmail/%d/%u/Maildir/new/ ), and they are correctly moved from ./new/ to ./cur/


How can i correct theese problems?
Title: Re: Zentyal 5.0.2 postfix / dovecot configuration mismatch
Post by: gmyx on February 03, 2017, 01:38:27 am
Did you ever find a solution to this? I think my install has the same issue. Mail won't get delivered.
Title: Re: Zentyal 5.0.2 postfix / dovecot configuration mismatch
Post by: fjonson on February 03, 2017, 09:40:27 am
Hello.

I have the same issue after upgrading to 5.x, mail delivering to wrong folder.
I found the problem in /etc/postfix/main.cf.
Jacalvo made a change in main.cf.mas.
Changed from virtual_transport = dovecot to local_transport = dovecot.
By adding virtual_transport = dovecot the mail is distrubuted to the right folder.

/Fjonson
Title: Re: Zentyal 5.0.2 postfix / dovecot configuration mismatch
Post by: J. A. Calvo on February 03, 2017, 09:10:00 pm
This should be fixed already in zentyal-mail 5.0.3