Did you add the new domain to the 'relay-domains' file? Also make sure you have the following lines below as well.
define(`SMART_HOST', `mail.yourdomain.com')dnl MASQUERADE_AS(newdomain.com) MASQUERADE_DOMAIN(yourdomain.com) FEATURE(`masquerade_envelope') FEATURE(genericstable,`hash -o /etc/mail/genericstable')D You also need to have a new generichashtable using the command below: makemap -r hash genericstable.db < genericstable Hope this helps. On 23 Oct 2002, Jake Colman wrote: > > >> For postfix, you just set the "mydomain = " field to the domain name > >> in question. > > ED> For sendmail add: > > ED> MASQUERADE_AS(`<your host/domain name here>') > > ED> To the sendmail.mc, then run 'm4 /etc/sendmail.mc > /etc/sendmail.cf' > > I added MASQUERADE_AS to my .mc file, regenerated the .cf file and restarted > sendmail. > > My email is still being rejected with the same error "domain of sender > address does not exist". Even with the MASQUERADE_AS, the server receiving > my email still sees the actual domain name in use on my server which is bogus > and not resolvable. Shouldn't MASQUERADE_AS tricked it so it looks like it > came from somewhere else? > > -- redhat-list mailing list unsubscribe mailto:redhat-list-request@;redhat.com?subject=unsubscribe https://listman.redhat.com/mailman/listinfo/redhat-list