{"id":5,"date":"2008-02-06T19:23:22","date_gmt":"2008-02-06T18:23:22","guid":{"rendered":"http:\/\/platyna.platinum.linux.pl\/blog\/?p=5"},"modified":"2008-11-15T14:11:28","modified_gmt":"2008-11-15T13:11:28","slug":"sendmail-password-like-file-and-sasl2","status":"publish","type":"post","link":"https:\/\/platyna.info\/blog\/2008\/02\/06\/sendmail-password-like-file-and-sasl2\/","title":{"rendered":"Sendmail, password-like file and SASL2."},"content":{"rendered":"<p>As I have promised I am posting a patch that allows SASL2 to use password like file (eg. \/etc\/passwd-mail).<\/p>\n<p>After applying this patch we need to perform some dirty hacks:<br \/>\n* You need to install automake 1.7.2<br \/>\n* Enter saslauthd directory in SASL sources.<br \/>\n* Run automake 1.7.2 there.<\/p>\n<p>And then configure.<\/p>\n<p>Why? Because none of us has the idea how to make it works with autotools in the other way, if anyone knows a solution would be appreciated.<\/p>\n<p>And then you just need to prepare Sendmail.conf:<br \/>\n<code><br \/>\n# cat \/usr\/lib\/sasl2\/Sendmail.conf<br \/>\npwcheck_method: saslauthd<br \/>\nmech_list: LOGIN PLAIN<br \/>\n<\/code><\/p>\n<p>And then start saslauthd:<br \/>\n<code><br \/>\n\/usr\/sbin\/saslauthd -a getpwlike<br \/>\n<\/code><br \/>\nHere is the patch: <a href='http:\/\/platyna.platinum.linux.pl\/blog\/wp-content\/uploads\/2008\/09\/cyrus-sasl-pwlike.patch' title='cyrus-sasl-pwlike.patch'>cyrus-sasl-pwlike.patch<\/a><\/p>\n<p>Have fun!<\/p>\n","protected":false},"excerpt":{"rendered":"<p>As I have promised I am posting a patch that allows SASL2 to use password like file (eg. \/etc\/passwd-mail). After applying this patch we need to perform some dirty hacks: * You need to install automake 1.7.2 * Enter saslauthd directory in SASL sources. * Run automake 1.7.2 there. And then configure. Why? Because none [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_exactmetrics_skip_tracking":false,"_exactmetrics_sitenote_active":false,"_exactmetrics_sitenote_note":"","_exactmetrics_sitenote_category":0,"footnotes":""},"categories":[4,3],"tags":[24,32,27,25,26,23],"class_list":["post-5","post","type-post","status-publish","format-standard","hentry","category-administrativia","category-english","tag-cyrus-sasl","tag-dovecot","tag-passwd-like","tag-sasl","tag-saslauthd","tag-sendmail"],"_links":{"self":[{"href":"https:\/\/platyna.info\/blog\/wp-json\/wp\/v2\/posts\/5"}],"collection":[{"href":"https:\/\/platyna.info\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/platyna.info\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/platyna.info\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/platyna.info\/blog\/wp-json\/wp\/v2\/comments?post=5"}],"version-history":[{"count":0,"href":"https:\/\/platyna.info\/blog\/wp-json\/wp\/v2\/posts\/5\/revisions"}],"wp:attachment":[{"href":"https:\/\/platyna.info\/blog\/wp-json\/wp\/v2\/media?parent=5"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/platyna.info\/blog\/wp-json\/wp\/v2\/categories?post=5"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/platyna.info\/blog\/wp-json\/wp\/v2\/tags?post=5"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}