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