[TriLUG] Sending mail without sendmail or postfix
Aaron S. Joyner
aaron at joyner.ws
Mon Jan 10 15:11:41 EST 2005
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
More information about the TriLUG
mailing list