Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

alguien cacha formmail?

0 views
Skip to first unread message

Phobos

unread,
Jan 30, 2001, 6:09:29 PM1/30/01
to
Hola
me conseguí este script y quiero hacerlo funcionar, PERO me aparecieron
problemas en el camino (pa' variar), en las líneas donde colocas la
dirección y el path del programa sendmail del server

ósea
$mailprog = '/usr/lib/sendmail'; eso lo cacho y la tengo.

pero lo que refiere a
@referers = ('worldwidemart.com','206.31.72.203'); eso que esta en
paréntesis no cacho paná.

si alguien a usado este script y sepa como funcionan estas líneas que me
ayude.
grax.
salu2.
--

<6d61676f7a40656e74656c6368696c652e6e6574>

ChuNchO

unread,
Jan 31, 2001, 10:49:16 AM1/31/01
to
donde dice worldwidemart.com pon www.tusitio.cl
y donde dice 206.31.72.203 pon la IP del servidor donde esta alojado tu
sitio
"Phobos" <magozS...@entelchile.net> escribió en el mensaje
news:01c08b2b$d80f2660$LocalHost@DEFAULT...

manzanita

unread,
Jan 31, 2001, 9:50:38 AM1/31/01
to
In article <01c08b2b$d80f2660$LocalHost@DEFAULT>, "Phobos"
<magozS...@entelchile.net> wrote:

> Hola
> me conseguí este script y quiero hacerlo funcionar, PERO me aparecieron
> problemas en el camino (pa' variar), en las líneas donde colocas la
> dirección y el path del programa sendmail del server
>
> ósea
> $mailprog = '/usr/lib/sendmail'; eso lo cacho y la tengo.
>
> pero lo que refiere a
> @referers = ('worldwidemart.com','206.31.72.203'); eso que esta en
> paréntesis no cacho paná.
>

se refiere a:

el diseñador del script, incluyo un rutina para que solamente los formularios de
el sitio ('dominio.cl','200.000.000.000'); pueda utilizarlo.

para que tu lo puedas utilizar, debes colocarle tu dominio sin "www", y la
direccion ip.
asi de sencillo.
la direccion ip, la puedes obtener de tu isp.

esono+

Phobos

unread,
Feb 1, 2001, 5:55:11 AM2/1/01
to
grax a todos!
pero igual me sigue dando problems, con lo de los permisos. pero eso
tratare de arreglarlo yo.
ahí les cuento como me fue.

manzanita <manza...@manzanita.cl> escribió en artículo
<manzanaita-31...@dial-tnt17.chilesat.net>...

Phobos

unread,
Feb 1, 2001, 8:09:48 PM2/1/01
to
puro dolor de cabeza!
el script al parecer funciona porque se ejecuta y me manda a la página de
confirmación que el mail se envío, pero el email que se supone tiene que
llegarme a mi correo brilla por su ausencia.
si alguien ha tenido experiencia con este problema agradecería mucho que
comentaran.

grax
salu2.

Phobos <magozS...@entelchile.net> escribió en artículo
<01c08c09$82e342a0$LocalHost@DEFAULT>...

Balzac

unread,
Feb 2, 2001, 7:17:02 AM2/2/01
to
Revisa las variables "hidden". Deberías tener a lo menos:

<INPUT name=return_link_url type=hidden value=/pfm.html>
<INPUT name=return_link_title type=hidden value="Volver a Pág. Principal">
<INPUT name=recipient type=hidden value = cons...@cpe.cl>
<INPUT name="subject" type=hidden value="Consultas CPE">
<INPUT type=hidden name="realname" value="Posible Cliente">
<INPUT type=hidden name="required" value="email,Nombre">

--
ChileDominios .COM .NET .ORG
http://www.ChileDominios.cl


"Phobos" <magozS...@entelchile.net> wrote in message
news:01c08cce$cda0e840$LocalHost@DEFAULT...

manzanita

unread,
Feb 2, 2001, 12:06:10 PM2/2/01
to
In article <01c08cce$cda0e840$LocalHost@DEFAULT>, "Phobos"
<magozS...@entelchile.net> wrote:

> puro dolor de cabeza!
> el script al parecer funciona porque se ejecuta y me manda a la página de
> confirmación que el mail se envío, pero el email que se supone tiene que
> llegarme a mi correo brilla por su ausencia.
> si alguien ha tenido experiencia con este problema agradecería mucho que
> comentaran.
>
> grax
> salu2.
>
>

viejo... ese problema tambien lo tuve.
lo que hice para solucionarlo fue
instalar el script otra vez, siguiendo las instrucciones.

si te siguen los problemas, borra ese script, y ubica
sitios españoles que tmbien regalan los scripts.

otro que tenia por ahi es este. la verdad es que no lo he ocupado.
pero se que hace lomismo.

#!/usr/bin/perl
############################################################
# This Script is Copyright 1999 Matt Hite #
# Ma...@dingees.com #
# #
# You May Not Sell This Script Without My Permission #
# #
# Set Your PERL path on line 1 #
# chmod this file in your cgi-bin directory 755 #
# #
# I AM NOT RESPONISBLE FOR HOW YOU USE THIS CODE!!! #
# USE THIS AT YOUR OWN RISK!!! #
############################################################

############################################################
# Declare The Following Variables... #
############################################################

# Site Name
$sitename = "Matt's Emailer";

# Webmaster E-mail Address
# (With a \ Before the @ sign)
$webmastermail = "yo\@dominio.cl";

# Path To Sendmail
$sendmail = "/usr/sbin/sendmail";

# Your Site URL
$siteurl = "http://www.dominio.cl/";

# End Variables

#############################################################
# CHECK OUT HTTP://WWW.DINGEES.COM !!! #
# IT RAWKS! #
# IF you use this script, please email me @ Ma...@dingees.com#
# And include your site address! #
# #
# THANKS FOR USING MY SCRIPT! #
# #
# COPYRIGHT (c) 1999 Matt Hite. All Rights Reserved. #
# #
#############################################################

#############################################################
# NOTHING NEEDS TO BE CHANGED BEYOND THIS LINE! #
#############################################################

# Get Form The Info
if ($ENV{'QUERY_STRING'} =~ /email/) { &email; };
sub form_info {
read(STDIN,$buffer,$ENV{'CONTENT_LENGTH'});
if ($ENV{'QUERY_STRING'})
{$buffer = "$buffer\&$ENV{'QUERY_STRING'}";}
@pairs = split(/&/,$buffer);
foreach $pair (@pairs)
{($name,$value) = split(/=/,$pair);
$value =~ tr/+/ /;
$value =~ s/%([a-fA-F0-9][a-fA-F0-9])/pack("C",hex($1))/eg;
$FORM{$name} = $value;}
}
# CaLL THE SUB ABOVE
&form_info;

# The E-mail Sub (sends message)
sub email {
#form sub..
&form_info;

open (EMAIL, "|$sendmail $FORM{'addy'}");

print EMAIL "Devuelve a: $FORM{'replyto'}\n";
print EMAIL "De: $FORM{'from'}\n";
print EMAIL "Para: $FORM{'addy'}\n";
print EMAIL "Titulo: $FORM{'subject'}\n\n";

print EMAIL "Hola. Lo siguiente fue enviado por\n";
print EMAIL "$sitename @ $siteurl\n\n";
print EMAIL "The Email Address Above Was Typed In To A Form, And May
Not Be The\n actuall address of the sender";
print EMAIL "$FORM{'message'}\n\n";
print EMAIL
"_____________________________________________________________________\n";
print EMAIL "THIS WAS SENT FROM $sitename\n";
print EMAIL "Located @ $siteurl\n";
print EMAIL "The Host Is not responsible for the content of this message,\n";
print EMAIL "The Sender is.\n\n";
close (EMAIL);

# Return Confirmation of message sent

print <<SENT;
<html>
<head>
<title>Mail sent to $FORM{'addy'}</title>
</head>
<body bgcolor="#FFFFFF" text="#000000">
<p align="center"><font face="Arial" color="#800000"><big><big><big>Thank
You</big></big></big></font></p>
<hr width="75%" size="1">
<p align="center"><font face="Arial"><strong>A copy has been mailed to
$FORM{'addy'}</strong></font></p>
<p align="center">Thanks again for using $sitename</p><br>
<i>Abuse WILL be reported to your ISP!!<br>
<hr width="75%" size="1">
<p align="center">Volver a: <a href="$siteurl">$sitename</a></p><br>
<br>
This Was Sent :<br>
$FORM{'message'}<Br>
<Br>
</body>
</html>
SENT
exit;

# END OF E-MAIL SUB

}

# END OF SCRIPT!

#############################################################
# CHECK OUT HTTP://WWW.DINGEES.COM !!! #
# IT RAWKS! #
# IF you use this script, please email me @ Ma...@dingees.com#
# And include your site address! #
# #
# THANKS FOR USING MY SCRIPT! #
# #
# COPYRIGHT (c) 1999 Matt Hite. All Rights Reserved. #
# #
#############################################################

Phobos

unread,
Feb 3, 2001, 9:38:02 PM2/3/01
to
Gracias manzanita y Balzac por sus respuestas, probé otro script que
encontré y sigo con el mismo problema así que creo que la culpa la tengo
yo, pero igual voy a probar el que me mandaste, ojalá que ahora me vaya
mejor.

manzanita <manza...@manzanita.cl> escribió en artículo

<manzanaita-02...@dial-tnt2-187.chilesat.net>...

manzanita

unread,
Feb 5, 2001, 12:07:36 PM2/5/01
to
que problemas te arroja?
tienes una carpeta log, en tu site?
ya que ahi, puedes ver mas acabadamente
los problemas que te genera el script.

manzanita

unread,
Feb 7, 2001, 12:47:48 PM2/7/01
to
In article <01c090ba$229cebc0$0e175392@default>, "Phobos"
<magozS...@entelchile.net> wrote:

> carpeta log, no tengo.
>
> manzanita <manzan...@correocaliente.cl> escribió en artículo
> <manzanaitaxx-0...@dial-tnt139.chilesat.net>...

lograste instalar el script pa correo?
porque puedo postearte otro que tengo.
a ver si funca.

Mario Coron

unread,
Feb 15, 2001, 11:36:18 PM2/15/01
to
trata con
# Path To Sendmail
$sendmail = "/usr/sbin/sendmail -t";

salu2
Mario

"manzanita" <manza...@manzanita.cl> escribió en el mensaje
news:manzanaita-02...@dial-tnt2-187.chilesat.net...

manzanita

unread,
Feb 19, 2001, 2:19:26 PM2/19/01
to
In article <96k94o$1n...@nova.entelchile.net>, "Mario Coron"
<webm...@adach.cl> wrote:

> trata con
> # Path To Sendmail
> $sendmail = "/usr/sbin/sendmail -t";
>
> salu2
> Mario
>

"-t" no es necesaria. :)

0 new messages