From owner-freebsd-questions Sun Nov 26 18:04:00 1995 Return-Path: owner-questions Received: (from root@localhost) by freefall.freebsd.org (8.6.12/8.6.6) id SAA20243 for questions-outgoing; Sun, 26 Nov 1995 18:04:00 -0800 Received: from ucsu.colorado.edu (ucsu.Colorado.EDU [128.138.129.83]) by freefall.freebsd.org (8.6.12/8.6.6) with ESMTP id SAA20238 for ; Sun, 26 Nov 1995 18:03:55 -0800 Received: (from doranj@localhost) by ucsu.colorado.edu (8.6.12/8.6.12/CNS-3.6) id TAA19037 for questions@freebsd.org; Sun, 26 Nov 1995 19:03:51 -0700 Date: Sun, 26 Nov 1995 19:03:51 -0700 From: doran jonathon howard Message-Id: <199511270203.TAA19037@ucsu.colorado.edu> To: questions@freebsd.org Subject: Having problem setting up Sendmail (Horrors Oh Horrors) Content-Length: 1086 Sender: owner-questions@freebsd.org Precedence: bulk Hi, I'm trying to get sendmail to do something nice for me. The machine in question is part of a firewall, and sendmail needs to rewrite addresses on the way out, and forward mail to other machines on the way in. The O'Reilly book isn't much help to me at the moment, since the rulesets are different. Perhaps someone has done this before and can offer wisdom. The symptoms? Hundreds of them. Lets see, well mail is returned before being forwarded into the interior network (user unknown). I don't want aliases for accounts on this machine, just dump the mail to someone more knowledgeable. Having that working would make me feel much better. Next, I'm having trouble rewriting the addresses on the way out. I'm thinking ruleset 31 here, perhaps: R$+@R+ $1@$w or something close. But the address either doesn't get rewritten, or gets changed into something silly (two domains for example). I've been at this for a while, so I can't remember what I did there. Can somebody offer some suggestions? Feel free to mail to this account, its in another domain :-) Jon Doran