Re: ssl (smtpd and remote)

2014-04-12 Thread Nicolas de Bari Embriz Garcia Rojas
Create/sign your certificate (pem) format, and put it for example in:
/var/qmail/control/my_smtp.pem

next use something like this https://gist.github.com/nbari/10548384#file-run-L26

for TLS use something like this https://gist.github.com/nbari/10548546

check that the file called smtpcert (/var/qmail/control/smtpcert)
contains the path to your 'pem' certificate.

regards

PS the links show run (daemontools) scripts



On Sat, Apr 12, 2014 at 6:41 PM, Friedrich Locke
 wrote:
> Hi folks,
>
> i am trying to get ssl for qmail-smtpd and qmail-remote. Up to know i am
> very confused with the certificate files necessary.
>
> For instance:
>
> "make cert" saves the certificate file in control/cert.pm
> This approach (the one above) does not make qmail-smtpd support STARTTLS
> after a telnet connection on port smtp and issue "ehlo obsd.cpd.ufv.br"
>
> I took a look at qmail-dmtpd.c source file and i saw it expects the cert
> file in "control/smtpcert".
>
> And qmail-remote.c: accordingly qmail-remote.c, it looks in
> "control/remotecert".
>
> So, i have some doubts, what are the file i need to allow tls/ssl in my
> qmail installations ? How to generate them ? I am really in need for these
> informations.
>
> Thank you a laot for your time and cooperation.
>
> Best regards,
>
> Fried.



-- 
> nbari


ssl (smtpd and remote)

2014-04-12 Thread Friedrich Locke
Hi folks,

i am trying to get ssl for qmail-smtpd and qmail-remote. Up to know i am
very confused with the certificate files necessary.

For instance:

"make cert" saves the certificate file in control/cert.pm
This approach (the one above) does not make qmail-smtpd support STARTTLS
after a telnet connection on port smtp and issue "ehlo obsd.cpd.ufv.br"

I took a look at qmail-dmtpd.c source file and i saw it expects the cert
file in "control/smtpcert".

And qmail-remote.c: accordingly qmail-remote.c, it looks in
"control/remotecert".

So, i have some doubts, what are the file i need to allow tls/ssl in my
qmail installations ? How to generate them ? I am really in need for these
informations.

Thank you a laot for your time and cooperation.

Best regards,

Fried.