🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.mail.sendmail
Article #34

Re: Forwarding messages through sendmail

#34
From: Neil Rickert
Date: Mon, 02 Nov 1992 01:46
19 lines
1153 bytes
In article <2af52a24.122c@grace.cri.nz> srghcxp@grace.cri.nz writes:
>How do you tell sendmail to act as a router, accepting messages
>for machine 'x' and sending them to whomever they are addressed to.

You just forward it to that machine.  In a typical 'sendmail.cf' you
would use something similar to:

R$*<@$+>$*		$#tcp $@relay.host $: $1<@$2>$3

>	I have a machine which doesn't have a namserver and can't 
>	therefor send messages via SMTP directly.  So I want it to
>	always send to my 'routing' machine, which will then send
>	it on.  But at the moment it refuses the message with 
>	something like.
>
>	"No such user"

This suggests that you did not include the hostname in the operand
following the $: operator of the mailer selection rule.
Technical Details
Message-ID: <1992Nov2.014611.19339@mp.cs.niu.edu>
Path: arc1-ca.pugleaf.net!sparky!uunet!cs.utexas.edu!uwm.edu!linac!mp.cs.niu.edu!rickert
References: <2af52a24.122c@grace.cri.nz>

Show Full Headers
Complete Article Headers
Newsgroups: comp.mail.sendmail
Path: arc1-ca.pugleaf.net!sparky!uunet!cs.utexas.edu!uwm.edu!linac!mp.cs.niu.edu!rickert
From: rickert@mp.cs.niu.edu (Neil Rickert)
Subject: Re: Forwarding messages through sendmail
Message-ID: <1992Nov2.014611.19339@mp.cs.niu.edu>
Organization: Northern Illinois University
References: <2af52a24.122c@grace.cri.nz>
Date: Mon, 2 Nov 1992 01:46:11 GMT
Lines: 20