Author Topic: Zentyal 5.0.2 postfix / dovecot configuration mismatch  (Read 2689 times)

brasse

  • Zen Apprentice
  • *
  • Posts: 4
  • Karma: +0/-0
    • View Profile
Zentyal 5.0.2 postfix / dovecot configuration mismatch
« 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?

gmyx

  • Zen Apprentice
  • *
  • Posts: 1
  • Karma: +0/-0
    • View Profile
Re: Zentyal 5.0.2 postfix / dovecot configuration mismatch
« Reply #1 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.

fjonson

  • Zen Apprentice
  • *
  • Posts: 1
  • Karma: +1/-0
    • View Profile
Re: Zentyal 5.0.2 postfix / dovecot configuration mismatch
« Reply #2 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

J. A. Calvo

  • Zentyal Staff
  • Zen Hero
  • *****
  • Posts: 1986
  • Karma: +67/-3
    • View Profile
    • http://blogs.zentyal.org/jacalvo
Re: Zentyal 5.0.2 postfix / dovecot configuration mismatch
« Reply #3 on: February 03, 2017, 09:10:00 pm »
This should be fixed already in zentyal-mail 5.0.3
Zentyal Server Lead Developer