+ Reply to Thread
Results 1 to 4 of 4

Thread: What Formmail.pl script should I use to send Forms

  1. #1
    bmcc81 is offline New Bee
    Join Date
    Mar 2009
    Posts
    7
    WHB Points this Month
    0.00
    WHB Points
    0.00
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default What Formmail.pl script should I use to send Forms

    Hi,

    I'd like to know what SendMail.pl script I should use for sending forms out?

    I've tried the one from matt's script archive But it doesn't seem to work.

    It says all I need to know are these 2 things and it doesn't work. Do I have the wrong information?

    $mailprog = '/usr/lib/sendmail -i -t';

    @referers = ('webinkgraphics.com','127.0.0.1');

    Thanks,
    Bmcc

  2. #2
    Arkadij S Guest

    Default

    Hi bmcc81,

    Using Formmail.pl is not recommended and this script is actually banned on our shared/reseller servers. Its vulnerability makes your entire account totally insecure and can be used by spammers to send spam through.

    In this regard we would suggest you switching to PHPFormMail.
    This script is less vulnerable and can be freely used on our servers.

  3. #3
    Alan B's Avatar
    Alan B is offline Super Moderator
    Join Date
    Jul 2007
    Location
    Toronto, Canada
    Posts
    1,386
    WHB Points this Month
    0.00
    WHB Points
    290.00
    Thanks
    0
    Thanked 5 Times in 5 Posts

    Default

    The Matt's Script Archive is very old, and it is well known that it is insecure. I'm surprised that you didn't read the warnings, as even Matt, the creator of Matt's Script Archive, now recommends that people not use that insecure script.

    This script at nms sourceforge is secure: http://www.scriptarchive.com/nms.html. You may, of course, also use what Arkadij suggested. Here are some other tips to help keep form-to-mail actions secure:

    You should not enable recipient addresses to be specified from hidden fields within the html form. Specify the recipient e-mail addresses only within the script itself. Putting them in the form is not secure.

    The script should include a specification for valid referrer addresses or domains. Referrers from anywhere else should be rejected.

    Do not name the script anything obvious: don't use words such as "formmail", "form" or "mail". If it has already been named something obvious, rename it immediately. Name it "macktruck" or "halibut" or something else each client coins for himself.
    I am not WHB staff and I am not paid.
    I provide help in these forums on my own time.

  4. #4
    genrock is offline New Bee
    Join Date
    Apr 2010
    Posts
    11
    WHB Points this Month
    0.00
    WHB Points
    0.00
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    Yes, that script is very insecure and you should definitely look into other options.

+ Reply to Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts