1) First stop qmail: "service qmail stop"

2) Now run this command: "mkdir -p
/var/qmail/supervise/smtp-ssl/supervise 
/var/qmail/supervise/smtp-ssl/log/supervise"

3) Create a file called "/var/qmail/supervise/smtp-ssl/run" with the
following contents
#!/bin/sh
QMAILDUID=`id -u vpopmail`
NOFILESGID=`id -g vpopmail`
MAXSMTPD=`cat /var/qmail/control/concurrencyincoming`
SMTPD="/var/qmail/bin/qmail-smtpd"
TCP_CDB="/etc/tcprules.d/tcp.smtp.cdb"
HOSTNAME=`hostname`
VCHKPW="/home/vpopmail/bin/vchkpw"
SMTPS=1
export SMTPS

exec /usr/bin/softlimit -m 12000000 \
    /usr/bin/tcpserver -v -R -H -l $HOSTNAME -x $TCP_CDB -c "$MAXSMTPD" \
    -u "$QMAILDUID" -g "$NOFILESGID" 0 465 \
    $SMTPD $VCHKPW /bin/true 2>&1

4) Create a file called "/var/qmail/supervise/smtp-ssl/log/run" with
the following contents
#!/bin/sh
LOGSIZE=`cat /var/qmail/control/logsize`
LOGCOUNT=`cat /var/qmail/control/logcount`
exec /usr/bin/setuidgid qmaill /usr/bin/multilog t s$LOGSIZE
n$LOGCOUNT /var/log/qmail/smtp-ssl 2>&1

5) Execute the following command: "chmod +x
/var/qmail/supervise/smtp-ssl/run
/var/qmail/supervise/smtp-ssl/log/run && chown -R qmaill:qmail
/var/qmail/supervise/smtp-ssl "

6) Restart qmail: "service qmail start"

7) Open port tcp/465 in firewall if necessary. Now have the client
that cannot connect to port 25 on your machine to set his mail client
to use smtp-ssl via port 465.

Thanks,
Erik

On 4/6/06, Samuel Díaz García <[EMAIL PROTECTED]> wrote:
> Hi guys, I'm configuring a secure SMTP with qmail-toaster under FC5.
> I'm not an expert with qmail, but I had been successfully configured
> POP3S with user certs without many problems.
>
> I want users needs their certs to allow smtp connections and cipher the
> transfers.
>
> Any idea?
>
> With some links I you can help me a lot.
>
> Thanks
>
> --
>     Samuel Díaz García
>      Director Gerente
> ArcosCom Wireless, S.L.L.
>
> CIF: B11828068
> c/ Romero Gago, 19
> Arcos de la Frontera
> 11630 - Cadiz
>
> http://www.arcoscom.com
>
> mailto:[EMAIL PROTECTED]
> msn: [EMAIL PROTECTED]
>
> Móvil: 651 93 72 48
> Tlfn.: 956 70 13 15
> Fax:   956 70 34 83
>
>
> ---------------------------------------------------------------------
>      QmailToaster hosted by: VR Hosted <http://www.vr.org>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>

---------------------------------------------------------------------
     QmailToaster hosted by: VR Hosted <http://www.vr.org>
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to