> I am setting up an intranet site. Our smtp server is hosted by our ISP
> 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
Edit /etc/mail/sendmail.mc and add:
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:
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.
Remove +SIGNS and www. if you expect an answer, sorry for
inconvenience, but I get tons of SPAM