Bug#1039365: Fedora has systemd-unit files for sendmail
These are files that run the sendmailconfig script from a native unit, although only tested with a very basic configuration. I haven't checked the DEB scripts, so maybe changes are also needed there. sendmail.tar Description: Unix tar archive
Bug#1039365: Fedora has systemd-unit files for sendmail
On Fri, 11 Aug 2023 16:07:23 + Marco wrote: > On Wed, 2 Aug 2023 18:07:52 +0200 Andreas Beckmann > wrote: > > On 30/07/2023 20.46, Marco wrote: > > > On Mon, 26 Jun 2023 08:28:22 + Marco wrote: > > >> Fedora has some systemd unit files included, maybe these are > > >> helpful here: > > >> https://packages.fedoraproject.org/pkgs/sendmail/sendmail/fedora-rawhide.html#files > > > > > > Is anybody here working on that issue? > > > > As sendmail has no maintainer in Debian, I'm afraid this is not > > being worked on. > > I tried to contact the maintainer of sendmailconfig, neither a reply > nor a bounce. Does anybody here have another contact address? I also posted that to comp.mail.sendmail - no response. sendmailconfig seems to be abandonware. I think the only reasonable solution to that is to remove sendmailconfig and only ship a systemd unit with configuration options for the administrator. @anbe Can you build DEB packages without it, please? Even if they don't have a systemd unit included, I will create one you can later include. I am willing to test these packages on my test machines. -- kind regards Marco
Bug#1039365: Fedora has systemd-unit files for sendmail
On Wed, 2 Aug 2023 18:07:52 +0200 Andreas Beckmann wrote: > On 30/07/2023 20.46, Marco wrote: > > On Mon, 26 Jun 2023 08:28:22 + Marco wrote: > >> Fedora has some systemd unit files included, maybe these are > >> helpful here: > >> https://packages.fedoraproject.org/pkgs/sendmail/sendmail/fedora-rawhide.html#files > > > > Is anybody here working on that issue? > > As sendmail has no maintainer in Debian, I'm afraid this is not being > worked on. I tried to contact the maintainer of sendmailconfig, neither a reply nor a bounce. Does anybody here have another contact address? I think deprecating sendmailconfig (at least for configuring the daemon) and using a native systemd unit that starts the service directly is the only reasonable way. It is possible to use variables from a file in the systemd unit to offer some configuration options for the user. -- Gruß Marco
Bug#1039365: Fedora has systemd-unit files for sendmail
Am 02.08.2023 um 18:26:01 Uhr schrieb Andreas Beckmann: > Maybe we could introduce a sendmail-systemd package to allow running > sendmail "the modern way" without breaking "the classic way". > We probably need to split the sendmail-bin and sendmail-base packages > to decouple the sysv and sendmailconfig bits from the parts that are > shared with sendmail-systemd. > > Patches welcome! Writing the systemd unit is rather easy if not using the Sys V init script. I could do that, but other people should it test too. I could also try to find a way that the systemd unit just calls the sysvinit script if you are interested.
Bug#1039365: Fedora has systemd-unit files for sendmail
On 31/07/2023 08.52, Marco wrote: On Sun, 30 Jul 2023 18:46:11 + Marco wrote: On Mon, 26 Jun 2023 08:28:22 + Marco wrote: Fedora has some systemd unit files included, maybe these are helpful here: https://packages.fedoraproject.org/pkgs/sendmail/sendmail/fedora-rawhide.html#files Is anybody here working on that issue? It seems that the sysvinit script is being partially generated by sendmailconfig. Is the goal of Debian to still provide that or to deprecate sendmailconfig? If it should be kept, I assume it needs to be changed to native integrate with systemd without using start-stop-daemon. Deprecating this sendmailconfig functionality makes integrating with systemd much easier. Configuring queue runner and daemon mode would be easier in a special file that is being read by the systemd unit. I wouldn't go away from sendmailconfig since that would probably break the sendmail usage for the people still using sendmail ... and without maintainer we have noone to clean up after such breakage ... Maybe we could introduce a sendmail-systemd package to allow running sendmail "the modern way" without breaking "the classic way". We probably need to split the sendmail-bin and sendmail-base packages to decouple the sysv and sendmailconfig bits from the parts that are shared with sendmail-systemd. Patches welcome! Andreas
Bug#1039365: Fedora has systemd-unit files for sendmail
On 30/07/2023 20.46, Marco wrote: On Mon, 26 Jun 2023 08:28:22 + Marco wrote: Fedora has some systemd unit files included, maybe these are helpful here: https://packages.fedoraproject.org/pkgs/sendmail/sendmail/fedora-rawhide.html#files Is anybody here working on that issue? As sendmail has no maintainer in Debian, I'm afraid this is not being worked on. I'm happily applying patches (if someone provides them) in QA uploads, but it's nearly 20 years since I had sendmail running somewhere (on Sparc/Solaris at that time). Andreas
Bug#1039365: Fedora has systemd-unit files for sendmail
On Sun, 30 Jul 2023 18:46:11 + Marco wrote: > On Mon, 26 Jun 2023 08:28:22 + Marco wrote: > > Fedora has some systemd unit files included, maybe these are helpful > > here: > > https://packages.fedoraproject.org/pkgs/sendmail/sendmail/fedora-rawhide.html#files > > Is anybody here working on that issue? It seems that the sysvinit script is being partially generated by sendmailconfig. Is the goal of Debian to still provide that or to deprecate sendmailconfig? If it should be kept, I assume it needs to be changed to native integrate with systemd without using start-stop-daemon. Deprecating this sendmailconfig functionality makes integrating with systemd much easier. Configuring queue runner and daemon mode would be easier in a special file that is being read by the systemd unit. -- kind regards Marco