LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 09-05-2010, 12:41 PM   #1
lucmove
Senior Member
 
Registered: Aug 2005
Location: Brazil
Distribution: Debian
Posts: 1,432

Rep: Reputation: 110Reputation: 110
Programs (not servers) to send mail?


Sometimes I want to leave a task running and get an email informing me that the task is finished and its final status/output. Sometimes I may want to get an alert. For example, if a certain task begins to run or if it's suddenly not running anymore when it should be.

That's on my desktop, and I don't want to run a full-fledged mail server (sendmail, qmail, postfix) just for that. I don't need that one more process running all the time. I want a static program that I can invoke from a script to dispatch one odd message out once in a while.

I have been using mailsend, which has the added benefit of supporting SSL (which I plan to make compulsory on my remote mail server, the gateway I'm using for these notification messages), but it has a bug that's been annoying me: it sends every message twice. It's not my script, I have tested it on the command line, I always get its messages twice.

Is there any other program I could use?
 
Old 09-05-2010, 01:06 PM   #2
rikijpn
Member
 
Registered: Jun 2007
Location: Japan
Distribution: Debian lenny, DSL, Solaris 10
Posts: 157

Rep: Reputation: 33
Hey. I used this program for a script too. At the Solaris machine at college, they don't have a running MTA (they have it in another server, so you have to use pop and stmp to send emails). And when I faced this situation I ended up using a program called "sendemail". It's written in perl and you only need the one file script, and that's it.
Don't even need to compile it...

take a look
http://caspian.dotconf.net/menu/Software/SendEmail/
 
1 members found this post helpful.
Old 09-17-2010, 06:35 PM   #3
lucmove
Senior Member
 
Registered: Aug 2005
Location: Brazil
Distribution: Debian
Posts: 1,432

Original Poster
Rep: Reputation: 110Reputation: 110
Sorry for taking so long to reply, I put this in the back burner, I am working on it now.

The software you recommended works pretty well. It's not perfect, but it works. I just can't make it work with TLS. First, it wanted additional Perl modules, Net::SSLeay and IO::Socket::SSL. I hate that in Perl. And installation took so long... Ugh! Now it says:

Quote:
ERROR => Received: 454 TLS not available: missing RSA private key (#4.3.0)
Whatever. I don't have that problem with mailsend... But at least it works without TLS.

Thank you!
 
Old 09-17-2010, 08:51 PM   #4
harryhaller
Member
 
Registered: Sep 2004
Distribution: Slackware-14.2
Posts: 468

Rep: Reputation: Disabled
Try msmtp
http://msmtp.sourceforge.net/
 
1 members found this post helpful.
Old 09-18-2010, 08:37 PM   #5
lucmove
Senior Member
 
Registered: Aug 2005
Location: Brazil
Distribution: Debian
Posts: 1,432

Original Poster
Rep: Reputation: 110Reputation: 110
Quote:
Originally Posted by harryhaller View Post
I will! Downloading now, lots of documentation to read... Looks good though. Thanks.

Marking as SOLVED now...
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
can mail command be used to send mail onto global mail servers like yahoo etc dale_chip Linux - Newbie 4 08-12-2008 08:33 AM
Postfix : mail cannot send to send outside ( can send/receive locally) bobbinsupport Linux - Networking 3 12-15-2007 10:40 PM
[e-mail] How send ower some pop and imap accounts to another servers? MUSN Linux - Enterprise 1 02-27-2007 11:47 PM
with the linux proxi, backend pop3 mail client can not receive mail and send mail rubin823 Linux - Networking 0 12-21-2006 10:06 PM
Unable to send mail to some mail servers due smtp greetings malformed atotomex Linux - Networking 6 12-20-2005 04:38 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 10:06 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration