> I am setting up an intranet site. Our smtp server is hosted by our ISP
> (smtp.ourdomain.com).
> on the intranet, I have a cgi-script for form processing. I need to
> configure either sendmail or postfix to send the form results to an
> email account hosted by our ISP.
> Can this be done? I do not need to receive mail on this box. It is RH
> 8.0.
Edit /etc/mail/sendmail.mc and add:
define(`SMART_HOST',`smtp.ourdomain.com')dnl
Now run:
cp /etc/mail/sendmail.cf /etc/mail/sendmail.cf.old
m4 /etc/mail/sendmail.mc > /etc/mail/sendmail.cf
Or where ever your sendmail expects its .cf.
Restart sendmail and every mail that isn't considered to be local
should be routed through your smart_host.
Try the README for more info:
/usr/share/sendmail-cf/README
Something similar, can be done somewhere in main.cf, used by postfix, read
the comments in the file or and check postfix.org for FAQ.
--
Michael Heiming
Remove +SIGNS and www. if you expect an answer, sorry for
inconvenience, but I get tons of SPAM