On 09/08/14 14:08, Nolan Darilek wrote:
> I'm struggling to get OpenSMTPD working with DBMail. Seems I'm almost
> there but not quite. Mail is arriving into my account, but I can't seem
> to authenticate against the database due to authentication failures.
> 
> Currently DBMail is storing my password unencrypted, and it occurs to me
> that perhaps OpenSMTPD is expecting an encrypted password from
> query_credentials. Yes, I know this is a bad idea, and I fully intend to
> fix it, but my intent was to minimize moving parts.
> 
> I found a link that seems to indicate query_credentials expects a
> password returned in encrypt(3) format. Is this accurate?
> 
> If so, given this from DBMail's docs:
> 
> -p pwtype
> Password type may be one of the following: plaintext, crypt, md5-hash,
> md5-digest, crypt-raw, md5-hash-raw, md5-digest-raw, md5-base64,
> md5-base64-raw.
> 
> Which should I use such that query_credentials returns what OpenSMTPD
> expects?
> 
I think crypt would be a good choice since opensmtpd uses crypt(3) to check for 
passwords.
 Cheers
  Giovanni

-- 
You received this mail because you are subscribed to [email protected]
To unsubscribe, send a mail to: [email protected]

Reply via email to