Postfix Mailserver sticking localhost in after @ in return address
Linux - SoftwareThis 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
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.
Postfix Mailserver sticking localhost in after @ in return address
I have installed Postfix on a server running RedHat 9 and I can send and recieve mail. The only problem is when I send out a message it sticks localhost into my return address.
So this means that when someone tried to reply to a message I send it doesn't work.
Also if a site is running spam software that checks to see if the return address is valid before delivering the message It won't deliver any of my messages.
Had the same problem unfortunately though it's using send mail
I got it going alright by explicitly setting the domain name in the cf file where it says to -
originally it was: Dj$e.mydomain.com (think it was an e lol)
when I changed it to Djmydomain.com everything worked fine after taking out the $ variable, more perserverence than knowledge at the moment that got it going.
I checked my configuration and the "myorigin" variable is set the way it is supposed to be. Do you think I eed to set up an alias? I have been looking through the config and it just doesn't make sense. I will post a copy of my main.cf file in my next post.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.