>or reply and remove the "NOSPAM"
>Hi,
>How/where do I set the sendmail configuration so that
>all of my email that goes out has a specific domain address?
>It seems that if I send email on my localhost, the From
>But any mail that I relay through domain relayhost.com,
>I need to have all my email set to mydomain.com to prevent
>mail from having problems.
>I can't figure out where/how to do it in the /etc/sendmail.c*
>Any and all suggestions GREATLY APPRECIATED!
The feature that you wanted is called "Masquerading". If you're working from .mc
file, you can try putting the following into your .mc (and using m4 to produce
.cf file):
FEATURE(masquerade_envlope)dnl
MASQUERADE_AS(relayhost.com)dnl
or in .cf file.. modify this line..
# who I masquerade as (null for no masquerading) (see also $=M)
DMrelayhost.com
...
Ughh.. may be working with .mc file is easier since I think lots of masquerading
rules inside my sendmail.cf file.
Rgds,
Hamid
--
|iMac/233 RevB+MacOS 8.6 |http://www.geocities.com/SiliconValley/3319/ |M|
|Mitac 5033/AMD K6-2/300 |We want to take over the world, but we don't have |a|
|Linux 2.2.9 i586 |to do it tomorrow. It's OK by next week - Linus T.|c|