From cba7675ed614bf5bc0939c70bb58e8c7dadbb75a Mon Sep 17 00:00:00 2001 From: tokul Date: Tue, 30 Mar 2004 16:38:48 +0000 Subject: [PATCH] Adding option to default config. 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 | 1 + config/config_default.php | 11 +++++++++++ 2 files changed, 12 insertions(+) diff --git a/config/conf.pl b/config/conf.pl index fbe67853..03f9c0ea 100755 --- a/config/conf.pl +++ b/config/conf.pl @@ -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"; diff --git a/config/config_default.php b/config/config_default.php index b922d1ae..a02f559c 100644 --- a/config/config_default.php +++ b/config/config_default.php @@ -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 -- 2.25.1