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.
Hey guys, I'm setting up an email server here and I'm getting some errors, hope someone can help me out.
I'm running neomail with sendmail on apache with php. I've got everything installed right, well, it appears to be right! Whenever I try to send a message though, it gets returned, and this is what it says (I've changed the domain and email address, but they are correct):
Originally posted by frogger01 I'm not sure what you mean.
It does have an mx record though
Add your host you want to send mail to and from in your /etc/mail/relay-domains file..
Say I have sendmail configured for foo.com and my hostname and machine is actually machineA.localdomain.com.. I would add:
machineA.localdomain.com in my relay-domains file which will allow it to send from and deliver the mail properly to my mail server.
Remember, once you edit this file, you need to send a SIGHUP or restart sendmail for it to see the changes. You can add however many hosts or machines you want in this file to allow to send email from..
Don't make it accessible for all to send mail.. then your opening up your mailserver for spammers to use as a spam mailer..
ok, so I have that file done now, and I've restarted sendmail (/etc/init.d/sendmail restart), but I still get the same problem. I'm pretty sure that it's nothing to do with neomail, but rather a sendmail problem. Any other ideas of things to check?
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.