[BlueOnyx:23901] System.Email.queueTime does not apply
Tomohiro Hosaka
bokutin at bokut.in
Mon May 25 22:55:07 -05 2020
Hi,
In 5208R,
System.Email.queueTime default is `immediate`(15m).
But the setting is 1 hour.
% cat /etc/sysconfig/sendmail
DAEMON=yes
QUEUE=1h
Make a change in /email/emailsettings, save, and then `immediate` again,
it will be 15m.
% cat /etc/sysconfig/sendmail
DAEMON=yes
QUEUE=15m
% ps axwwwww | grep 'queu[e]'
8575 ? Ss 0:00 sendmail: Queue runner at 00:15:00 for
/var/spool/clientmqueue
^^^^^^^^
In 5209R,
Since /usr/sausalito/handlers/base/email/system.pl does not support the
systemd format, the System.Email.queueTime setting does not apply.
# cat /etc/sysconfig/sendmail
SENDMAIL_OPTS="-q1h"
# cat /usr/lib/systemd/system/sendmail.service
[Unit]
Description=Sendmail Mail Transport Agent
After=syslog.target network.target
Conflicts=postfix.service exim.service
Wants=sm-client.service
[Service]
Type=forking
StartLimitInterval=0
PIDFile=/var/run/sendmail.pid
Environment=SENDMAIL_OPTS=-q1h
EnvironmentFile=-/etc/sysconfig/sendmail
ExecStartPre=-/etc/mail/make
ExecStartPre=-/etc/mail/make aliases
ExecStart=/usr/sbin/sendmail -bd $SENDMAIL_OPTS $SENDMAIL_OPTARG
[Install]
WantedBy=multi-user.target
Also=sm-client.service
Changing System.Email.queueTime in /email/emailsettings does not change
/etc/sysconfig/sendmail.
You can also confirm that it is not reflected by the following.
# ps axwww | grep 'queu[e]'
17240 ? Ss 0:00 sendmail: Queue runner at 01:00:00 for
/var/spool/clientmqueue
^^^^^^^^
Thanks,
More information about the Blueonyx
mailing list