Where is FormMail.pl

pkuk

Well-Known Member
Nov 16, 2002
65
0
156
Hi,

Does anyone know where FromMail.pl lives, I know it looks to be in cgi-sys, but how do I get to it to edit the file using SSH?
 

dgbaker

Well-Known Member
PartnerNOC
Sep 20, 2002
2,531
10
343
Toronto, Ontario Canada
cPanel Access Level
DataCenter Provider
In a SSH session do, locate FormMail.pl

It should come back with /usr/local/cpanel/cgi-sys/FormMail.pl

Keep in mind that any changes made to a cpanel controlled file could get overwritten when cpanel next updates.
 

pkuk

Well-Known Member
Nov 16, 2002
65
0
156
FormMail.pl

Many thanks, found it, A customer has modified it and a copy of it now lives in their public_html directory, which works fine, I presume this won't be effected be any cpanel updates??


Peter
 

mrprez

Well-Known Member
Jun 14, 2002
93
0
166
You might want to check to be sure, but I don't think that version is secure from spammers. They should at least rename the file to something else besides formmail.

John