Re: Database password encryption in dbmail.conf

Thomas Raschbacher <[email protected]> Wed, 27 Jun 2018 08:23:41 +0200
Newsgroups gmane.mail.imap.dbmail
Message-ID <[email protected]>
Hi. 

I think Mauro meant if it is possible to have the Database credentials
themselves encrypted in dbmail.conf. - To answer that: I don't think
that is possible, but if you configure permissions properly (0600 or
maybe 0660 then noone but the dbmail user and root should have access to
it) - or depending on which Database you use you could look into using
unix sockets instead of tcp/ip 

Regards 

On 2018-06-25 08:24, Andrea Brancatelli wrote:

> Password encryption is mostly transparent on the application side, you just have to choose an encryption method when you create an user with dbmail-users - the password will be encrypted on the db and DBMail will handle it transparently.
> 
> ---
> 
> Andrea Brancatelli
> 
> On 2018-06-23 14:05, Mauro Mozzarelli wrote:
> 
>> Hi All,
>> 
>> I am new to this list, thus apologies if the question was asked before.
>> 
>> How do I configure securely the database authentication credentials in
>> 
>> dbmail.conf?
>> 
>> Is there a way to encrypt the password?
>> 
>> Thank you in advance,
>> 
>> Mauro
>> 
>> _______________________________________________
>> DBmail mailing list
>> [email protected]
>> http://lists.nfg.nl/mailman/listinfo/dbmail
> 
> _______________________________________________
> DBmail mailing list
> [email protected]
> http://lists.nfg.nl/mailman/listinfo/dbmail

_______________________________________________
DBmail mailing list
[email protected]
http://lists.nfg.nl/mailman/listinfo/dbmail
signature.asc (application/pgp-signature, 833 B)
-----BEGIN PGP SIGNATURE-----

iQIzBAEBCAAdFiEE62Mx48XBif2bZfwnzmuFS0rK9ToFAlszLW4ACgkQzmuFS0rK
9Tq5qg/+IwFRoEZ5gTy1ZnXiVrngDtjCP2rjqj/SIUJTd/HX1Z62DrOjeWtsyv8F
8YjlqAvXIvSGLqQT+WurzdzTmoqATufA+UhBUf5Ywm1FlKu7Hc6+HkBY6TX0ssF6
JgORqrsy+LYx6yuMXwJCU/rd5om6qhJvlWfRy0I64iVM359mbdESCaQtbtI8CNuL
mWBPpAKj0kjirfH/4y5+AuktOiv2cjIS3RfN6en73Hsp+0Qn+oyHWhgH9LniRn3p
2S6HTQK2mCKXGmdpVnAR2VM4Hg1A22pLaPnOs0KSIwAj5D8Ilmzo0jLZKu6msdIr
dYjTJ7KRRA2Nda5XcbcQ2TK/94Rh5uYGL2Ck7rp/4idvChBXWAubnT+E/YVXpxlC
ddHDGcZ75yHogwPA7JpvMYSSfaLVOm8dWBUB7t+gf7OmDj5YwUOjgWEzU5/cQUqs
45rUryUydfkkPzO74ZRv2u0fgFbRO4OuhpHyuvZXEO5Dg0D0WhRH+xSEhqa0PGRH
NwIY4IXu1VzVlYoiBUVnr+tyhy3olSr2BIfE5vdY677MyWkW2iip4hu3LAhXT6vI
p69szVGS2pwILuz7iv3HqWIx8wkUZPAPuZopXKb3HJ/eFFDJ7TZH82yET2E7I0EK
Jxg7z/WP9v+8eBcBwFpT4ultc6lKrOhEiHn2lJ8K2EaSo1M1OX8=
=DZct
-----END PGP SIGNATURE-----