a mp/perl equivalent to sendmail.php?
a mp/perl equivalent to sendmail.php?
am 29.01.2008 00:19:20 von Carl Brewer
I have a client who wants to send email from a flash script (do you call
flash stuff scripts?), and he has asked me to install sendmail.php for
him. I don't want to! Can anyone here recommend a modperl (or just
plain perl) equivalent that I can lock down so it is less likely to be
used as a spam delivery agent?
Thanks!
Carl
Re: a mp/perl equivalent to sendmail.php?
am 29.01.2008 06:30:55 von Scott Gifford
Carl Brewer writes:
> I have a client who wants to send email from a flash script (do you
> call flash stuff scripts?), and he has asked me to install
> sendmail.php for him. I don't want to! Can anyone here recommend a
> modperl (or just plain perl) equivalent that I can lock down so it is
> less likely to be used as a spam delivery agent?
There are lots of Perl modules for sending email. Search CPAN for
"send mail" to see your choices:
http://search.cpan.org/search?query=send+mail&mode=all
As far as locking them down, how to do that will be
application-specific. When I have done this, generally I have
implemented a simple application on top of a mail sending module which
does the appropriate checks before sending the message.
Looking at the last time I implemented this, I simply invoked
sendmail and piped the message to it, which works too.
Hope this helps,
----Scott.
Re: a mp/perl equivalent to sendmail.php?
am 30.01.2008 18:30:09 von Boysenberry Payne
I would suggest looking into the Email set of modules, e.g.
Email::Simple.
As far as security is concerned, try something like an email address
confirmation with user authentication. I think that's the most
common approach.
For example, require the user confirms their email address as a part
of user authentication
before they're allowed to email. That will keep spam bots out. If
you only have a limited
user base, you could skip the email confirmation and just keep a flat
file or database
records of allowed users.
-bop
On Jan 28, 2008, at 5:19 PM, Carl Brewer wrote:
>
> I have a client who wants to send email from a flash script (do you
> call flash stuff scripts?), and he has asked me to install
> sendmail.php for him. I don't want to! Can anyone here recommend
> a modperl (or just plain perl) equivalent that I can lock down so
> it is less likely to be used as a spam delivery agent?
>
> Thanks!
>
> Carl
>
>
Re: a mp/perl equivalent to sendmail.php?
am 30.01.2008 18:34:34 von Perrin Harkins
On Jan 28, 2008 6:19 PM, Carl Brewer wrote:
> I have a client who wants to send email from a flash script (do you call
> flash stuff scripts?), and he has asked me to install sendmail.php for
> him. I don't want to! Can anyone here recommend a modperl (or just
> plain perl) equivalent that I can lock down so it is less likely to be
> used as a spam delivery agent?
It sounds like you want NMS formmail:
http://nms-cgi.sourceforge.net/
- Perrin