diff --git a/modules/mailer/mailer.go b/modules/mailer/mailer.go index a54e83617..9741e5130 100644 --- a/modules/mailer/mailer.go +++ b/modules/mailer/mailer.go @@ -208,7 +208,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)