[exim] perform different authentication depending on interfa…

Page principale
Supprimer ce message
Répondre à ce message
Auteur: B. Cook
Date:  
À: exim users
Sujet: [exim] perform different authentication depending on interface?
Is this possible?

This is what I currently have..

336 begin authenticators
337
338 login:
339 driver = dovecot
340 public_name = LOGIN
341 server_socket = /var/run/dovecot/auth-client
342 # setting server_set_id might break several headers in mails sent by
authenticated smtp. So be careful.
343 server_set_id = $1
344
345 plain:
346 driver = dovecot
347 public_name = PLAIN
348 server_socket = /var/run/dovecot/auth-client
349 server_set_id = $1
350


and I would like to add additional options like if they are coming from
127.0.0.1..

login:
driver = dovecot
public_name = LOGIN
server_socket = /var/run/dovecot/auth-client
server_set_id = $1@???

plain:
driver = dovecot
public_name = PLAIN
server_socket = /var/run/dovecot/auth-client
server_set_id = $1@???



Is that possible? how would I do that?

Thanks in advance.