Re: ssl (smtpd and remote)
Nicolas de Bari Embriz Garcia Rojas <[email protected]> Sat, 12 Apr 2014 19:06:55 +0100
| Newsgroups | gmane.mail.qmail.ldap |
|---|---|
| Message-ID | <CAG+iRUnw78JrXPn-d+dwZUqwsHRH2_mZ0Wi_4ji8K8tjZw0e8g@mail.gmail.com> |
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 <[email protected]> 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