Mailinglist Archive: opensuse-factory (808 mails)
| < Previous | Next > |
[opensuse-factory] Re: Wanted: How to use systemd unit conf files for sendmail
- From: "Dr. Werner Fink" <werner@xxxxxxx>
- Date: Thu, 11 Aug 2011 14:55:05 +0200
- Message-id: <20110811125505.GB19546@boole.suse.de>
On Wed, Aug 10, 2011 at 11:45:01AM +0200, Frederic Crozat wrote:
Systemd dose not like this.
Werner
--
"Having a smoking section in a restaurant is like having
a peeing section in a swimming pool." -- Edward Burr
--
To unsubscribe, e-mail: opensuse-factory+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse-factory+help@xxxxxxxxxxxx
Le vendredi 05 août 2011 à 12:02 +0200, Dr. Werner Fink a écrit :
[Unit]
Description=Local SMTP Socket
DefaultDependencies=no
[Socket]
ListenStream=25
BindToDevice=lo
Accept=false
Service=sendmail.service
IMHO this will only used if no process is listen on localhost port 25
or is this wrong? The manual pages of systemd do not show what happens
is a port is already busy due an other way of enabling the MTA.
Indeed, the socket listening code is systemd will fail and it won't try to
activate sendmail.service
I would probably use mail-transfer-agent.target for Service= in
smtp-local.socket, to not tie
smtp-local.socket to sendmail.service.
Systemd dose not like this.
Werner
--
"Having a smoking section in a restaurant is like having
a peeing section in a swimming pool." -- Edward Burr
--
To unsubscribe, e-mail: opensuse-factory+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse-factory+help@xxxxxxxxxxxx
| < Previous | Next > |