Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I didn't set sendmail. It was there by default on my Redhat Linux. I used the command "service sendmail start" and it started successfully. Actually I installed one mailer in Linux which will send multiple mails at a time. The mailer installed successfully. It is also dispatching mails without any error. But mails are not going from my local system. Can you please tell me how to configure sendmail inorder to send mail successfully from the mailer?
Sendmail is not intended as a user interface routine; other programs provide user-friendly front ends; sendmail is used only to deliver pre-formatted messages.
from the man-page
So if you were intending to use sendmail to send/receive emails, you're probably better off finding another programme that interfaces sendmail. However, if you do actually mean to use sendmail then I apologise in advance
I agree with Snark1994 about the use of sendmail. And if you do use it, it's not easy to configure. 'postfix' is a lot easier for someone (like me) that is "email incompetent".
But I'm unclear about what you are actually trying to do and how. Are you using the 'mail' (or 'mailx') command to send mail to other systems in your "domain"? Do you need to send email across the Internet? It doesn't sound like you're trying to use a GUI mail client.
If you are trying to send mail across the Internet, then you are probably going to have to use your Internet provider's SMTP server as a 'smart relay' (or one of your company's SMTP servers as a 'smart relay'). (see the DS parameter in /etc/mail/sendmail.cf), and you will probably have to rewrite headers in your outgoing messages so that the relay system doesn't complain... No easy task. Again, I think 'postfix' is a little more straight forward.
The reason for a 'smart relay' is that many providers block outgoing port 25 traffic to assure that any open relays on their customer's systems are not used to propagate spam. But I don't know your exact situation.
Last edited by tommylovell; 02-08-2011 at 04:17 PM.
Actually I installed a software(IMT-Mailer) on my linux system. This is used to send multiple emails at a time across the internet. The emails list will be in a file with .csv extension. Then we need to start the mailer, upload this csv file(email list), set the template, set the time for sending mails. At that particular time these emails will be sent.We need to send around 1000 mails at a time.
This mailer runs on java platform with PHP as front-end, Sqlite as database in the Linux OS. The mailer installed and started successfully. It is also dispatching mails without error. But those mails are not going from the system. I thought this is sendmail problem in Linux.
As I am new to Linux, I don't know how to configure the sendmail. Also I didn't set domain name. Whether it is Sendmail or Postfix or SMTP smart relay, I need help to configure any one of this for sending mails. I need step by step procedure. I am using Redhat Linux 5.
1. Use the mail command to confirm that sendmail is or is not properly set up.
Code:
echo "this is just a test" | mail -s "test message" youremail@yourisp.com
This sends an email to your own external email address. Give it a few minutes, then type in 'mail' on your Linux server to see if there is a bounce message. There probably will be. Type 'x' to get out of the mail client (and retain read messages) or 'q' to quit (and delete read messages).
2. Google for "configure sendmail".
Why reinvent the wheel here? The first one I looked at, http://www.wikihow.com/Configure-Sendmail, looks promising, but I've I've spent hours arguing with/configuring 'sendmail'. Eric Allman's book was authorative at one time. I don't know if it's been kept current.
3. Use #1 to test it, once you have it configured.
(Make sure you 'su' to the same id that is sending the mail before you use the 'mail' command to look at responses.)
As I said in an earlier post, sendmail is not easy to configure. The catch that I see here is that you may need to relay mail to a server that can establish post 25 connections to your mail destinations. The bounce messages will be informative.
I really can't contribute much more than what I already have.
I didn't set sendmail. It was there by default on my Redhat Linux. I used the command "service sendmail start" and it started successfully. Actually I installed one mailer in Linux which will send multiple mails at a time. The mailer installed successfully. It is also dispatching mails without any error. But mails are not going from my local system. Can you please tell me how to configure sendmail inorder to send mail successfully from the mailer?
So you obviously DIDN'T have it installed by default. Also, in your other thread, you specifically mention wanting to send advertising emails, and huge volumes of those: http://www.linuxquestions.org/questi...roblem-854814/
I, for one, will not help ANYONE send more spam emails. And again, as has been pointed out to you several times in your other threads, if you're using RHEL, then CALL REDHAT SUPPORT, since you're paying for it. Or do you think we should provide you with support for a product you're using for free, so you can then thank us by sending spam emails??
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.