[yast-commit] <rest-service> master : saving MaximumMailSize (postfix requires it), restart postfix
ref: refs/heads/master commit e4bb3eaa95e7e0fb7a96fd717f8480992e8132f0 Author: Jiri Suchomel <jsuchome@suse.cz> Date: Thu Oct 15 11:07:20 2009 +0200 saving MaximumMailSize (postfix requires it), restart postfix --- plugins/mail_settings/app/models/mail_settings.rb | 3 ++- 1 files changed, 2 insertions(+), 1 deletions(-) diff --git a/plugins/mail_settings/app/models/mail_settings.rb b/plugins/mail_settings/app/models/mail_settings.rb index c3eb29a..e0a1276 100644 --- a/plugins/mail_settings/app/models/mail_settings.rb +++ b/plugins/mail_settings/app/models/mail_settings.rb @@ -52,6 +52,7 @@ class MailSettings end parameters = { "Changed" => [ "i", 1], + "MaximumMailSize" => [ "i", 10485760], "SendingMail" => ["a{sv}", { "Type" => [ "s", "relayhost"], "TLS" => [ "s", settings["transport_layer_security"]], @@ -68,7 +69,7 @@ class MailSettings Rails.logger.debug "YaPI returns: '#{yapi_ret}'" raise MailSettingsError.new(yapi_ret) unless yapi_ret.empty? - yapi_ret = YastService.Call("YaPI::SERVICES::Execute", "postfix", "reload") + yapi_ret = YastService.Call("YaPI::SERVICES::Execute", "postfix", "restart") Rails.logger.debug "YaPI returns: '#{yapi_ret.inspect}'" raise MailSettingsError.new(yapi_ret["stderr"]) unless yapi_ret["stderr"].empty? true -- To unsubscribe, e-mail: yast-commit+unsubscribe@opensuse.org For additional commands, e-mail: yast-commit+help@opensuse.org
participants (1)
-
Jiri Suchomel