Autor: Jakob Hirsch Data: Dla: Luca Bertoncello CC: Exim Users ML Temat: Re: [exim] Logging to SysLog just some events
Quoting Luca Bertoncello:
> Unfortunately, I can't do it from Exim, because there is no ACL called after an
> authentication failure.
There are possibilities to work around this:
- instead of "fail" at the end of your server_condition, use "${lookup
your_db {INSERT INTO ... ON DUPLICATE KEY UPDATE...} {no}{no}}". You can
put that into a macro to use it nicely with multiple auth types.
- set an ACL variable (like acl_c_tried_auth) in your acl_smtp_auth ACL
and check it in acl_smtp_quit and acl_smtp_notquit (and acl_smtp_mail or
_rcpt). If it is set and $authenticated_id is not set, do the stuff you
want (see above).