mirror of
https://github.com/Ponce/slackbuilds
synced 2024-11-22 19:44:21 +01:00
888ec031ac
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
30 lines
675 B
Text
30 lines
675 B
Text
# LWQ 2.5.5
|
|
cd /usr/doc/netqmail-1.06/install_scripts
|
|
./config
|
|
cd /var/qmail/control
|
|
for i in me defaultdomain plusdomain locals rcpthosts
|
|
do
|
|
config $i.new
|
|
done
|
|
|
|
#LWQ 2.8.2.3
|
|
grep -q '127.:allow,RELAYCLIENT=""' /etc/tcp.smtp 2>/dev/null ||
|
|
echo '127.:allow,RELAYCLIENT=""' >>/etc/tcp.smtp
|
|
qmailctl cdb
|
|
|
|
# LWQ 2.8.3
|
|
for i in /usr/lib /usr/sbin
|
|
do
|
|
if [ -e $i/sendmail ]
|
|
then
|
|
if [ $(readlink -f $i/sendmail) != /var/qmail/bin/sendmail ]
|
|
then
|
|
mv $i/sendmail $i/sendmail.old
|
|
chmod 0 $i/sendmail.old
|
|
ln -s /var/qmail/bin/sendmail $i
|
|
fi
|
|
else
|
|
rm -f $i/sendmail # Could be a dangling symlink
|
|
ln -s /var/qmail/bin/sendmail $i
|
|
fi
|
|
done
|