Ich habe mich 1:1 an diese Anleitung gehalten.
Quelle:
http://www.zarafa.com/wiki/index.php/Zarafa_Installation_Instructions_for_Synology_NAS
-----------------------------------------------------------------------------------------------------------------------
Configure Postfix with your own domain
Create a user “vmail” in DSM (i made this user admin – not sure if this is necessary)
Configure the mail server package in the DSM to serve your domain:
Edit the file /var/packages/MailServer/target/etc/template/master.template and add the zarafa part seen below:
vi /var/packages/MailServer/target/etc/template/master.template
Add the zarafa part seen below:
...
# ==========================================================================
# service type private unpriv chroot wakeup maxproc command + args
# (yes) (yes) (yes) (never) (100)
# ==========================================================================
zarafa unix - n n - 10 pipe
flags= user=vmail argv=/usr/local/zarafa/bin/zarafa-dagent $(user)
#submission inet n - n - - smtpd
...
(Note: before flags is a space!!) Next edit /var/packages/MailServer/target/etc/template/main.template
vi /var/packages/MailServer/target/etc/template/main.template
Remove/comment this line:
#home_mailbox = .Maildir/
Then add these lines:
mailbox_transport = zarafa:
local_recipient_maps =
zarafa_destination_recipient_limit = 1
In order to get the changes in the mail server package template files affected, please stop and start the mailserver package in the DSM package center.
The user vmail needs to have the rights to deliver emails to zarafa. Therefore the server.cfg has to be modified. Find the line containing local_admin_users and add vmail.
vi /etc/zarafa/server.cfg
...
# local admin users who can connect to any store (use this for the zarafa-dagent)
# field is SPACE separated
# eg: local_admin_users = root vmail
local_admin_users = root vmail
...
Then restart the zarafa package:
/var/packages/Zarafa/scripts/start-stop-status stop
/var/packages/Zarafa/scripts/start-stop-status start
-----------------------------------------------------------------------------------------------------------------------
Dennoch werden eintreffene Mails nicht ins Postfach des Zarafa Users übertragen. Was mache ich falsch?