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 [EMAIL PROTECTED] trilug.org/~jeremy | | GPG Fingerprint: 712D 77C7 AB2D 2130 989F E135 6F9F F7BC CC1A 7B92 | \---------------------------------------------------------------------/ -- TriLUG mailing list : http://www.trilug.org/mailman/listinfo/trilug TriLUG Organizational FAQ : http://trilug.org/faq/ TriLUG Member Services FAQ : http://members.trilug.org/services_faq/ TriLUG PGP Keyring : http://trilug.org/~chrish/trilug.asc
