###
### Dans /etc/exim4/conf.d/acl/30-check_rcpt
###

## Accepter de relayer inconditionnellement.
accept authenticated = *

###
### Dans /etc/exim4/conf.d/main/02-options
###

## N'autoriser que lorsque la connexion est chiffrée.
auth_advertise_hosts = ${if eq{$tls_cipher}{}{}{*}}


###
### Dans /etc/exim4/conf.d/auth/42-login
###

login:
    driver = plaintext
    public_name = LOGIN
    server_prompts = Username:: : Password::
    server_condition = ${if pam{$1:${sg{$2}{:}{::}}}   \
                            {yes}{no} }
    server_set_id = $1