cgi email using /usr/bin/mail

Charles Howse chowse at charter.net
Mon May 1 18:22:32 UTC 2006


Hello,
I have a 6.1-PRERELEASE box which is running Apache 2.2 on my home lan.
The machine's name is 'moe.local'.
I have a DynDNS.com account, with the domain name  
'bubbabbq.homeunix.net'.

I want to add a form to the website where users can send me an email.
I've looked at FormMail.pl and cgiemail (from MIT).
It seems that FormMail has too many security holes, and cgiemail  
won't work because sendmail  is only configured to deliver mail to  
local accounts.

I would prefer to write a cgi script using /usr/bin/mail, and I was  
wondering if anyone had any experience doing this, or could tell me  
about any security risks.
My research didn't turn up much at all.

Thanks!
--
Tall Tales R Us! - Bubba's Blog -
http://bubbabbq.homeunix.net/blog.html




More information about the freebsd-questions mailing list