[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
RE: [vps-mail] Formmail Config 101...
- Subject: RE: [vps-mail] Formmail Config 101...
- From: "Colin Adams" <webmaster@xxxxxxxxxxxxxxx>
- Date: Thu, 14 Jul 2011 15:16:49 -0400
OK, I've finally got to the bottom of the problem. Once I had established
which one of FormMail.pl programs were being used, I changed the $mailprog
line from '/usr/lib/sendmail -oi -t' to '/usr/sbin/sendmail -oi -t', changed
the script references from ClientMail.pl back to FormMail.pl and the form
now works.
I've also deleted the other FormMail.pl scripts to be on the safe side and
to avoid any further confusion.
Thanks a million for your help and patience!
Regards,
Colin
-----Original Message-----
From: owner-vps-mail@xxxxxxxxxxxxx [mailto:owner-vps-mail@xxxxxxxxxxxxx] On
Behalf Of Abigail Marshall
Sent: 14 July 2011 14:25
To: vps-mail@xxxxxxxxxxxxx
Subject: Re: [vps-mail] Formmail Config 101...
On Thu, Jul 14, 2011 at 11:11 AM, Colin Adams <webmaster@xxxxxxxxxxxxxxx>
wrote:
> Thanks for taking time out for the explanation Abigail, this has certainly
> been an education.
>
> So, if I understand this correctly, the form calls the function in the cgi
> folder. The cgi folder reference in the form is defined as a script alias.
> If I'm right, then the script reference in the form (e.g. formmail.pl) has
> to match the script in the neem-cgi-bin folder.
> The script in the cgi folder within the website is not needed.
>
> Am I getting warm?
Yes -- the script in the main server cgi-bin is not needed at all,
unless some other user is relying on it.
But I think that NMS Formmail has to be customized for the individual
user, so you wouldn't have multiple users relying on the same script.
It's probably better to either remove any unused script entirely from
your server, or to set the unused script so that it is not executable
because of security concerns with formmail.
-Abigail
>
>
> -----Original Message-----
> From: owner-vps-mail@xxxxxxxxxxxxx [mailto:owner-vps-mail@xxxxxxxxxxxxx]
On
> Behalf Of Abigail Marshall
> Sent: 14 July 2011 13:07
> To: vps-mail@xxxxxxxxxxxxx
> Subject: Re: [vps-mail] Formmail Config 101...
>
> On Thu, Jul 14, 2011 at 8:04 AM, Colin Adams <webmaster@xxxxxxxxxxxxxxx>
> wrote:
>>
>> If the form refers to the program in the website's cgi folder, what's the
>> purpose of the script alias?
>>
>
> A script alias is used to tell the system where to look for the
> executable scripts. It can allow multiple different users or
> different domains to share the same script repository. The problem is
> that if the local folder is called "cgi-bin", and the script alias
> also points to "cgi-bin", the computer ends up looking at the wrong
> place.
>
> You might be able to get around that problem by using a full directory
> path -- that is, rather than having the form call to
> "/cgi-bin/myscript.pl" set it up to call to
> "http://www.mydomain.com/cgi-bin/myscript.pl" -- but I personally
> would never set up sharing of the common server cgi-bin with a
> subhosted user account, because I would consider it to be a security
> concern. Even when I have used a script alias in the past to allow a
> common cgi-bin for all users (for convenience), I have always created
> subdirectories for each user account and pointed the script alias to
> the sub directory.
>
> -Abigail
>
> ========================================================================
> This is <vps-mail@xxxxxxxxxxxxx> <http://groupmail.org/lists/vps-mail/>
> Before posting a question, please search the archives (see above URL).
>
> ========================================================================
> This is <vps-mail@xxxxxxxxxxxxx> <http://groupmail.org/lists/vps-mail/>
> Before posting a question, please search the archives (see above URL).
>
========================================================================
This is <vps-mail@xxxxxxxxxxxxx> <http://groupmail.org/lists/vps-mail/>
Before posting a question, please search the archives (see above URL).
========================================================================
This is <vps-mail@xxxxxxxxxxxxx> <http://groupmail.org/lists/vps-mail/>
Before posting a question, please search the archives (see above URL).
Main Index |
Thread Index