On Mon, Jul 13, 2020 at 09:12:28PM +0200, Pòl Hallen wrote: > Hi folks :-) > suddenly postfix is dead. Sometime after 1/2mins goes down... sometime > doesn't start... > > I already tried to reinstall with purge, delete config files, etc. but same > problem... > > help me please :)
We are here to help you help yourself. For that we need more information. > > here /etc/postfix/main.cf and above logs > > compatibility_level = 2 > smtpd_relay_restrictions = permit_mynetworks permit_sasl_authenticated > defer_unauth_destination > myhostname = myhost.local ^^^^^^^^^^^^ really? > alias_maps = hash:/etc/aliases > alias_database = hash:/etc/aliases > mydestination = $myhostname, myhost, myhost.local, localhost.myhost.local, > localhost > relayhost = > mynetworks = 127.0.0.0/8 [::ffff:127.0.0.0]/104 [::1]/128 > mailbox_command = procmail -a "$EXTENSION" > mailbox_size_limit = 0 > recipient_delimiter = + > inet_interfaces = all > inet_protocols = all > > > dpkg -l| grep postfix 3.1.14-0+deb9u1 > > > Jul 13 21:07:21 asia systemd[1]: Accepted new private connection. > Jul 13 21:07:21 asia systemd[1]: Got message type=method_call sender=n/a > destination=org.freedesktop.systemd1 object=/org/freedesktop/systemd1 > interface=org.freedesktop.systemd1.Manager member=StartUnit cookie=1 > reply_cookie=0 error=n/a > Jul 13 21:07:21 asia systemd[1]: postfix.service: Trying to enqueue job > postfix.service/start/replace > Jul 13 21:07:21 asia systemd[1]: postfix.service: Installed new job > postfix.service/start as 85531 > Jul 13 21:07:21 asia systemd[1]: postfix.service: Enqueued job > postfix.service/start as 85531 > Jul 13 21:07:21 asia systemd[1]: Sent message type=method_return sender=n/a > destination=n/a object=n/a interface=n/a member=n/a cookie=1 reply_cookie=1 > error=n/a > Jul 13 21:07:21 asia systemd[1]: Sent message type=signal sender=n/a > destination=n/a object=/org/freedesktop/systemd1 > interface=org.freedesktop.systemd1.Manager member=JobNew cookie=2 > reply_cookie=0 error=n/a > Jul 13 21:07:21 asia systemd[1]: Sent message type=signal sender=n/a > destination=n/a object=/org/freedesktop/systemd1 > interface=org.freedesktop.systemd1.Manager member=JobNew cookie=29554 > reply_cookie=0 error=n/a > Jul 13 21:07:21 asia systemd[1]: Got message type=method_call sender=n/a > destination=org.freedesktop.systemd1 object=/org/freedesktop/systemd1 > interface=org.freedesktop.systemd1.Manager member=GetUnit cookie=2 > reply_cookie=0 error=n/a > Jul 13 21:07:21 asia systemd[1]: Sent message type=method_return sender=n/a > destination=n/a object=n/a interface=n/a member=n/a cookie=3 reply_cookie=2 > error=n/a > Jul 13 21:07:21 asia systemd[1]: postfix.service: Job postfix.service/start > finished, result=done > Jul 13 21:07:21 asia systemd[1]: Sent message type=signal sender=n/a > destination=n/a object=/org/freedesktop/systemd1 > interface=org.freedesktop.systemd1.Manager member=JobRemoved cookie=4 > reply_cookie=0 error=n/a > Jul 13 21:07:21 asia systemd[1]: Sent message type=signal sender=n/a > destination=n/a object=/org/freedesktop/systemd1 > interface=org.freedesktop.systemd1.Manager member=JobRemoved cookie=29555 > reply_cookie=0 error=n/a > Jul 13 21:07:21 asia systemd[1]: Got message type=method_call sender=n/a > destination=org.freedesktop.systemd1 > object=/org/freedesktop/systemd1/unit/postfix_2eservice > interface=org.freedesktop.DBus.Properties member=Get cookie=3 reply_cookie=0 > error=n/a > Jul 13 21:07:21 asia systemd[1]: Sent message type=method_return sender=n/a > destination=n/a object=n/a interface=n/a member=n/a cookie=5 reply_cookie=3 > error=n/a > Jul 13 21:07:21 asia systemd[1]: Got disconnect on private connection. > These are not helpful at all. Please gather a few information 1) uid of postfix user id postfix 2) now stop and start postfix systemctl stop postfix systemctl start postfix Are there any issues in the log? journalctl _UID=<postfix uid> Same thing for the cases when it went down. Do the logs show anything? -H -- Henning Follmann | hfollm...@itcfollmann.com