I'm having a problem with FrontPage based forms on my Virtual Dedicated
Server. I think it has something to do with email configuration on the server.
Scope: This document is intended for those having their own Virtual
Dedicated Server. If you have a hosting account, you should find this already set up for you. Please
visit the hosting support section for help on hosting accounts.
Description:
I want to add FrontPage forms with results sent to me by email. When I try to add my form two things
happen:
1. I get the following error when I try to save it in FrontPage.
"This form is being created on a disk-based web or the FrontPage server extensions have not been
configured to send email. Please direct your system admin or ISP to the instructions in 'Setting up
email options on UNIX' in the Server Extensions Resource Kit. Would you like to remove the email
recipient?"
It then gives me a URL to find the resource kit but of course it doesn't point to a valid result.
2. When I override and say "Yes, save recipent" and then view the form in a browser I see this
message at the top of the page. [FrontPage Save Results Component] and no matter what I do can't get
rid of it.
Solution:
You do not have the FrontPage extensions configured to send mail. You need to shell into your server
using SSH as the root user and add the following lines to your frontpage.cnf file located at:
/usr/local/frontpage/version4.0/frontpage.cnf
Add the following lines:
SendMailCommand:/usr/sbin/sendmail %r
MailSender:nobody@server.domain.com
(substitute the actual server name as the MailSender)
Always make a backup copy of your file before editing it!
e.g (cp
frontpage.cnf frontpage.bak.cnf)
That should do it!