postfix-users November 2011 archive
Main Archive Page > Month Archives  > postfix-users archives
postfix-users: MUA/Smtp client/script to send mails via a Postfi

MUA/Smtp client/script to send mails via a Postfix relay server

From: Roger Goh <gproger_at_nospam>
Date: Mon Nov 28 2011 - 15:40:24 GMT
To: postfix-users@postfix.org

Quite desperate & sorry if this is OT.

I have a Linux RHES 4.5 box that's on the same subnet as my Postfix
box. For security reasons, I'm not allowed to ftp/scp/sftp files between
this box & the Postfix server.

I have the following Perl script which I wanted to use to mail (& attach
files) out to the outside but alas the Perl script below gave an error
that "Mime-Lite module is not available" on this server when I use it:
   http://www.logix.cz/michal/devel/smtp-cli/

The tool above has a --host (or --server) option which would have enabled
me to point to the Postfix server to enable email to be sent out from this
RHES 4.5 box via the Postfix box.

It will take weeks for Change Managemt to approve installing Mime-Lite
module, so I'll need help on the following :

a) is there an MUA (mailx, mutt, sendmail) that would enable me to
    perform this same function of pointing to the Postfix server & attach
    a file to be mailed out? Kindly provide the full syntax/example.
    If Postfix runs on this RHES 4.6 box, mutt could have done the job

b) is there another script (that uses say "telnet postfix_IP 25" & EHLO...)
    to do this function. Let me know the url to download it if there is

TIA