Re: a mp/perl equivalent to sendmail.php?

2008-01-30 Thread 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?

2008-01-30 Thread Perrin Harkins
On Jan 28, 2008 6:19 PM, Carl Brewer [EMAIL PROTECTED] 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


a mp/perl equivalent to sendmail.php?

2008-01-28 Thread 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?

2008-01-28 Thread Scott Gifford
Carl Brewer [EMAIL PROTECTED] 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+mailmode=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.