Penguin

Differences between version 18 and previous revision of EximSmtpAuth.

Other diffs: Previous Major 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 17 Last edited on Thursday, January 26, 2006 11:28:15 am by NickJohnson Revert
@@ -34,18 +34,27 @@
  host_auth_accept_relay = * 
 (which is the default in debian) 
  
 this is accomplished in Exim 4 with 
- host_auth_accept_relay = * 
+ 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 
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