Skip to content

Commit

Permalink
Backport r6322: Prevent outgoing mail from being classified as SPAM
Browse files Browse the repository at this point in the history
  due to wrong envelope sender; rather overrule envelope sender with
  From field value.


git-svn-id: svn://svn.code.sf.net/p/ledger-smb/code/branches/1.3@6323 4979c152-3d1c-0410-bac9-87ea11338e46
  • Loading branch information
ehuelsmann committed Dec 28, 2013
1 parent 5ccd3e9 commit 13bce7b
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion LedgerSMB/Mailer.pm
Original file line number Diff line number Diff line change
Expand Up @@ -219,7 +219,8 @@ sub send {
} else {
$self->{_message}->send(
'sendmail',
${LedgerSMB::Sysconfig::sendmail}
SendMail => ${LedgerSMB::Sysconfig::sendmail},
SetSender => 1
) || return $!;
}
}
Expand Down
2 changes: 1 addition & 1 deletion ledgersmb.conf.default
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ gzip = gzip -S .gz

[mail]
### How to send mail. The sendmail command is used unless smtphost is set.
sendmail = /usr/bin/sendmail -t
sendmail = /usr/bin/sendmail
# smtphost = 127.0.0.1
# smtptimeout = 60
# backup_email_from = backups@lsmb_hosting.com
Expand Down

0 comments on commit 13bce7b

Please sign in to comment.