struggling with running qmail on Rocky 9
by scasey from LinuxQuestions.org on (#6Q1K1)
Backstory: Migrating from CentOS 7 to Rocky 9 Initially, I just copied /var/qmail/ over, but it couldn't find shared libraries it needed (which makes sense... a two versions jump in the OS is a lot!)
I recompiled from source on the Rocky 9 server, but had the same problems.
After some searching, I found that Qmail Toaster (QMT) had a package configured for REHL 9 and clones, so I installed that. It mostly works. 'tho there are things I need to learn about how it hooks things (spamd, dovecot, etc) together. It is receiving some incoming mail and placing it in the queue.
Unfortunately, qmail-send is unable to start. It logs Code:alert: cannot start: unable to switch to queue directory every second (sigh) so those queued messages are not being processed for delivery to user's Maildirs.
I've been administering qmail mail servers for quite awhile now (20+ years), using John Simpson's patched versions (qmail-1.03-jms1-7.10)...that is the version I tried to re-install before trying QMT.
As far as I can see, the permissions and ownerships are correct on files and directories.
It's possible QMT may have set selinux to enforcing for awhile, but I've reset that to permissive, so i don't think it's the issue (could it be? -- could files be marked to prevent access and resetting to permissive doesn't undo that? IDK)
My searches have found nothing that seems to apply. I'd appreciate any thoughts or leads.
Let me know if you need to see anything in particular. Posting all of the config files in /var/qmail/control/ would seriously clutter up this OP
Rocky 9 Linux
QMT from http://wiki.qmailtoaster.org
Code:# df -h
Filesystem Size Used Avail Use% Mounted on
/dev/mapper/rl-root 70G 12G 59G 16% /
/dev/sda1 960M 406M 555M 43% /boot
/dev/mapper/rl-home 72G 25G 47G 35% /home
I recompiled from source on the Rocky 9 server, but had the same problems.
After some searching, I found that Qmail Toaster (QMT) had a package configured for REHL 9 and clones, so I installed that. It mostly works. 'tho there are things I need to learn about how it hooks things (spamd, dovecot, etc) together. It is receiving some incoming mail and placing it in the queue.
Unfortunately, qmail-send is unable to start. It logs Code:alert: cannot start: unable to switch to queue directory every second (sigh) so those queued messages are not being processed for delivery to user's Maildirs.
I've been administering qmail mail servers for quite awhile now (20+ years), using John Simpson's patched versions (qmail-1.03-jms1-7.10)...that is the version I tried to re-install before trying QMT.
As far as I can see, the permissions and ownerships are correct on files and directories.
It's possible QMT may have set selinux to enforcing for awhile, but I've reset that to permissive, so i don't think it's the issue (could it be? -- could files be marked to prevent access and resetting to permissive doesn't undo that? IDK)
My searches have found nothing that seems to apply. I'd appreciate any thoughts or leads.
Let me know if you need to see anything in particular. Posting all of the config files in /var/qmail/control/ would seriously clutter up this OP
Rocky 9 Linux
QMT from http://wiki.qmailtoaster.org
Code:# df -h
Filesystem Size Used Avail Use% Mounted on
/dev/mapper/rl-root 70G 12G 59G 16% /
/dev/sda1 960M 406M 555M 43% /boot
/dev/mapper/rl-home 72G 25G 47G 35% /home