/[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.56 Revision 1.57
1<?xml version='1.0' encoding='UTF-8'?> 1<?xml version='1.0' encoding='UTF-8'?>
2<!DOCTYPE guide SYSTEM "/dtd/guide.dtd"> 2<!DOCTYPE guide SYSTEM "/dtd/guide.dtd">
3<!-- $Header: /var/cvsroot/gentoo/xml/htdocs/doc/en/home-router-howto.xml,v 1.56 2007/03/07 21:30:18 nightmorph Exp $ --> 3<!-- $Header: /var/cvsroot/gentoo/xml/htdocs/doc/en/home-router-howto.xml,v 1.57 2007/04/03 23:06:21 vapier Exp $ -->
4 4
5<guide link="/doc/en/home-router-howto.xml" lang="en"> 5<guide link="/doc/en/home-router-howto.xml" lang="en">
6<title>Home Router Guide</title> 6<title>Home Router Guide</title>
7 7
8<author title="Author"> 8<author title="Author">
15</abstract> 15</abstract>
16 16
17<!-- The content of this document is released into the public domain --> 17<!-- The content of this document is released into the public domain -->
18<license/> 18<license/>
19 19
20<version>1.35</version> 20<version>1.36</version>
21<date>2007-03-07</date> 21<date>2007-04-03</date>
22 22
23<chapter> 23<chapter>
24<title>Introduction</title> 24<title>Introduction</title>
25<section> 25<section>
26<body> 26<body>
797<comment>make sure the output of `hostname` is correct</comment> 797<comment>make sure the output of `hostname` is correct</comment>
798# <i>emerge --config netqmail</i> 798# <i>emerge --config netqmail</i>
799# <i>iptables -I INPUT -p tcp --dport smtp -i ! ${LAN} -j REJECT</i> 799# <i>iptables -I INPUT -p tcp --dport smtp -i ! ${LAN} -j REJECT</i>
800# <i>ln -s /var/qmail/supervise/qmail-send /service/qmail-send</i> 800# <i>ln -s /var/qmail/supervise/qmail-send /service/qmail-send</i>
801# <i>ln -s /var/qmail/supervise/qmail-smtpd /service/qmail-smtpd</i> 801# <i>ln -s /var/qmail/supervise/qmail-smtpd /service/qmail-smtpd</i>
802<!--
803# <i>cd /etc/tcprules.d</i> 802# <i>cd /etc/tcprules.d</i>
804# <i>nano tcp.qmail-smtp</i> 803# <i>nano tcp.qmail-smtp</i>
805--> 804<!--
806# <i>cd /etc</i> 805# <i>cd /etc</i>
807# <i>nano tcp.smtp</i> 806# <i>nano tcp.smtp</i>
807-->
808<comment>Add an entry like so to the allow section:</comment> 808<comment>Add an entry like so to the allow section:</comment>
809192.168.0.:allow,RELAYCLIENT="" 809192.168.0.:allow,RELAYCLIENT=""
810<!-- 810<!--
811# <i>tcprules tcp.qmail-qmtp.cdb rules.tmp &lt; tcp.qmail-smtp</i> 811# <i>tcprules tcp.qmail-qmtp.cdb rules.tmp &lt; tcp.qmail-smtp</i>
812# <i>tcprules tcp.smtp.cdb rules.tmp &lt; tcp.smtp</i>
812--> 813-->
813# <i>tcprules tcp.smtp.cdb rules.tmp &lt; tcp.smtp</i> 814# <i>make</i>
814# <i>rc-update add svscan default</i> 815# <i>rc-update add svscan default</i>
815# <i>/etc/init.d/svscan start</i> 816# <i>/etc/init.d/svscan start</i>
816</pre> 817</pre>
817 818
818<p> 819<p>
819I'm a huge fan of netqmail, but you're free to use a different mta :). When you 820I'm a huge fan of qmail, but you're free to use a different mta :). When you
820setup e-mail on the hosts in your network, tell them that their SMTP server is 821setup e-mail on the hosts in your network, tell them that their SMTP server is
821192.168.0.1 and everything should be peachy. You might want to visit the <uri 822192.168.0.1 and everything should be peachy. You might want to visit the <uri
822link="http://netqmail.org/">netqmail homepage</uri> for more documentation. 823link="http://netqmail.org/">netqmail homepage</uri> for more documentation.
823</p> 824</p>
824 825

Legend:
Removed from v.1.56  
changed lines
  Added in v.1.57

  ViewVC Help
Powered by ViewVC 1.1.20