/[gentoo]/xml/htdocs/doc/en/home-router-howto.xml
Gentoo

Diff of /xml/htdocs/doc/en/home-router-howto.xml

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

Revision 1.12 Revision 1.13
1<?xml version='1.0' encoding='UTF-8'?> 1<?xml version='1.0' encoding='UTF-8'?>
2<!-- $Header: /var/cvsroot/gentoo/xml/htdocs/doc/en/home-router-howto.xml,v 1.12 2004/08/08 20:46:42 vapier Exp $ --> 2<!-- $Header: /var/cvsroot/gentoo/xml/htdocs/doc/en/home-router-howto.xml,v 1.13 2004/08/09 03:46:29 vapier Exp $ -->
3<!DOCTYPE guide SYSTEM "/dtd/guide.dtd"> 3<!DOCTYPE guide SYSTEM "/dtd/guide.dtd">
4 4
5<guide link="/doc/en/home-router-howto.xml"> 5<guide link="/doc/en/home-router-howto.xml">
6 6
7<title>Home Router Guide</title> 7<title>Home Router Guide</title>
669 669
670<pre caption="Setting up SMTP"> 670<pre caption="Setting up SMTP">
671# <i>emerge qmail</i> 671# <i>emerge qmail</i>
672<comment>make sure the output of `hostname` is correct</comment> 672<comment>make sure the output of `hostname` is correct</comment>
673# <i>ebuild /var/db/pkg/*-*/qmail-1.03-r*/*.ebuild config</i> 673# <i>ebuild /var/db/pkg/*-*/qmail-1.03-r*/*.ebuild config</i>
674# <i>iptables -I INPUT -p tcp --dport smtp -i ! eth1 -j REJECT</i> 674# <i>iptables -I INPUT -p tcp --dport smtp -i ! eth0 -j REJECT</i>
675# <i>ln -s /var/qmail/supervise/qmail-send /service/qmail-send</i> 675# <i>ln -s /var/qmail/supervise/qmail-send /service/qmail-send</i>
676# <i>ln -s /var/qmail/supervise/qmail-smtpd /service/qmail-smtpd</i> 676# <i>ln -s /var/qmail/supervise/qmail-smtpd /service/qmail-smtpd</i>
677<!--
677# <i>cd /etc/tcprules.d</i> 678# <i>cd /etc/tcprules.d</i>
678# <i>nano tcp.qmail-smtp</i> 679# <i>nano tcp.qmail-smtp</i>
680-->
681# <i>cd /etc</i>
682# <i>nano tcp.smtp</i>
679<comment>Add an entry like so to the allow section: 683<comment>Add an entry like so to the allow section:
680192.168.0.:allow,RELAYCLIENT=""</comment> 684192.168.0.:allow,RELAYCLIENT=""</comment>
685<!--
681# <i>tcprules tcp.qmail-qmtp.cdb rules.tmp &lt; tcp.qmail-smtp</i> 686# <i>tcprules tcp.qmail-qmtp.cdb rules.tmp &lt; tcp.qmail-smtp</i>
687-->
688# <i>tcprules tcp.smtp.cdb rules.tmp &lt; tcp.smtp</i>
682# <i>rc-update add svscan default</i> 689# <i>rc-update add svscan default</i>
683# <i>/etc/init.d/svscan start</i> 690# <i>/etc/init.d/svscan start</i>
684</pre> 691</pre>
685 692
686<p> 693<p>

Legend:
Removed from v.1.12  
changed lines
  Added in v.1.13

  ViewVC Help
Powered by ViewVC 1.1.20