Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Specifying the "From" email address in mail? Options

153 views
Skip to first unread message

M W

unread,
Jan 30, 2009, 9:07:50 PM1/30/09
to
After trying many of the suggestions in the group to fix this problem,
a call to IBM finally solved the problem. Below are the changes I made
to sendmail.cf to get the FROM email address domain correct. Until
these changes were made I was able to change the domain but only was
able to get remote mail to deliver. Local email would not deliver.
Here are the changes with small sections of sendmail.cf to help locate
the correct lines.
*******************************************

# my official domain name
# ... define this only if sendmail cannot automatically determine your
domain
#Dj$w.Foo.COM
#Dj$w.DOMAINNAME.com COMMENT OUT
DjDOMAINNAME.local ADD THIS LINE


# class E: names that should be exposed as from this host, even if we
masquerade
# class L: names that should be delivered locally, even if we have a
relay
# class M: domains that should be converted to $M
# class N: domains that should not be converted to $M
#CL root
#CE root COMMENT OUT
CE ADD THIS LINE


# who I masquerade as (null for no masquerading) (see also $=M)
#DM COMMENT OUT
DMdomainname.com ADD THIS LINE

###################################################################
### Ruleset 94 -- convert envelope names to masqueraded form ###
###################################################################

SMasqEnv=94
#R$* < @ *LOCAL* > $* $: $1 < @ $j . > $2 COMMENT OUT
R$+{insert three tabs here and no brackets}$@ $>93 $1 ADD THIS LINE

Henry

unread,
Feb 2, 2009, 7:20:48 PM2/2/09
to

and the next version of sendmail will overwrite it.
How about using M4 macro?

M W

unread,
Feb 3, 2009, 4:14:05 PM2/3/09
to
> How about using M4 macro?- Hide quoted text -
>
> - Show quoted text -

Just followed the suggestions from IBM. I have it documented and can
make change in minutes in the next version of sendmail.

0 new messages