Postfix wont run after update

I just updated my system and got an error.

%transfiletriggerin(systemd-257.9-4.1.x86_64) script output:
Job for postfix.service failed because the control process exited with error code.
See "systemctl status postfix.service" and "journalctl -xeu postfix.service" for details.
error: lua script failed: [string "%transfiletriggerin(systemd-257.9-4.1.x86_64)..."]:5: exit code
Error from %transfiletriggerin(systemd-257.9-4.1.x86_64)

This is journalctl -xeu postfix.service.

Jan 27 01:49:37 DELL-7050 systemd[1]: Starting Postfix Mail Transport Agent...
░░ Subject: A start job for unit postfix.service has begun execution
░░ Defined-By: systemd
░░ Support: https://lists.freedesktop.org/mailman/listinfo/systemd-devel
░░ 
░░ A start job for unit postfix.service has begun execution.
░░ 
░░ The job identifier is 12178.
Jan 27 01:49:37 DELL-7050 echo[63257]: Starting mail service (Postfix)
Jan 27 01:49:37 DELL-7050 postalias[63264]: postalias: fatal: open database /etc/aliases.lmdb: Permission d>
Jan 27 01:49:37 DELL-7050 postfix/postalias[63264]: fatal: open database /etc/aliases.lmdb: Permission deni>
Jan 27 01:49:38 DELL-7050 systemd[1]: postfix.service: Control process exited, code=exited, status=1/FAILURE
░░ Subject: Unit process exited
░░ Defined-By: systemd
░░ Support: https://lists.freedesktop.org/mailman/listinfo/systemd-devel
░░ 
░░ An ExecStartPre= process belonging to unit postfix.service has exited.
░░ 
░░ The process' exit code is 'exited' and its exit status is 1.
Jan 27 01:49:38 DELL-7050 systemd[1]: postfix.service: Failed with result 'exit-code'.
░░ Subject: Unit failed
░░ Defined-By: systemd
░░ Support: https://lists.freedesktop.org/mailman/listinfo/systemd-devel
░░ 
░░ The unit postfix.service has entered the 'failed' state with result 'exit-code'.
Jan 27 01:49:38 DELL-7050 systemd[1]: Failed to start Postfix Mail Transport Agent.
░░ Subject: A start job for unit postfix.service has failed
░░ Defined-By: systemd
░░ Support: https://lists.freedesktop.org/mailman/listinfo/systemd-devel
░░ 
░░ A start job for unit postfix.service has finished with a failure.
░░ 
░░ The job identifier is 12178 and the job result is failed.

Here is permission output.

[Errigour@DELL-7050 ~]$ ls /etc/aliases.lmdb -la
-rw-r--r--. 1 root root 20480 Jan 27 01:49 /etc/aliases.lmdb
[Errigour@DELL-7050 ~]$ ls /etc/aliases.lmdb -laZ
-rw-r--r--. 1 root root system_u:object_r:etc_t:s0 20480 Jan 27 01:49 /etc/aliases.lmdb
1 Like

Ok I did this and it let me run postfix. Let me know if I am in err.

sudo chcon -t postfix_etc_t /etc/aliases.lmdb

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.