Given: Some OS/2 systems with IBM TCPIP, in a university LAN.
Sendmail not running in server mode.
I have a need to make sendmail to deliver all mail to a smarthost.
Is this possible with the sendmail of IBM TCPIP 2.0, and if not,
does there exist a sendmail with this capapbility already ported
to OS/" ?
If it is possible, how ?
Regards, and with thanks in advance for any hint,
Christoph Weber-Fahr
--
Christoph Weber-Fahr | E-Mail: we...@rhrk.uni-kl.de
Universitaet Kaiserslautern, KIT | S-Mail: Postfach 3049
Tel. 0631/205-3391 | D-67653 Kaiserslautern
-------------------------- My personal opinion only ---------------------
> Given: Some OS/2 systems with IBM TCPIP, in a university LAN.
> Sendmail not running in server mode.
> I have a need to make sendmail to deliver all mail to a smarthost.
> Is this possible with the sendmail of IBM TCPIP 2.0, and if not,
> does there exist a sendmail with this capapbility already ported
> to OS/" ?
>
> If it is possible, how ?
I saved the posting below, which may help.
Horst
------------------------------------------------------------------------
Path: zam103!news.dfn.de!fauern!news.th-darmstadt.de!math.fu-berlin.de!MathWorks.Com!europa.eng.gtefsd.com!howland.reston.ans.net!pipex!uknet!doc.ic.ac.uk!aixssc.uk.ibm.com!watnews.watson.ibm.com!sernews!news
From: e...@costello.mcl.ibm.com (Ed Costello)
Newsgroups: comp.os.os2.networking
Subject: Re: Configuring Sendmail - Help?
Message-ID: <CLG06...@sernews.raleigh.ibm.com>
Date: Sat, 19 Feb 94 00:06:08 GMT-0:01
References: <2k2q02$s...@hobbes.cc.uga.edu>
Sender: ne...@sernews.raleigh.ibm.com
Reply-To: cost...@vnet.ibm.com (Ed Costello)
Organization: IBM Mid-Hudson Valley Programming Lab, Poughkeepsie NY, USA
Lines: 28
Nntp-Posting-Host: costello.mcl.ibm.com
Before the rewrite rules section, add the following:
#Define host to forward mail through
DVhostname.do.main
Where hostname.do.main is the host to route mail through.
Then comment out the following rule in ruleset s0 (bottom of sendmail.cf)
#
# Send domain address to tcp. This includes domain literals [IP quads].
# User is full focused path.
#
#R$*<@$+>$* $#tcp$@$2$:$1<@$2>$3
^---comment it out with a "#" character
Then, add a rewrite rule to S0:
#Following rewrite rule redirects all mail through the gateway defined
#by DV
R$*<@$+>$*<tab>$#tcp$@$V$:$1<@$2>$3
Where <tab> is a tab character (ascii 9).
Maybe this could go in the FAQ file?
-ed costello
cost...@vnet.ibm.com
//DISCLAIM JOB
//* This post reflects the views of the poster and not the IBM Corporation
//* (I couldn't speak for IBM if I tried!)