Linux - ServerThis forum is for the discussion of Linux Software used in a server related context.
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 seem to be stuck in this situation for quite some time and I would appreciat a bit of help.
One of the users on my server (user@server.domain1.com) wants to send mails to his address on user.name@domain3.com. This cannot happen directly, and I have added a relay server. When the user sends an email it passes from the relay server to another relay server. Only this second one doesn't pass the mail further because it only accepts emails coming in from @domain2.com. Now... if I masquerade the sender so that sent emails come from user@domain2.com, they aren't even sent out, I can still see them with "mailq".
I seem to be stuck in this situation for quite some time and I would appreciat a bit of help.
One of the users on my server (user@server.domain1.com) wants to send mails to his address on user.name@domain3.com. This cannot happen directly, and I have added a relay server. When the user sends an email it passes from the relay server to another relay server. Only this second one doesn't pass the mail further because it only accepts emails coming in from @domain2.com. Now... if I masquerade the sender so that sent emails come from user@domain2.com, they aren't even sent out, I can still see them with "mailq".
TB0ne, the email doesn't even leave the "outbox" right now. Please be more specific IF you want to help.
Gave you the answer, but you didn't get it. IF you want to read it:
You said:
Quote:
Only this second one doesn't pass the mail further because it only accepts emails coming in from @domain2.com
So, as I said..."modify the second relay server, to accept mail". To further clarify: modify the rules on your second relay server, to accept the incoming mail from wherever you're sending it from now. Masquerading doesn't always work correctly. Modifying the allow-relay-from information, will let the mail get relayed along, rather than dying on that box.
Also, it might help if you told us what version/distro of Linux you're using, and what mail system (sendmail? Postfix?), and other bits of useful information. Based on your initial description and question, you got an answer anyway, then decided you didn't like it. We volunteer our time here...if you feel like you're not getting what you need, feel free to get a commercially-supported version of Linux, and pay them for support.
sendmail
Red Hat Enterprise Linux Server release 5.2 (Tikanga)
Proxy servers not really under my support, thought there was some way to do changes only on my server.
Thanks for the help. Sorry that I need more than a sentence to understant what people are talking about and that I know what punctuation signs mean"???"
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.