I need to sort out sendmail on my network server. It needs to immediately deliver local mail, queue outgoing mail and rewrite headers on outgoing mail. Also, it must relay mail from PCs on my subnet (to either local users or put in in the outgoing queue). So far, I have made it do all this except relay mail from other machines on the network.
I've been configuring it with a .mc file and generating the cf file from that. What do I need to add to the .mc file to allow it to relay stuff on the local subnet only. (I don't want other people using m box as a mail relay when I'm online.)