[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Switch to more default exim setup for Jessie?



[Petter Reinholdtsen]
> Anyone know exim well enough to come up with a patch for
> debian-edu-config to do this?  I suspect the wiki page have a good
> starting point for config fragments, but am unsure if the client
> config also need some changes, and if we can make sure the ldap and
> maildir setup only is enabled on the main server, and not all the
> clients.

I recently added a testsuite check to verify that it is possible to
send email to local users via SMTP, to make sure all machines on the
local network can get their emails delivered locally.  This do not
work, and I suspect it should.  The problem seem to be commit
0f3861139cf63159bcaf38e7d70098b851347225 by Andreas B. Mundt from
2010.  I believe it made it required to have a Kerberos ticket to use
the SMTP interface, but am not sure.

This patch get my test working, but I am not sure I am testing the
correct thing, and if this change make sense.  Anyone know?

diff --git a/exim4/exim-ldap-server-v4.conf b/exim4/exim-ldap-server-v4.conf
index 93cfbe3..c343049 100644
--- a/exim4/exim-ldap-server-v4.conf
+++ b/exim4/exim-ldap-server-v4.conf
@@ -188,10 +188,10 @@ check_recipient:
   # Exim 3 had no checking on -bs messages, so for compatibility
   # we accept if the source is local SMTP (i.e. not over TCP/IP).
   # We do this by testing for an empty sending host field.
-  deny  !authenticated = *
-        message = SMTP server requires authentication. Check your SMTP client configuration.
-  deny condition = ${if eq{$authenticated_id}{$sender_address_local_part@INTERN}{false}{true}}
-        message = Sender address $sender_address conflicts with authentication $authenticated_id. 
+#  deny  !authenticated = *
+#        message = SMTP server requires authentication. Check your SMTP client configuration.
+#  deny condition = ${if eq{$authenticated_id}{$sender_address_local_part@INTERN}{false}{true}}
+#        message = Sender address $sender_address conflicts with authentication $authenticated_id. 
   accept  hosts = :
   accept  domains = +local_domains
   accept  hosts = +relay_hosts

-- 
Happy hacking
Petter Reinholdtsen


Reply to: