[TriLUG] Sending mail without sendmail or postfix

Ian Kilgore ian at trilug.org
Mon Jan 10 21:20:59 EST 2005


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Just write a quick perl script then.

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
|
|
| Here's what I want
|
| - The least possible software installed, working from the stance that if
| it's not installed there aren't ANY weaknesses introduced by it
| (whatever it happens to be)
| - The admins to be able to do their jobs
|
|
|
|>From what I read so far, I'll be looking to see what nullmailer looks
| like, and if it's available for RHEL and SLES
|
|
|
| Thanks again,
|
|
|
|
|     Kevin
|
|
|
|
|
| On Mon, 2005-01-10 at 15:11 -0500, Aaron S. Joyner wrote:
|
|
|>Kevin Flanagan wrote:
|>
|>
|>>Hi all,
|>>
|>> I'm working on a project at work to define the standard Linux build,
|>>right now we are working our way through the list of packages to define
|>>what's on the systems and have a question.
|>>
|>>
|>>How can I send mail out from a Linux system without having an MTA,
usually
|>>this would be done via a script.  Is there a config file for
mail/mailx or
|>>something along these lines that I can modify to point at our internal
|>>relay.
|>>
|>>
|>
|>Can you be more specific about what you do have at your disposal?  Do
|>you have PERL?  You said you don't have a working (read: configured?)
|>MTA, but do you have the sendmail binary at all?  Do you have netcat
|>(nc)?  Generally speaking, in order to send mail, you'll need one of
|>these items, in order of increasing complexity:
|>an MTA
|>a binary capable of doing it for you (ala sendmail)
|>a reasonably powerful scripting language (ala PERL, PHP, Python, Ruby)
|>netcat and an understanding of SMTP
|>
|>If you can provide more details, I can provide better pointers to a
|>solution.
|>
|>Aaron S. Joyner
|
|

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.6 (GNU/Linux)

iD8DBQFB4zgFwsRpgTiXSOERAsAzAJ99aOazbBARs4cNLnfczSCw8FnvkwCcDCvL
t4p9IEIRj3+Ik/Nbs2dRsLY=
=ddSU
-----END PGP SIGNATURE-----



More information about the TriLUG mailing list