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

Lance E. Lott lancelot at at-vantage.com
Wed Dec 17 14:24:30 PST 2003


Edit your /etc/mail/aliases file and then type: newaliases



At 04:07 PM 12/17/2003, you wrote:

>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
>
>_______________________________________________
>freebsd-questions at freebsd.org mailing list
>http://lists.freebsd.org/mailman/listinfo/freebsd-questions
>To unsubscribe, send any mail to "freebsd-questions-unsubscribe at freebsd.org"
>
>
>
>---
>Incoming mail is certified Virus Free.
>Checked by AVG anti-virus system (http://www.grisoft.com).
>Version: 6.0.552 / Virus Database: 344 - Release Date: 12/15/2003
-------------- next part --------------

---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.552 / Virus Database: 344 - Release Date: 12/15/2003


More information about the freebsd-questions mailing list