[TriLUG] Sending mail without sendmail or postfix

Jeremy Portzer jeremyp at pobox.com
Mon Jan 10 22:28:48 EST 2005


On Mon, 10 Jan 2005, Kevin Flanagan wrote:

> I would prefer to not install any MTA, fully or just binaries on disk if
> I can get away with it.    I'd really like to tell the admins of the
> system that they need to use something better than ksh for scripts to
> send mail, then they have a lot of options, as described earlier, but
> here's what they say they want.
> 
> - ability to send email to a smarthost from a shell script
> - ability to send email to the same smarthost via other languages,
> mostly PERL

For Perl, you can install a Net::SMTP module that will communicate 
directly with the SMTP server.  It works fairly well and is quite easy to 
use.  For the shell script, you could just have the shell script call 
Perl.  ;-)

Jeremy
 
-- 
/---------------------------------------------------------------------\
| Jeremy Portzer        jeremyp at pobox.com      trilug.org/~jeremy     |
| GPG Fingerprint: 712D 77C7 AB2D 2130 989F  E135 6F9F F7BC CC1A 7B92 |
\---------------------------------------------------------------------/



More information about the TriLUG mailing list