Adding option to default config.
authortokul <tokul@7612ce4b-ef26-0410-bec9-ea0150e637f0>
Tue, 30 Mar 2004 16:38:48 +0000 (16:38 +0000)
committertokul <tokul@7612ce4b-ef26-0410-bec9-ea0150e637f0>
Tue, 30 Mar 2004 16:38:48 +0000 (16:38 +0000)
Adding option for users that use /usr/sbin/sendmail

git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@6971 7612ce4b-ef26-0410-bec9-ea0150e637f0

config/conf.pl
config/config_default.php

index fbe67853a55a5203457f84c6a08e968b257b8273..03f9c0ea6f0fb651195211e291c6293ebae5fc4e 100755 (executable)
@@ -402,6 +402,7 @@ while ( ( $command ne "q" ) && ( $command ne "Q" ) ) {
           if ( lc($useSendmail) eq 'true' ) {
             print $WHT . "Sendmail" . $NRM . "\n--------\n";
             print "4.   Sendmail Path         : $WHT$sendmail_path$NRM\n";
+            print "5.   Suppress SM header    : $WHT$skip_SM_header$NRM\n";
             print "\n";
           } else {
             print $WHT . "SMTP Settings" . $NRM . "\n-------------\n";
index b922d1aee81b70e8945b8140dff9108d232b8f13..a02f559c135e23e59ce56f13bf16faac34c3a9a2 100644 (file)
@@ -101,6 +101,17 @@ $useSendmail = false;
 $smtpServerAddress = 'localhost';
 $smtpPort = 25;
 
+/**
+ * Option can be used to disable Received: headers added by squirrelmail.
+ * This can increase user's privacy and solve problems with spam filters
+ * that increase spam marks for dynamic dialup addresses.
+ *
+ * If admin enables this setting, system should have some logging facility 
+ * or other tools to control users. SquirrelMail's Received: header provides 
+ * information, that can't be forged by webmail user.
+ */
+$skip_SM_header = false;
+
 /**
  * Program that should be used when sending email. SquirrelMail expects that
  * this program will follow options used by original sendmail