my qmail smtp start script looks
where (and how) i should putt them in line?
thanks4 passion..*
#!/bin/sh
case "$1" in
'start')
QMAILDUID=`id -u qmaild`
NOFILESGID=`id -g qmaild`
MAXSMTPD=`cat /server/apps/qmail/control/concurrencyincoming`
exec /usr/local/bin/softlimit -m 2000000 \
/usr/local/bin/tcpserver -R -H -v -p -x /etc/tcp.smtp.cdb -c "$MAXSMTPD"
\
-u "$QMAILDUID" -g "$NOFILESGID" 0 smtp
/server/apps/qmail/bin/qmail-smtpd 2>&1 | \
/server/apps/qmail/bin/splogger smtpd &
/server/apps/qmail/rc
;;
'stop')
;;
*)
echo "Usage: $0 { start | stop }"
;;
esac
exit 0
----- Original Message -----
From: "Frank Tegtmeyer" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Sunday, April 08, 2001 6:26 PM
Subject: Re: relay-ctrl ?
"Mike A. Sauvain" <[EMAIL PROTECTED]> writes:
> somone has a better instruction page than the script owner?
What's wrong with:
-------------------------------------------------------------------
- Add the following line to a file in /etc/cron.d. This assumes a
recent version of vixie cron. Other versions of cron may use
different syntax, and you may need to edit root's crontab.
* * * * * /usr/sbin/relay-ctrl-age
How to use with qmail-pop3d:
- Insert the program "relay-ctrl-allow" between your checkpassword
program and qmail-pop3d in your invocation of tcpserver for the POP
service.
---------------------------------------------------------------------
There is nothing more to say about it. Please read the man pages of the
included programs to understand how it all works togther.
Regards, Frank