Update path to sendmail binary

On most systems sendmail is located in /usr/sbin not /usr/bin
This commit is contained in:
Winni Neessen 2022-05-25 10:53:37 +02:00
parent 070eb39132
commit fa7066c9cf
Signed by: wneessen
GPG key ID: 5F3AF39B820C119D

2
msg.go
View file

@ -58,7 +58,7 @@ type Msg struct {
} }
// SendmailPath is the default system path to the sendmail binary // SendmailPath is the default system path to the sendmail binary
const SendmailPath = "/usr/bin/sendmail" const SendmailPath = "/usr/sbin/sendmail"
// MsgOption returns a function that can be used for grouping Msg options // MsgOption returns a function that can be used for grouping Msg options
type MsgOption func(*Msg) type MsgOption func(*Msg)