On Sun, Oct 05, 2014 at 09:12:19PM +0100, Brian wrote: > On Sun 05 Oct 2014 at 14:24:47 -0400, Harry Putnam wrote: > > > Simon Hollenbach <ionpowe...@gmail.com> writes: > > > > > You should leave the relay-list empty unless you really know what you > > > are doing. Mail to remote hosts should generally only be processed for > > > users that have authenticated to your SMTP-server. > > > > I don't have much of a clue of what I'm doing... but I should have > > mentioned earlier that my setup is a single user setup on a home lan. > > > > It gets a little confusing to me because the server itself needs to > > send out to my IP smart host, while at the same time it will serve s > > the smart host for my other lan machines. > > The term "smarthost" is simply another name for a mail server. A mail > server designated as a "smarthost" does nothing more or nothing less > than any other mail server. All mail across and between networks is > transported using mail servers. > > > I do want to be able to use this server as the smart host for my other > > lan machines. So is that second one (about relaying) the place to > > list my lan networks? > > It is the correct place. An example of what to put there is given in > another post in this thread. I have 192.168.7.0/24. I don't know whether > /24 is as good as /23.
It's tighter. /24 is most likely correct (describes a network starting from 192.168.7.0 and ending at 192.168.7.255). The "ipcalc" tool is very helpful for working out netmasks: > $ ipcalc 192.168.7.0/24 > Address: 192.168.7.0 11000000.10101000.00000111. 00000000 > Netmask: 255.255.255.0 = 24 11111111.11111111.11111111. 00000000 > Wildcard: 0.0.0.255 00000000.00000000.00000000. 11111111 > => > Network: 192.168.7.0/24 11000000.10101000.00000111. 00000000 > HostMin: 192.168.7.1 11000000.10101000.00000111. 00000001 > HostMax: 192.168.7.254 11000000.10101000.00000111. 11111110 > Broadcast: 192.168.7.255 11000000.10101000.00000111. 11111111 > Hosts/Net: 254 Class C, Private Internet versus > $ ipcalc 192.168.7.0/23 > Address: 192.168.7.0 11000000.10101000.0000011 1.00000000 > Netmask: 255.255.254.0 = 23 11111111.11111111.1111111 0.00000000 > Wildcard: 0.0.1.255 00000000.00000000.0000000 1.11111111 > => > Network: 192.168.6.0/23 11000000.10101000.0000011 0.00000000 > HostMin: 192.168.6.1 11000000.10101000.0000011 0.00000001 > HostMax: 192.168.7.254 11000000.10101000.0000011 1.11111110 > Broadcast: 192.168.7.255 11000000.10101000.0000011 1.11111111 > Hosts/Net: 510 Class C, Private Internet -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org Archive: https://lists.debian.org/20141006065147.GA14920@debian