chatchai_j icon

exim4 saslauth + allow file

chatchai_j | PRO | 01/10/19 01:31:49 PM UTC | 0 ⭐ | 404 👁️ | Never ⏰ | []
text |

870 B

|

None

|

0 👍

/

0 👎

# Authenticate against local passwords using sasl2-bin
# Requires exim_uid to be a member of sasl group, see README.Debian.gz
plain_saslauthd_server:
   driver = plaintext
   public_name = PLAIN
#   server_condition = ${if saslauthd{{$auth2}{$auth3}}{1}{0}}		# ok
#   server_condition = true						# ok
#   server_condition = ${if or{{1}{1}}}					# unknown condition "1" inside "or{...}" condition
#   server_condition = ${if or{{true}{true}}}				# unknown condition "true" inside "or{...}" condition
    server_condition = ${if 							\
 				and {						\
					{saslauthd{{$auth2}{$auth3}}}		\
 					{bool{${lookup{$auth2}lsearch{/etc/exim4/allow}{1}{0}}}}				\
 				}						\
				{1}{0}						\
 			}
   server_set_id = $auth2
   server_prompts = :
   .ifndef AUTH_SERVER_ALLOW_NOTLS_PASSWORDS
   server_advertise_condition = ${if eq{$tls_in_cipher}{}{}{*}}
   .endif

Comments