So lets get started shall we? :) :
yum install stunnel
mkdir -p /var/qmail/supervise/qmail-pop3s/log
Note: Stunnel directory dependents*: /usr/bin/stunnel
vi /var/qmail/supervise/qmail-pop3s/log/run
exec = /var/qmail/bin/qmail-popup
execargs = /var/qmail/bin/qmail-popup mail.ribtechbd.com /home/vpopmail/bin/vchkpw /var/qmail/bin/qmail-pop3d Maildir
IT working fine.
yum install stunnel
mkdir -p /var/qmail/supervise/qmail-pop3s/log
vim
/var/qmail/supervise/qmail-pop3s/run
#!/bin/sh
exec /usr/local/bin/softlimit -m 40000000 \
/usr/local/bin/tcpserver -H -R -v -l 0 -c100 0 995 \
/usr/bin/stunnel /etc/stunnel/pop3s.conf \
-l /var/qmail/bin/qmail-popup -- qmail-popup mail.ribtechbd.com \
/home/vpopmail/bin/vchkpw \
/var/qmail/bin/qmail-pop3d Maildir 2>&1
exec /usr/local/bin/softlimit -m 40000000 \
/usr/local/bin/tcpserver -H -R -v -l 0 -c100 0 995 \
/usr/bin/stunnel /etc/stunnel/pop3s.conf \
-l /var/qmail/bin/qmail-popup -- qmail-popup mail.ribtechbd.com \
/home/vpopmail/bin/vchkpw \
/var/qmail/bin/qmail-pop3d Maildir 2>&1
Note: Stunnel directory dependents*: /usr/bin/stunnel
vi /var/qmail/supervise/qmail-pop3s/log/run
#!/bin/sh
exec /usr/local/bin/setuidgid qmaill /usr/local/bin/multilog t n1000 s2000000 /var/log/qmail/qmail-pop3s 2>&1
Note: Stunnel directory dependents*: /usr/bin/stunnel
exec /usr/local/bin/setuidgid qmaill /usr/local/bin/multilog t n1000 s2000000 /var/log/qmail/qmail-pop3s 2>&1
Note: Stunnel directory dependents*: /usr/bin/stunnel
vim /etc/stunnel/pop3s.conf
cert =
/var/qmail/control/servercert.pem
# Those to are only necessary
for file logging, default is stdout
debug =
7
output =
/etc/stunnel/stunnel.log
#####
client =
no
foreground =
yes
execargs = /var/qmail/bin/qmail-popup mail.ribtechbd.com /home/vpopmail/bin/vchkpw /var/qmail/bin/qmail-pop3d Maildir
chmod +x
/etc/stunnel/pop3s.conf
chmod +x
/var/qmail/supervise/qmail-pop3s/run
chmod +x
/var/qmail/supervise/qmail-pop3s/log/run
cp -rfp
/var/log/qmail/qmail-pop3d
/var/log/qmail/qmail-pop3s
touch /etc/stunnel/stunnel.log
chmod 777 /etc/stunnel/stunnel.log
ln -s /var/qmail/supervise/qmail-pop3s /service/
ln -s /var/qmail/supervise/qmail-pop3s /service/
**********************************************************************************
IT working fine.
(rajib)
No comments:
Post a Comment