The FreeBSD Diary

The FreeBSD Diary (TM)

Providing practical examples since 1998

If you buy from Amazon USA, please support us by using this link.
[ HOME | TOPICS | INDEX | WEB RESOURCES | BOOKS | CONTRIBUTE | SEARCH | FEEDBACK | FAQ | FORUMS ]
 New Topic  |  Go to Top  |  Go to Topic  |  Search  |  Log In   Newer Topic  |  Older Topic 
 Stunnel on Vpopmail
Author: Wesley Colazelli Gentine 
Date:   03-02-02 02:35

How can I use the stunnel on vpopmail if this uses the tcpserver program to run?

Thanks,

Reply To This Message
 
 Re: Stunnel on Vpopmail
Author: Jaz 
Date:   20-03-03 21:16

This can be accomplished by using this supervise script (See Life with Qmail http://www.lifewithqmail.org/ for supervise):

LOCAL=`head -1 /var/qmail/control/me`
QMAILDUID=`id -u qmaild`
NOFILESGID=`id -g qmaild`
MAXSMTPD=`cat /var/qmail/control/concurrencyincoming`

exec /usr/local/bin/softlimit -m 11000000 \
/usr/local/bin/tcpserver -v -R -l "$LOCAL" -x /etc/tcp.smtp.cdb -c "$MAXSMTPD" \
-u "$QMAILDUID" -g "$NOFILESGID" 0 smtps \
/usr/sbin/stunnel -T ssmtp -p /path/to/stunnel.pem -l \
/var/qmail/bin/qmail-smtpd 2>&1

Adjusted to your path, of course...

Reply To This Message
 Forum List  |  Threaded View   Newer Topic  |  Older Topic 


 Forum List  |  Need a Login? Register Here 
 User Login
 User Name:
 Password:
 Remember my login:
   
 Forgot Your Password?
Enter your email address or user name below and a new password will be sent to the email address associated with your profile.
How to get the most out of the forum

phorum.org