Linux - NetworkingThis forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.
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 am running RedHat 8.0 and have a problem with SendMail.
I am using DSL and a dynamic service for DNS. I can send and receive mail okay using mail/pine from the server console.
The problem is that when I send mail to others, it has the following in the headers
Received: from server.mydomain.net (localhost [127.0.0.1] (may be forged))
This is causing the messages to be rejected by a lot of mail servers. Is there any way I can stop Sendmail from doing this ?
Try to connect using telnet:
telnet yourmachine pop3
+OK (message with 'ready' or 'ok')
USER yourlogin
+Ok User name accepted (or similar)
PASS yourpassword
And you should be logged in. In your case, there should be an error. Note it down.
BTW You don't send via POP3. You send using SMTP.
And just for kicks I tried the following in my sendmail.mc
FEATURE(`relay_local_from') and all messages flow from workstations like crazy ...... and from spammers as well.
I have taken it back to FEATURE(`relay_hosts_only') and put all my hosts in the access.db with RELAY (tried OK as well) and the problem still persists.......
Typically the "may be forged" message appears when the forward and reverse DNS entries do not match. Does server.mydomain.net point to 127.0.0.1 or the public IP of the system? Some distro like to put the server name in /etc/hosts on the same line with localhost.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.