LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
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 03-10-2006, 09:55 AM   #1
felixnine
Member
 
Registered: Dec 2001
Distribution: Debian unstable
Posts: 36

Rep: Reputation: 15
automated emails using sendmail/mail/whatever


I wrote a user administration thingy that adds a user to the system, creates a MySQL account, rebuilds the NIS user list, then emails all the relevant info to the new user. The problem lies in sending the email. On the computer I'm working on now, it works fine; I get the test email (not sent locally) within a minute. I should note here that I'm using a Perl interface (Mail::Send) which, I think, uses sendmail. Anyway, when I try to run the script on the new server we have, sending the message takes longer than normal and never gets to its destination.

Additionally, this works on my current workstation but not the server:
Code:
echo test | /usr/bin/mail -s 'sub' -r '<email-address>'
I really just want to send the message to the university's SMTP server and let it handle the message from there. Is there some kind of configuration option I'm missing? Thanks.

Andrew
 
Old 03-10-2006, 11:35 AM   #2
felixnine
Member
 
Registered: Dec 2001
Distribution: Debian unstable
Posts: 36

Original Poster
Rep: Reputation: 15
Amazing... I installed ssmtp and my problem went away.
 
  


Reply



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
automated mail a given file overlord73 Linux - General 2 02-10-2006 04:15 AM
Sending automated emails Wynd Linux - Software 6 10-25-2005 11:03 PM
sendmail doesn't send emails outside dev_mohamed Linux - Networking 2 08-28-2005 03:42 PM
Automated mail ioanv Linux - Software 4 03-29-2005 02:47 AM
Automated E-Mail cleansing. Thrifty Linux - Software 0 02-20-2004 12:17 PM

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

All times are GMT -5. The time now is 04:43 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