Date: Wed, 23 Jun 1999 11:46:12 -0700 (PDT) From: Dan Busarow <dan@dpcsys.com> To: Thomas Uhrfelt <thomas.uhrfelt@plymovent.se> Cc: "'freebsd-questions@FreeBSD.ORG'" <freebsd-questions@FreeBSD.ORG> Subject: Re: Sendmail the horror Message-ID: <Pine.BSF.3.96.990623113226.2750H-100000@java.dpcsys.com> In-Reply-To: <01BEBC2E.AF7BDB80.thomas.uhrfelt@plymovent.se>
next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, 21 Jun 1999, Thomas Uhrfelt wrote: > I have now solved all my DNS problems with sendmail but have one more problem > to solve until I am > completely happy: > > right now I have: > > define(`MAIL_HUB',`smtp:x.ournet.com')dnl <----(dummynames) > > which resolves just fine and it gets transfered to that name from the machine > y.ournet.com (mailgateway). Unfortunately > it also stamps the message with the target adress so if I mail > user@ournet.com it comes to the mailgateway and > gets redirected to x.ournet.com.. which is all goodie and fine. Except for > one slight thing, its also readressed to > user@x.ournet.com ( and the target computer is a MS Exchange machine, which > apparently don't handle this very well ). Thomas, I haven't had to do this so I'm not sure it will work, but I think you want to use mailertable. feature('mailertable') Then in /etc/mailertable (the default name and location) have the line ournet.com smtp:x.ournet.com You need to run makemap hash on the file after editing. From the docs ...where "mailer" is the internal mailer name, and "domain" is where to send the message. These maps are not reflected into the message header. ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^ Dan -- Dan Busarow 949 443 4172 Dana Point Communications, Inc. dan@dpcsys.com Dana Point, California 83 09 EF 59 E0 11 89 B4 8D 09 DB FD E1 DD 0C 82 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.3.96.990623113226.2750H-100000>