From owner-freebsd-questions Thu Jul 9 16:59:14 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id QAA18757 for freebsd-questions-outgoing; Thu, 9 Jul 1998 16:59:14 -0700 (PDT) (envelope-from owner-freebsd-questions@FreeBSD.ORG) Received: from home2.stratos.net ([209.117.220.2]) by hub.freebsd.org (8.8.8/8.8.8) with SMTP id QAA18749 for ; Thu, 9 Jul 1998 16:59:08 -0700 (PDT) (envelope-from drifter@stratos.net) From: drifter@stratos.net Received: from somniac.org [207.86.133.7] by home2.stratos.net with ESMTP (SMTPD32-4.03) id A94867014E; Thu, 09 Jul 1998 19:59:04 EDT Received: (from drifter@localhost) by somniac.org (8.8.8/8.8.7) id UAA02637; Thu, 9 Jul 1998 20:01:15 -0400 (EDT) (envelope-from drifter) Message-ID: <19980709200115.A2497@stratos.net> Date: Thu, 9 Jul 1998 20:01:15 -0400 To: freebsd-questions@FreeBSD.ORG Subject: sendmail header rewriting... Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.91.1i Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Hi, I have a quick question here. After a year of using FreeBSD, I finally figured out a way to get my sendmail to route all net-bound mail to go through my ISP's smtp port. I also renamed my machine from impersonating my ISP to "somniac.org" (an unregistered domain name). The previous method worked, but I heard that people don't like that, and that some mailers might reject such messages. All seems to work fine now. Outbound mail goes through my ISP's smtp port, and sendmail rewrites the "From: " line of my mail headers. The strange thing is if I send a message from "root@somniac.org", it _doesn't_ get transformed to root@myisp.net. Instead, it stays the same. However, all other user accounts on my machine _do_ get the name translated properly. Now, I don't plan on sending any mail from root to the internet, I was just curious as to why this is so. I've included a copy of my .mc file below. -Thanks ... Rob VERSIONID(`somniac.org.mc version 1.0') OSTYPE(bsd4.4)dnl FEATURE(nouucp)dnl MAILER(local)dnl MAILER(smtp)dnl Cwlocalhost Cwsomniac.org MASQUERADE_AS(`stratos.net')dnl FEATURE(allmasquerade)dnl FEATURE(masquerade_envelope)dnl FEATURE(nocanonify)dnl FEATURE(nodns)dnl define(SMART_HOST, `smtp.stratos.net') Dmsomniac.org define(`confDOMAIN_NAME',`somniac.org')dnl define(`confDELIVERY_MODE',`deferred')dnl -- drifter@stratos.nospam.net (remove nospam to send) "Ever notice that in every commercial about the Internet, advertising geniuses can't resist having a bunch of kids staring into a monitor, awe- struck, looking at a whale jumping out of the ocean? Or is it just me?" To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message