| Summary: | Postfix not starting | ||
|---|---|---|---|
| Product: | Mageia | Reporter: | Muhammad Tailounie <mageia> |
| Component: | RPM Packages | Assignee: | Mageia Bug Squad <bugsquad> |
| Status: | RESOLVED INVALID | QA Contact: | |
| Severity: | critical | ||
| Priority: | Normal | CC: | davidwhodgins |
| Version: | 9 | ||
| Target Milestone: | --- | ||
| Hardware: | x86_64 | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Source RPM: | postfix-3.8.4-1.mga9.src.rpm | CVE: | |
| Status comment: | |||
|
Description
Muhammad Tailounie
2024-01-20 17:52:53 CET
Just fyi, it's working for me ...
[root@x3 ~]# systemctl status postfix.service
* postfix.service - LSB: Starts the postfix daemons
Loaded: loaded (/etc/rc.d/init.d/postfix; generated)
Drop-In: /etc/systemd/system/postfix.service.d
`-override.conf
Active: active (running) since Tue 2024-01-09 16:46:33 EST; 1 week 3 days ago
Docs: man:systemd-sysv-generator(8)
Main PID: 2077 (master)
Tasks: 3 (limit: 19071)
Memory: 24.8M
CPU: 9.381s
CGroup: /system.slice/postfix.service
|- 2077 /usr/libexec/postfix/master -w
|- 2182 qmgr -l -t unix -u -c
`-503349 pickup -l -t unix -u -c -o content_filter= -o receive_override_options=
Jan 20 04:02:05 x3.hodgins.homeip.net postfix/pickup[489153]: 3E41C3C001B: uid=0 from=<root>
Jan 20 04:02:05 x3.hodgins.homeip.net postfix/cleanup[491297]: 3E41C3C001B: message-id=<20240120090205.3E41C3C001B@x3.hodgins.homeip.net>
Jan 20 04:02:05 x3.hodgins.homeip.net postfix/qmgr[2182]: 3E41C3C001B: from=<root@x3.hodgins.homeip.net>, size=1722, nrcpt=1 (queue active)
Jan 20 04:02:05 x3.hodgins.homeip.net postfix/local[491303]: 3E41C3C001B: to=<dave@x3.hodgins.homeip.net>, orig_to=<root>, relay=local, delay=0.05, delays=0.04/0/0/0.01, dsn=2.0.0, status=sent (delivered to ma>
Jan 20 04:02:05 x3.hodgins.homeip.net postfix/qmgr[2182]: 3E41C3C001B: removed
Jan 20 04:02:06 x3.hodgins.homeip.net postfix/pickup[489153]: 71DB13C001B: uid=0 from=<root>
Jan 20 04:02:06 x3.hodgins.homeip.net postfix/cleanup[491297]: 71DB13C001B: message-id=<20240120090206.71DB13C001B@x3.hodgins.homeip.net>
Jan 20 04:02:06 x3.hodgins.homeip.net postfix/qmgr[2182]: 71DB13C001B: from=<root@x3.hodgins.homeip.net>, size=1740, nrcpt=1 (queue active)
Jan 20 04:02:06 x3.hodgins.homeip.net postfix/local[491303]: 71DB13C001B: to=<dave@x3.hodgins.homeip.net>, orig_to=<root>, relay=local, delay=0.05, delays=0.04/0/0/0.01, dsn=2.0.0, status=sent (delivered to ma>
Jan 20 04:02:06 x3.hodgins.homeip.net postfix/qmgr[2182]: 71DB13C001B: removed
[root@x3 ~]# systemctl restart postfix.service
[root@x3 ~]# systemctl status postfix.service
* postfix.service - LSB: Starts the postfix daemons
Loaded: loaded (/etc/rc.d/init.d/postfix; generated)
Drop-In: /etc/systemd/system/postfix.service.d
`-override.conf
Active: active (running) since Sat 2024-01-20 12:33:30 EST; 2s ago
Docs: man:systemd-sysv-generator(8)
Process: 503510 ExecStart=/etc/rc.d/init.d/postfix start (code=exited, status=0/SUCCESS)
Main PID: 503801 (master)
Tasks: 3 (limit: 19071)
Memory: 183.6M
CPU: 1.574s
CGroup: /system.slice/postfix.service
|-503801 /usr/libexec/postfix/master -w
|-503802 pickup -l -t unix -u -c -o content_filter= -o receive_override_options=
`-503803 qmgr -l -t unix -u -c
Jan 20 12:33:26 x3.hodgins.homeip.net postfix[503510]: Starting postfix:
Jan 20 12:33:26 x3.hodgins.homeip.net postfix[503588]: ldd: warning: you do not have execution permission for `/var/spool/postfix/usr/lib64/libcap.so.2'
Jan 20 12:33:26 x3.hodgins.homeip.net postfix[503596]: ldd: warning: you do not have execution permission for `/var/spool/postfix/usr/lib64/libcap.so.2.52'
Jan 20 12:33:27 x3.hodgins.homeip.net postfix[503721]: Postfix is using backwards-compatible default settings
Jan 20 12:33:27 x3.hodgins.homeip.net postfix[503721]: See http://www.postfix.org/COMPATIBILITY_README.html for details
Jan 20 12:33:27 x3.hodgins.homeip.net postfix[503721]: To disable backwards compatibility use "postconf compatibility_level=3.6" and "postfix reload"
Jan 20 12:33:30 x3.hodgins.homeip.net postfix/postfix-script[503799]: starting the Postfix mail system
Jan 20 12:33:30 x3.hodgins.homeip.net postfix/master[503801]: daemon started -- version 3.8.4, configuration /etc/postfix
Jan 20 12:33:30 x3.hodgins.homeip.net postfix[503510]: [ OK ]
Jan 20 12:33:30 x3.hodgins.homeip.net systemd[1]: Started postfix.service.
[root@x3 ~]# rpm -q postfix
postfix-3.8.4-1.mga9
I use postfix to put the email in /var/spool/mail, and dovecot to provide
pop3 access on one system and imap on another.
Don't forget to alter /etc/postfix/aliases and run the newaliases command.CC:
(none) =>
davidwhodgins Are you using it with a database backend? I am using Mageia as my main server and postfix has never worked for me since I upgraded from M8! I'll try to investigate it deeper, but please confirm what database backend you are using. Update: Good news is that it works now :) It was weird that it did not work yesterday, so I have decided today to reboot the server. After rebooting, postfix started perfectly, however still could not use mariadb backend. After digging into the issue, I have found out that postfix in M9 is running in chroot, Now I cannot tell if it was running in chroot on M8 or M7 where it always worked perfectly. So All I had to do is to bind-mount the mariadb socket directory to postfix chroot. Thank you. I do not know, whether to mark it as invalid, worksforme or what! Status:
NEW =>
RESOLVED Glad it's sorted. Invalid is the correct resolution, as nothing Mageia provides was changed to fix it. I think it was Mageia 3 where postfix switched to running postfix in a chroot, but I could be wrong about that. What are you using the sql database for? The user aliases map? Thank you, I still find it weird that upon upgrade postfix did not work though! Anyways, it is sorted now as you said. I am using the database for aliases, domains, restrictions, users, quota...etc. Everything is configured using the sql database. |