How do I have sendmail forward emails from root...

Michael E. Mercer mmercer at nc.rr.com
Wed Dec 17 14:07:20 PST 2003


Hello peoples,

I've tried quite a few things and just can't seem to get
sendmail to forward emails generated by root processes to
go to "mmercer at nc.rr.com". 

I am running 4.9-Stable.

How am I supposed to configure this?

I have added a line to /etc/mail/aliases
root: mmercer at nc.rr.com

Also added to my domain specific .mc configuration file
these lines:
MASQUERADE_AS(`nc.rr.com')dnl
MASQUERADE_DOMAIN(`mmercer.com')
FEATURE(allmasquerade)dnl
FEATURE(masquerade_envelope)dnl
FEATURE(masquerade_entire_domain)dnl
FEATURE(nocanonify)dnl
define(`SMART_HOST', `smtp-server.nc.rr.com')


Thanks in advance!
Michael



More information about the freebsd-questions mailing list