Добрый день!Собственно, не удается запустить podtfix. Планирую использовать Postfix как realy для спам и автивирусной проверки и последующей переадресацией на Exchange.
Ошибка Postfix:
● postfix.service - Postfix Mail Transport Agent
Loaded: loaded (/usr/lib/systemd/system/postfix.service; enabled; vendor preset: disabled)
Active: failed (Result: exit-code) since Mon 2016-02-29 18:21:59 MSK; 5s ago
Process: 15082 ExecStart=/usr/sbin/postfix start (code=exited, status=1/FAILURE)
Process: 15077 ExecStartPre=/usr/libexec/postfix/chroot-update (code=exited, status=0/SUCCESS)
Process: 15073 ExecStartPre=/usr/libexec/postfix/aliasesdb (code=exited, status=0/SUCCESS)
Main PID: 1316 (code=killed, signal=TERM)
Feb 29 18:21:56 postfix.domain.ru systemd[1]: Starting Postfix Mail Transport Agent...
Feb 29 18:21:57 postfix.domain.ru postfix/postfix-script[15151]: starting the Postfix mail system
Feb 29 18:21:57 postfix.domain.ru postfix/master[15153]: fatal: open lock file /var/lib/postfix/master.lock: cannot open file: Permission denied
Feb 29 18:21:58 postfix.domain.ru postfix/master[15152]: fatal: daemon initialization failure
Feb 29 18:21:59 postfix.domain.ru postfix/postfix-script[15154]: fatal: mail system startup failed
Feb 29 18:21:59 postfix.domain.ru systemd[1]: postfix.service: control process exited, code=exited status=1
Feb 29 18:21:59 postfix.domain.ru systemd[1]: Failed to start Postfix Mail Transport Agent.
Feb 29 18:21:59 postfix.domain.ru systemd[1]: Unit postfix.service entered failed state.
Feb 29 18:21:59 postfix.domain.ru systemd[1]: postfix.service failed.
Дистрибутив: CentOS Linux release 7.2.1511 (Core)
Main.cf
cat /etc/postfix/main.cf
mydomain = domain.ru
myhostname = postfix
mydestination = domain.ru, domain2.ru
mynetworks = 127.0.0.0/8 [::ffff:127.0.0.0]/104 [::1]/128
relay_domains = $mydestination
double_bounce_sender = postmaster@domain.ru
smtpd_recipient_restrictions = permit_mynetworks,
reject_unauth_destination,reject_invalid_hostname,
reject_unauth_pipelining,reject_non_fqdn_sender,
reject_unknown_recipient_domain,reject_unknown_sender_domain
transport_maps = hash:/etc/postfix/transport
local_recipient_maps =
Права доступа на файл и папку /var/lib/postfix
drw-------. 2 postfix postfix 24 Feb 24 23:53 postfix
-rw-------. 1 postfix postfix 33 Feb 25 17:00 master.lock
пробовал изменить владельца файла/папки на root и права 755, но результат остался прежним.
В чем кроется причина?
Спасибо!