[335] in RedHat Linux List
Re: help setting up sendmail
daemon@ATHENA.MIT.EDU (Lars Tolle)
Tue Oct 22 03:08:19 1996
Date: Tue, 22 Oct 1996 09:07:08 +0200 (MET DST)
From: Lars Tolle <Lars.Tolle@uni-c.dk>
To: augenbaum jeffrey <u601586@rho.lanl.gov>
cc: redhat-list@redhat.com
In-Reply-To: <9610220656.AA71500@rho>
Resent-From: redhat-list@redhat.com
Reply-To: redhat-list@redhat.com
On Tue, 22 Oct 1996, augenbaum jeffrey wrote:
> I need help with the following. I want all mail from my home Linux box to
> have the "From" field reflect my ISP's pop mail account. I know how to change
> the domain in sendmail.cf to reflect the ISP domain. How can I force the username
> to also reflect my pop mail username ?
This is how i did it:
This was done simply but adding the following ruleset to my sendmail.cf
##################################################
### Ruleset 1 -- Sender Field Pre-rewriting ###
##################################################
S1
Ruser otheruser<@domain.name>
Ruser<@localhost.domain.name.> otheruser<@domain.name>
But you have to remember that the spaces from "Ruser to otheruser" has ti
be <TABS> and not <SPACES>.
I hope you find this useful....
,,,
--> Lars (o o)
-------------------oOO-(_)-OOo--
Lars.Tolle@uni-c.dk
UNI-C - Danish Computing Centre for Research and Education
DENMARK
+45 3587 8940
---------------
--
PLEASE read the Red Hat FAQ, Tips, HOWTO and the MAILING LIST ARCHIVES!
________________________________________________________________________
http://www.redhat.com/RedHat-FAQ http://www.redhat.com/RedHat-HOWTO
http://www.redhat.com/RedHat-Tips http://www.redhat.com/mailing-lists
------------------------------------------------------------------------
To unsubscribe: mail -s unsubscribe redhat-list-request@redhat.com < /dev/null