[Exim] feeding exim

Góra strony
Delete this message
Reply to this message
Autor: Leonardo Boselli
Data:  
Dla: exim-users
Temat: [Exim] feeding exim
Not a strictly exim related question:
i have a cgi script that invoke at a certain point
if (open(MAIL,"|/usr/sbin/exim -f $p2 $Bounce[$neStatus]")) {
It works nice, however i am required to move this script on a server
that does not have exim, and have to rely on a SMTP server on
another machine.
Does someone has a quick and dirt script (in perl) that would feed
a message into another machine with an SMTP server running ?
(note: it must be a perl script to be embedded inside the cgi script,
i cannot call any external program from there).

Leonardo Boselli
nucleo informatico e telematico
Dipartimento Ingegneria Civile
Universita` di Firenze
V. S. Marta 3 - I-50139 Firenze
tel +39()0554796431 fax +39()055495333
http://www.dicea.unifi.it/~leo