Re: pop ssl and dual smtp service
Peter Miller <[email protected]>
| Newsgroups | gmane.mail.qmail.ldap |
|---|---|
| Message-ID | <[email protected]> |
Jimmy Spam wrote: > Hi friends, > > I have setup my mail server using LWQL and > http://www.qmail-ldap.org/wiki/index.php/Full_Installation_Guide_-_Basic_Qmail_Installation > > For setup smtp,pop3 and send service I have used qmail-conf > (http://www.din.or.jp/~ushijima/qmail-conf.html) > > I have setup a standar pop3 (110) and smtp with ssl support (25) service. > > I want know how I can setup a pop3 ssl service (995) and how to run other > service only for secure SMTP connection on 465 port (I want keep also the > current smtp service running on port 25). > > I haven't found many accuracy info about this task And all I have tried > has failed (for example, this: > http://www.proscrutiny.com/howtos/qmail-ldap.html#pop3d-ssl_subsec) > > Thank you very much. > > > > > ______________________________________________________________________ > Correo gratis de Pobladores.com > Ahora con 25MB de capacidad. > http://www.pobladores.com/services/webmail > > > A simple solution is to install Stunnel to provide SSL support on port 465. http://www.stunnel.org You then add a rule to your qmail-smtpd.rules file to handle traffic coming from stunnel. Here is a sample from my rules file. 127.:allow,RELAYCLIENT="",QMAILQUEUE="/var/qmail/bin/simscan",SANITYCHECK="",RCPTCHECK="" #This rule applies to connections that were first accepted by Stunnel and sent here 10.0.0.1:allow,SMTPAUTH="",AUTHREQUIRED="",QMAILQUEUE="/var/qmail/bin/simscan",SANITYCHECK="",RCPTCHECK="",SENDERCHECK="STRICT" #The remaining "default" rule :allow,SMTPAUTH="TLSREQUIRED",QMAILQUEUE="/var/qmail/bin/simscan",SANITYCHECK="",RCPTCHECK="",SENDERCHECK="",RBL="",LOGLEVEL="3" You can use Stunnel to provide SSL support for pop3 on 995 as well.