[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

SF.net SVN: ledger-smb:[6323] branches/1.3



Revision: 6323
          http://sourceforge.net/p/ledger-smb/code/6323
Author:   ehuelsmann
Date:     2013-12-28 05:37:38 +0000 (Sat, 28 Dec 2013)
Log Message:
-----------
Backport r6322: Prevent outgoing mail from being classified as SPAM
  due to wrong envelope sender; rather overrule envelope sender with
  From field value.

Revision Links:
--------------
    http://sourceforge.net/p/ledger-smb/code/6322

Modified Paths:
--------------
    branches/1.3/LedgerSMB/Mailer.pm
    branches/1.3/ledgersmb.conf.default

Modified: branches/1.3/LedgerSMB/Mailer.pm
===================================================================
--- branches/1.3/LedgerSMB/Mailer.pm	2013-12-27 20:39:53 UTC (rev 6322)
+++ branches/1.3/LedgerSMB/Mailer.pm	2013-12-28 05:37:38 UTC (rev 6323)
@@ -219,7 +219,8 @@
 	} else {
 		$self->{_message}->send(
 			'sendmail',
-			${LedgerSMB::Sysconfig::sendmail}
+			SendMail => ${LedgerSMB::Sysconfig::sendmail},
+		        SetSender => 1
 			) || return $!;
 	}
 }

Modified: branches/1.3/ledgersmb.conf.default
===================================================================
--- branches/1.3/ledgersmb.conf.default	2013-12-27 20:39:53 UTC (rev 6322)
+++ branches/1.3/ledgersmb.conf.default	2013-12-28 05:37:38 UTC (rev 6323)
@@ -78,7 +78,7 @@
 
 [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

This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.


------------------------------------------------------------------------------
Rapidly troubleshoot problems before they affect your business. Most IT 
organizations don't have a clear picture of how application performance 
affects their revenue. With AppDynamics, you get 100% visibility into your 
Java,.NET, & PHP application. Start your 15-day FREE TRIAL of AppDynamics Pro!
http://pubads.g.doubleclick.net/gampad/clk?id=84349831&iu=/4140/ostg.clktrk
_______________________________________________
Ledger-smb-commits mailing list
..hidden..
https://lists.sourceforge.net/lists/listinfo/ledger-smb-commits