thias / puppet-postfix

Puppet Postfix module
Other
17 stars 117 forks source link

inet_interfaces #81

Open seefood opened 8 years ago

seefood commented 8 years ago

It's nice to be able to set this, but it gets set in the config after the daemon starts and does not schedule a restart. i.e. I end up with the correct setting in the main.cf, but it's still binding to ALL interfaces until I manually reboot it.

Shall I submit a patch or can you fix it?

Thanks!

westbywest commented 7 years ago

Following up on this issue. Converse affects me; setting inet_interfaces => all doesn't take affect until I manually restart postfix service. E.g.

Dec 13 17:34:05 hostname postfix/master[3034]: warning: service smtp: ignoring inet_interfaces change
Dec 13 17:34:05 hostname postfix/master[3034]: warning: to change inet_interfaces, stop and start Postfix

A work-around I found is to specify service_restart => "/sbin/service postfix restart" when declaring postfix::server.