about summary refs log tree commit diff
path: root/pkgs/applications/networking/misc/zammad/fix-sendmail-location.diff
blob: c8f948284e737fcdba108bceee6ca2dd46cf84f1 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
diff --git a/app/models/channel/driver/sendmail.rb b/app/models/channel/driver/sendmail.rb
index b15ef48a6..64c120a87 100644
--- a/app/models/channel/driver/sendmail.rb
+++ b/app/models/channel/driver/sendmail.rb
@@ -32,6 +32,6 @@ def delivery_method(mail)
 
     return mail.delivery_method :test if Rails.env.test?
 
-    mail.delivery_method :sendmail
+    mail.delivery_method :sendmail, :location => '/run/wrappers/bin/sendmail'
   end
 end