Hi there,
I have just installed your formmail script onto my server after having spam / virus problems with my original formmail script. I think I have configured everything correctly, however I am getting a 403 "Forbidden" error:-
Forbidden
You don't have permission to access /cgi-bin/FormMail.pl on this server.
Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request
when testing from a form located at http://www.accom.com.au/salesenquiry.html.
The script is configured as follows:-
# USER CONFIGURATION SECTION
# --------------------------
# Modify these to your own settings. You might have to
# contact your system administrator if you do not run
# your own web server. If the purpose of these
# parameters seems unclear, please see the README file.
#
BEGIN
{
$DEBUGGING = 1;
$emulate_matts_code= 0;
$secure = 1;
$allow_empty_ref = 1;
$max_recipients = 3;
$mailprog = '/usr/sbin/sendmail -oi -t';
$postmaster = 'admin@accom.com.au';
@referers = qw(accom.com.au www.accom.com.au frogandtoad.com.au www.frogandtoad.com.au narollah.com.au www.narollah.com.au);
@allow_mail_to = qw(mhalloran@accom.com.au mail.accom.com.au mail.narollah.com.au mail.frogandtoad.com.au);
@recipients = ();
%recipient_alias = ();
@valid_ENV = qw(REMOTE_HOST REMOTE_ADDR REMOTE_USER HTTP_USER_AGENT);
$locale = '';
$charset = 'iso-8859-1';
$date_fmt = '%A, %d %B, %Y at %H:%M:%S';
$style = '';
$no_content = 0;
$double_spacing = 1;
$wrap_text = 0;
$wrap_style = 1;
$send_confirmation_mail = 0;
$confirmation_text = <<'END_OF_CONFIRMATION';
From: you@your.com
Subject: form submission
Thank you for your form submission.
END_OF_CONFIRMATION
Would appreciate your urgent help and assistance, as I am not sure what I need to do next to make this work!
Kind regards,
Matt Halloran.
__________________________________________________________________________
A C C O M . C O M . A U
This message is brought to you by Accom.Com.Au.
Accom.Com.Au - http://www.accom.com.au
Frog And Toad Travel - http://www.frogandtoad.com.au
Narollah Arts - http://www.narollah.com.au
PO Box 676, Moorebank NSW Australia 1875
Ph: (02) 9730 3766. Fax (02) 9601 3349
ACCOM.COM.AU ABN 40 003 529 093
__________________________________________________________________________
A c c o m . C o m . A u - F o r P e o p l e W h o W a n t T o G o S o m e w h e r e .
__________________________________________________________________________
The information in this email is confidential to the named addressee and subject to copyright. No-one else may read, print, store, copy, forward or act in reliance on all or any of this email or its attachments. If you are not the intended recipient, any use, reliance upon it, disclosure or copying of this email is prohibited and unlawful. If you have received this email in error please notify the sender immediately on 0425 344 124 in Australia. Whilst we do make every effort to ensure our emails and attachments are clean, Accom.Com.Au does not warrant that this email and any attachments are error or virus free and recommends that all attachments be checked for computer viruses. Thank you.