Penguin

Differences between version 18 and predecessor to the previous major change of EximSmtpAuth.

Other diffs: Previous Revision, Previous Author, or view the Annotated Edit History

Newer page: version 18 Last edited on Saturday, January 28, 2006 7:39:25 am by KenDowns Revert
Older page: version 16 Last edited on Thursday, January 26, 2006 11:07:21 am by DanielLawson Revert
@@ -29,19 +29,34 @@
 These are both plain text drivers, you may wish to investigate using other drivers. Note, this won't work if your login or password contain :'s 
  
 __NOTE__: the above example refers to $2 and $3 for PLAIN auth, and $1 and $2 for LOGIN auth. This is correct! It is the only way PLAIN auth will work. If you find PLAIN auth isn't working, check that you are using $2 and $3 for the user and secret tokens, and not $1 and $2 
  
-You will also need to make sure you have 
+In Exim 3, you will also need to make sure you have 
  host_auth_accept_relay = * 
 (which is the default in debian) 
+  
+this is accomplished in Exim 4 with  
+ hostlist host_auth_accept_relay = *  
+in the main section of the config file, which is there by default in FreeBSD.  
  
 and you will need to add 
  exim_user = root 
 since you can't check passwords unless you are root, so you need to run exim as root. Pity. 
  
-Alternatively you can use shadow group to enable PAM without root priviliges  
+Note however that if you run exim as root, the default config may disallow remote SMTP delivery when running as root, which kills the whole show. If this is the case, then when you send a message using the MUA you will see no error, but in the log you will see "User 0 set for remote_smtp transport is on the never_users list" and the message will get dropped.  
+  
+To get around this, set the group ownership of /etc/ shadow to something like "shadow" or some other group used only for this purpose, make the file group readable, as in:  
+ # groupadd shadow  
+ # chgrp shadow /etc/shadow  
+ # chmod g+r /etc/shadow  
+  
+then add these lines to exim.conf (and remove exim_user= root)  
  exim_user = mail 
  exim_group = shadow 
+  
+  
+  
+!!! Testing  
  
 Now restart exim and type 
  exim -bh localhost 
 try the commands 
The following authors of this page have not agreed to the WlugWikiLicense. As such copyright to all content on this page is retained by the original authors. The following authors of this page have agreed to the WlugWikiLicense.

PHP Warning

lib/plugin/WlugLicense.php (In template 'html'):99: Warning: Invalid argument supplied for foreach()

lib/plugin/WlugLicense.php (In template 'html'):111: Warning: in_array() [<a href='function.in-array'>function.in-array</a>]: Wrong datatype for second argument

lib/plugin/WlugLicense.php (In template 'html'):111: Warning: in_array() [<a href='function.in-array'>function.in-array</a>]: Wrong datatype for second argument