bug-mailfromd


Search for: Advanced

[Bug-mailfromd] mailfromd restart -> reload


This is what I get when I reload the configuration with /bin/kill -SIGHUP $MAINPID


Oct  3 13:57:47 xxx mailfromd[3591]: mailfromd restarting
Oct  3 13:57:47 xxx mailfromd[3591]: mailfromd started

Maybe report a reload? I also noticed sendmail complaining, so I guess the socket is recreated.

Milter (mailfromd): write(Q) returned -1, expected 5: Broken pipe
sendmail[4442]: 293BvfwM004442: Milter (mailfromd): to error state




[1] service script
[Service]
Type=simple
User=nobody
PIDFile=/var/lib/mailfromd/mailfromd.pid
ExecStart=/usr/sbin/mailfromd --foreground
#ExecStart=/usr/sbin/mailfromd --debug=100 --foreground
ExecReload=/bin/kill -SIGHUP $MAINPID
ExecStop=/bin/kill -TERM $MAINPID
StandardOutput=null
StandardError=null
Restart=always

[Install]
WantedBy=multi-user.target