Configuring SendMail to route all mail to one SMTP server?
We're using a Cobalt Qube as an intranet server. I've installed a CGI script to use SendMail to send email to our administrator. The perl script seems to work perfectly, but I need all mail to be forwarded to our single SMTP server. Is there any easy way to configure SendMail to only route all mail to one SMTP server? Thanks in advance! Dug Stokes
On Wednesday 13 February 2002 10:42 am, Administrator wrote:
We're using a Cobalt Qube as an intranet server. I've installed a CGI script to use SendMail to send email to our administrator.
The perl script seems to work perfectly, but I need all mail to be forwarded to our single SMTP server.
Is there any easy way to configure SendMail to only route all mail to one SMTP server?
Thanks in advance!
Dug Stokes
It's a long time since I used sendmail, sticking now to exim - much easier and safer, and acts like sendmail when called using a symlink called semdmail. Have a look in sendmail.cf for the word smarthost. In there you should see a commented out command to tell sendmail to use the smarthost to forward all outgoing emails. I think it's something like DSmail.somewhere.else.com -- Gary Stainburn This email does not contain private or confidential material as it may be snooped on by interested government parties for unknown and undisclosed purposes - Regulation of Investigatory Powers Act, 2000
Administrator
We're using a Cobalt Qube as an intranet server. I've installed a CGI script to use SendMail to send email to our administrator.
The perl script seems to work perfectly, but I need all mail to be forwarded to our single SMTP server.
Is there any easy way to configure SendMail to only route all mail to one SMTP server?
If your requirement is that simple: send all mail to the mail hub you might want to look at ssmtp, which does just that. No idea how you install it on a Cobalt Qube though. Cheers, Phil. -- Say no to software patents! http://petition.eurolinux.org/ |)| Philip Hands [+44 (0)20 8530 9560] http://www.hands.com/ |-| HANDS.COM Ltd. http://www.uk.debian.org/ |(| 10 Onslow Gardens, South Woodford, London E18 1NE ENGLAND
participants (3)
-
Administrator
-
Gary Stainburn
-
Philip Hands