[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
SF.net SVN: ledger-smb:[6322] trunk
- Subject: SF.net SVN: ledger-smb:[6322] trunk
- From: ..hidden..
- Date: Fri, 27 Dec 2013 20:39:54 +0000
Revision: 6322
http://sourceforge.net/p/ledger-smb/code/6322
Author: ehuelsmann
Date: 2013-12-27 20:39:53 +0000 (Fri, 27 Dec 2013)
Log Message:
-----------
Allow MIME::Lite to pass the -f option to sendmail to eliminate the
the web-user as the envelope sender (which runs a high risk of
being classified as spam *and* doesn't look good).
Note: This change requires a configuration change: the sendmail
configuration variable should contain the name of the sendmail
executable; not a sendmail invocation (command line including options).
Modified Paths:
--------------
trunk/LedgerSMB/Mailer.pm
trunk/ledgersmb.conf.default
Modified: trunk/LedgerSMB/Mailer.pm
===================================================================
--- trunk/LedgerSMB/Mailer.pm 2013-12-23 21:01:43 UTC (rev 6321)
+++ trunk/LedgerSMB/Mailer.pm 2013-12-27 20:39:53 UTC (rev 6322)
@@ -219,7 +219,8 @@
} else {
$self->{_message}->send(
'sendmail',
- ${LedgerSMB::Sysconfig::sendmail}
+ SendMail => ${LedgerSMB::Sysconfig::sendmail},
+ SetSender => 1
) || return $!;
}
}
Modified: trunk/ledgersmb.conf.default
===================================================================
--- trunk/ledgersmb.conf.default 2013-12-23 21:01:43 UTC (rev 6321)
+++ trunk/ledgersmb.conf.default 2013-12-27 20:39:53 UTC (rev 6322)
@@ -84,7 +84,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