John, If you're very concerned about the footprint of a proper MTA on your host check out qmail. But generally I agree with Malcolm, you would be well advised to run an MTA. There's also no sense reinventing the wheel. There are three very good, pretty modern totally free and open MTAs available on the net: exim, postfix, and qmail. Qmail is the most modular, my personal experience is that exim is the easiest to configure, and postfix is designed as a drop-in replacement for sendmail, so I woudn't mess with it unless you already have sendmail deployed and want to get rid of it.
Eddie, Have you ever used scp? If you set up hosts at both ends to authenticate ssh connections with certificates you can use scp like cp in shell scripts (or call it very easily from perl if you prefer!) Erik Johnson On Tue, Feb 24, 2009 at 8:31 AM, Eddie Chen <ec...@nyx.com> wrote: > Adam, > > I am writing FTP and SSH-FTP in PERL to send data out automatic > as well... I'm interested of take a look at your script... Thanks > > > > Adam Thornton > <athorn...@sineno > mine.net> To > Sent by: Linux LINUX-390@VM.MARIST.EDU > on 390 Port cc > <linux-...@vm.mar > IST.EDU> Subject > Re: automatic email? > > 02/23/2009 > 10:25 PM > > > Please respond to > Linux on 390 Port > <linux-...@vm.mar > IST.EDU> > > > > > > > On Feb 23, 2009, at 8:13 PM, John McKown wrote: >> >> >> Many thanks for any ideas. > > I wrote a very simple MTA based on Net::SMTP in perl to do this. It's > straightforward. Net::SMTP makes it very, very easy, assuming you > already speak Perl. However: > > Most Linux distros let you configure an MTA to use a remote host as > its smarthost with a couple of clicks. I would not recommend sendmail > for anything other than an emetic in this day and age, but certainly > Debian's packaging of Exim lets you set up a mailserver pointing to a > smarthost trivially, and I believe I remember that it's a single line > in postfix as well. > > Adam > > ---------------------------------------------------------------------- > For LINUX-390 subscribe / signoff / archive access instructions, > send email to lists...@vm.marist.edu with the message: INFO LINUX-390 or > visit > http://www.marist.edu/htbin/wlvindex?LINUX-390 > > > > > Visit our website at http://www.nyse.com > > **************************************************** > > Note: The information contained in this message and any attachment > to it is privileged, confidential and protected from disclosure. If the > reader of this message is not the intended recipient, or an employee > or agent responsible for delivering this message to the intended > recipient, you are hereby notified that any dissemination, > distribution or copying of this communication is strictly prohibited. > If you have received this communication in error, please notify the > sender immediately by replying to the message, and please delete > it from your system. Thank you. NYSE Euronext, Inc. > > ---------------------------------------------------------------------- > For LINUX-390 subscribe / signoff / archive access instructions, > send email to lists...@vm.marist.edu with the message: INFO LINUX-390 or visit > http://www.marist.edu/htbin/wlvindex?LINUX-390 > ---------------------------------------------------------------------- For LINUX-390 subscribe / signoff / archive access instructions, send email to lists...@vm.marist.edu with the message: INFO LINUX-390 or visit http://www.marist.edu/htbin/wlvindex?LINUX-390