瀏覽代碼

adding doc for the sitewide options I added last night

Erin Schnabel 21 年之前
父節點
當前提交
1e9ce14134
共有 2 個文件被更改,包括 23 次插入0 次删除
  1. 1 0
      ChangeLog
  2. 22 0
      doc/authentication.txt

+ 1 - 0
ChangeLog

@@ -113,6 +113,7 @@ Version 1.5.0 -- CVS
   - Fix again for Internet Explorer's stupidity of decoding characters, then
     executing it blindly. See http://www.securityfocus.com/archive/1/340118.
   - Replaced obsolate 2mbit.com RBL with ahbl.org RBL. Bug.No.829887
+  - Added a sitewide override for authenticated SMTP - see authentication.txt.
   - Fixed sorting of sent_subfolders.
     Sent_subfolder plugin is hooked to special_mailbox hook.
 

+ 22 - 0
doc/authentication.txt

@@ -81,4 +81,26 @@ To get the challenge with SMTP:
 	QUIT
 	[server says bye, closes connection]
 
+
+OPTIONAL SMTP AUTH CONFIGURATION
+--------------------------------
+
+If you need all users to send mail via an upstream SMTP provider
+(your ISP, for example), and that ISP requires authentication,
+there are two variables that can be added to config_local.php
+that will specify a sitewide SMTP username and password.
+
+Set up SMTP authentication to the remote server according to the 
+instructions above, then add the following to config_local.php, 
+replacing <smtp_user> and <smtp_pass> with the username and password
+you'd like to use for the entire site:
+
+  $smtp_sitewide_user = '<smtp_user>';
+  $smtp_sitewide_pass = '<smtp_pass>';
+
+These values will be used to connect to the SMTP server as long
+as the authentication mechanism is something besides 'none', i.e.
+'login','plain','cram-md5', or 'digest-md5'.
+
+
 [End]