solaris sendmail masquerade per user?

From: egold@fsa.com
Date: Thu Dec 04 2003 - 16:40:15 EST


Hi All, sorry is this is of topic,

Im running solaris8 with sendmail version "ESMTP Sendmail 8.11.7
p1+Sun/8.11.7;"

i am currently masquerading all outgoing mail with a return address of
"egold@fsa.com".

I want to change this so that all outgoing mail is from "egold@fsa.com"
except for a unix user named "psoft", which i want its reutrn address to be
"peoplesoft@fsa.com".

How can i do that, i only know a little sendmail?

here is the section of my sendmail.cf where i currently do masquerading:

# envelope sender rewriting
#
SEnvFromSMTP=11
R$* $@ egold@fsa.com
R$+ $: $>PseudoToReal $1 sender/recipient
common
R$* :; <@> $@ list:; special case
R$* $: $>MasqSMTP $1 qualify unqual'ed
names
R$+ $: $>MasqEnv $1 do masquerading

#
# envelope recipient rewriting --
# also header recipient if not masquerading recipients
#
SEnvToSMTP=21
R$+ $: $>PseudoToReal $1 sender/recipient
common
R$+ $: $>MasqSMTP $1 qualify unqual'ed
names
R$* < @ *LOCAL* > $* $: $1 < @ $j . > $2

#
# header sender and masquerading header recipient rewriting
#
SHdrFromSMTP=31
R$* $@ egold@fsa.com
R$+ $: $>PseudoToReal $1 sender/recipient
common
R:; <@> $@ list:; special case

thank you gurus!
_______________________________________________
sunmanagers mailing list
sunmanagers@sunmanagers.org
http://www.sunmanagers.org/mailman/listinfo/sunmanagers



This archive was generated by hypermail 2.1.7 : Wed Apr 09 2008 - 23:27:38 EDT