On 2013-09-25 Wed 11:39 AM |, Gilles Chehade wrote: > > It's officially still true, unofficially you can do it on recent > versions by declaring a table (i'll use a static table for the example > but you can use a file, db, sqlite or ldap one): > > $ encrypt > mypassword > $2a$06$BTOM8Ck.HEInGF888KbjiORoXSOFT.McbLZIS85gMSmHTPA5Tds2S > $ > > smtpd.conf: > > table mycreds { gilles = gilles:$2a$06$BTO[...]PA5Tds2S } > listen on [...] auth <mycreds> > > and now, user 'gilles' can authenticate with password 'mypassword' >
Is this possible without TLS/SSL Gilles? i.e; via CRAM-MD5 or DIGEST-MD5 Such as: $ telnet localhost submission Trying 127.0.0.1... Connected to localhost. Escape character is '^]'. 220 teak.britvault.co.uk ESMTP Postfix ehlo localhost 250-teak.britvault.co.uk 250-PIPELINING 250-SIZE 10485760 250-ETRN 250-AUTH CRAM-MD5 250-XVERP 250-ENHANCEDSTATUSCODES 250-8BITMIME 250 DSN Regards, -- Craig Skinner | http://twitter.com/Craig_Skinner | http://linkd.in/yGqkv7