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.
Almost all provider do that now days. Because of the lovely virus/maleware infections on Windows clients.
You must configure the smart host under sendmail.mc to point to the ISP's smtp server.
The telnet wont work either because of that.
Only the secure smtp(465) allowed to send mail to outside world from local server.
Laz
Thanks, I will look into that. I'm not sure my provider actually offers a smtp server for my use.
Where is the doc for sendmail.mc?
Maybe you can tell me how to config sendmail for 465, because telnet smtp.gmail.com 465 worked for that.
Yes, I did a lot of google to get here, and after I read in a number of places that sendmail is difficult to configure, and I found no mention of sendmail.mc in sendmail man, I sort of panicked. Thanks for the links, anyway, it is much easier to find when you know already.
I'm back after more than 12 hours. This is what happened:
1. I tried to configure sendmail using the links repo gave me. It didn't work, I could not find other links, I concluded sendmail is more complicated than what I need and that configuring it is way above my current linux level.
2. I tried to uninstall sendmail in order to install qmail, but
3. I installed Ubuntu server with mail Internet server included. Local mail, between two users on the same machine, which was working in Fedora 11, did not work on Ubuntu server with mail Internet included. See: http://ubuntuforums.org/showthread.php?t=1266153
I concluded that there is a conspiracy against mail on Linux, and I decided to live without it for a while.
I also consider the install of qmail on Ubuntu. qmail does not have binary packages in default Ubuntu repositories, and it has several different versions for different versions of Debian. qmailrocks.org does not treat Ubuntu.
My address is: root@localhost.localdomain, but still, yahoo should establish smtp connection.
I am reluctant to disable iptables, for security reasons. I hope I can verify other issues before I try this. On one hand, I believe that tcpdump sees outside iptables, so it should see any response. On the other hand, iptables is fairly complicated, maybe it does not identify smtp connections.
You cannot use root@localhost.localdomain as your address for mail deliveries. Modern mail handling software won't forward any traffic unless the originator's e-mail address corresponds to the reply address in the e-mail.
Have you looked in /var/log/maillog to see the details of why the transaction failed?
Was there any resolution to this? I installed Fedora 11 and I'm having the same problem.
When I try:
telnet smtp.google.com 25
I get:
Trying 74.125.45.25...
Connected to smtp.google.com.
Escape character is '^]'.
220 smtp.google.com ESMTP
<After about 30-40 seconds I get the message below>
Connection closed by foreign host.
You really should read the thread before asking if there is a solution yet. As stated somewhere in this thread smtp.google.com rejects connecting on port 25 and only accepts connections on the secured port 465.
I did read the whole thread. I'm confused to why I do connect using 25, but I do not using 465, even with iptables stopped.
And I didn't see anything about what it is we need to do to get this to work. I saw something about installing qmail or using smart host, but if someone could elaborate on that a little more that might help me out. I've been unable to find documentation that has helped.
It's been a couple of years since I have dealt with setting any of this stuff up. I had a server running Fedora 6 where I had everything working great, and I went straight to Fedora 11 where I can hardly get anything to work, even the display settings.
You cannot use root@localhost.localdomain as your address for mail deliveries. Modern mail handling software won't forward any traffic unless the originator's e-mail address corresponds to the reply address in the e-mail.
Have you looked in /var/log/maillog to see the details of why the transaction failed?
I tried user, user@127.0.0.1, user@localhost, they don't work. I don't receive error messages back.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.