[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: [cobalt-users] FormMail.pl



-----Original Message-----
From: Dan Kriwitsky [mailto:list1@xxxxxxxxxxxxxxxxxxxx]
Sent: Thursday, August 29, 2002 6:06 PM
To: cobalt-users@xxxxxxxxxxxxxxx
Subject: RE: [cobalt-users] FormMail.pl



> 
> Add 'www.estudiobordon.com.ar' to your @referers array.
> 
> How can I put all the domains i have on this cobalt to allow 
> send mails, and block others servers address???
> 

By only putting domains that are hosted on your server in there.
Otherwise, give each virtual site their own copy of the secure version
of FormMail.pl, (hopefully named something besides FormMail.pl), to use.

If you think you have that domain listed in the @referrers array, is it
possible you listed it without the www?
-------------------------
When in doubt look at all the links in /home/sites, e.g.

find /home/sites -type l -maxdepth 1 -print | cut -c 13-

I.E. if the desire was to set the referers array to contain all
the virutal sites then the code in formmail.pl might look like:

chomp(@referers=`find /home/sites -type l -maxdepth 1 -print | cut -c 13-`);