\n\n# Unix clients\nplain:\ndriver = plaintext\npublic_name = PLAIN\nserver_condition = \\\n${if eq {${readsocket{\/usr\/local\/var\/authdaemon\/socket}\\\n{AUTH ${strlen:exim\\nlogin\\n$2\\n$3\\n}\\nexim\\nlogin\\n$2\\n$3\\n}}}{FAIL\\n} {no}{yes}}\nserver_set_id = $2\n# Windows clients\nlogin:\ndriver = plaintext\npublic_name = LOGIN\nserver_prompts = Username:: : Password::\nserver_condition = ${if eq {${readsocket{\/usr\/local\/var\/authdaemon\/socket} \\\n{AUTH ${strlen:exim\\nlogin\\n$1\\n$2\\n}\\nexim\\nlogin\\n$1\\n$2\\n}}}{FAIL\\n} {no}{yes}}\nserver_set_id = $1\n<\/pre>\n<\/blockquote>\nVery nice and simple, now I can SMTP auth against my SQL and PAM based auth that is in use on my machines. Works well with Outlook and Evolution.<\/p>\n","protected":false},"excerpt":{"rendered":"
UPDATE: There is now an Official Exim FAQ Entry for this, You should use this for best results as the method below does not work on all versions of authdaemon. If you were having issues with Debian and the solution below, look at the comments section for an update from Debian. I have been meaning […]<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_et_pb_use_builder":"","_et_pb_old_content":"","footnotes":""},"categories":[7],"tags":[30,33],"_links":{"self":[{"href":"https:\/\/www.devco.net\/wp-json\/wp\/v2\/posts\/159"}],"collection":[{"href":"https:\/\/www.devco.net\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.devco.net\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.devco.net\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.devco.net\/wp-json\/wp\/v2\/comments?post=159"}],"version-history":[{"count":1,"href":"https:\/\/www.devco.net\/wp-json\/wp\/v2\/posts\/159\/revisions"}],"predecessor-version":[{"id":819,"href":"https:\/\/www.devco.net\/wp-json\/wp\/v2\/posts\/159\/revisions\/819"}],"wp:attachment":[{"href":"https:\/\/www.devco.net\/wp-json\/wp\/v2\/media?parent=159"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.devco.net\/wp-json\/wp\/v2\/categories?post=159"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.devco.net\/wp-json\/wp\/v2\/tags?post=159"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}