diff --git a/services/mailer/mailer.go b/services/mailer/mailer.go index 2e4aa8d71b1c..0eb4a38e5939 100644 --- a/services/mailer/mailer.go +++ b/services/mailer/mailer.go @@ -213,7 +213,7 @@ func (s *sendmailSender) Send(from string, to []string, msg io.WriterTo) error { var closeError error var waitError error - args := []string{"-F", from, "-i"} + args := []string{"-f", from, "-i"} args = append(args, setting.MailService.SendmailArgs...) args = append(args, to...) log.Trace("Sending with: %s %v", setting.MailService.SendmailPath, args)