Re: How do I have sendmail forward emails from root...
On Wed, Dec 17, 2003 at 05:21:55PM -0500, Michael E. Mercer wrote: In /etc/mail, I ran: make cf maps aliases install stop start after every change... More info, now that I think of it. The mail server is getting the emails, but kicks it back because the the From: header has an unknown host. [EMAIL PROTECTED] How do I remedy this? 'root' is by default a member of class E in the sendmail config -- that's Exposed users or users who are exempt from masquerading. Emails from that clas of UID will have the FQDN of the sending host as the RHS of the e-mail address. The answer is to add the names of all of the hosts that your smart host handles mail for to /etc/mail/local-host-names (one per line). Cheers, Matthew -- Dr Matthew J Seaman MA, D.Phil. 26 The Paddocks Savill Way PGP: http://www.infracaninophile.co.uk/pgpkey Marlow Tel: +44 1628 476614 Bucks., SL7 1TH UK pgp0.pgp Description: PGP signature
How do I have sendmail forward emails from root...
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 [EMAIL PROTECTED]. I am running 4.9-Stable. How am I supposed to configure this? I have added a line to /etc/mail/aliases root: [EMAIL PROTECTED] 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 ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: How do I have sendmail forward emails from root...
--- Michael E. Mercer [EMAIL PROTECTED] 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 [EMAIL PROTECTED]. I am running 4.9-Stable. How am I supposed to configure this? I have added a line to /etc/mail/aliases root: [EMAIL PROTECTED] 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 Did you run newaliases? __ Do you Yahoo!? New Yahoo! Photos - easier uploading and sharing. http://photos.yahoo.com/ ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: How do I have sendmail forward emails from root...
On Wed, 17 Dec 2003, Michael E. Mercer wrote: 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 [EMAIL PROTECTED]. I am running 4.9-Stable. How am I supposed to configure this? I have added a line to /etc/mail/aliases root: [EMAIL PROTECTED] Did you run 'make aliases' to update the database afterwards? KeS ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: How do I have sendmail forward emails from root...
In /etc/mail, I ran: make cf maps aliases install stop start after every change... More info, now that I think of it. The mail server is getting the emails, but kicks it back because the the From: header has an unknown host. [EMAIL PROTECTED] How do I remedy this? Thanks Michael On Wed, 2003-12-17 at 17:13, Kevin Stevens wrote: On Wed, 17 Dec 2003, Michael E. Mercer wrote: 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 [EMAIL PROTECTED]. I am running 4.9-Stable. How am I supposed to configure this? I have added a line to /etc/mail/aliases root: [EMAIL PROTECTED] Did you run 'make aliases' to update the database afterwards? KeS ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]