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've been trying for days now to get a new RH 9.0 server to send emails via our companies (third party) smtp server. I first tried sendmail - yeah that sucked.
Switched to postfix! I can get emails to send to anyone with an email address from our domain. So assume my domain is 123.com anyone that has a 123.com email address will receive emails I send from this server.
When I try sending to someone outside the domain (which will be a very common occurance since this server will host our companies knowledge base) I get the following...
postfix/smtp[17500]: 84DDF38C051: to=<email@att.net>, relay=XXX.com[###.###.###.###], delay=17, status=bounced (host XXX.com[###.###.###.##] said: 553 <email@att.net>... Not server for att.net)
What am I missing?
An email to someone in my domain returns this...
Jan 27 11:22:31 frodo sendmail[17667]: i0RGMVFk017667: to=XXX@mydoamin.com, ctladdr=root (0/0), delay=00:00:00, xdelay=00:00:00, mailer=relay, pri=30041, relay=[127.0.0.1] [127.0.0.1], dsn=2.0.0, stat=Sent (Ok: queued as 2BFC738C051)
Jan 27 11:22:31 frodo postfix/nqmgr[17242]: 2BFC738C051: from=<root@mydoamin.com>, size=487, nrcpt=1 (queue active)
Jan 27 11:22:31 frodo postfix/smtpd[17669]: disconnect from localhost[127.0.0.1]
Jan 27 11:22:33 frodo postfix/smtp[17672]: 2BFC738C051: to=<XXX@mydomain.com>, relay=XXX.com[###.###.###.###], delay=2, status=sent (250 LAA06317 Message accepted for delivery)
sounds like your relay server does not want to accept messages from you to relay. Does not sounds like a problem on the postfix system. You could try to modify postfix to not use a relay_host and see if that gets you around the problem for now.
I took out one setting "relayhost = smtp.mydomain.com" and it worked!!
I don't know why this was in there in the first place - I guess since I have been trying everything for several days now...
What do you use the relayhost settings for anyway?
Since it appears to work fine now (sent several emails to three different domains and they all arrived - where before only my domain worked) is there any thing else I should double check?
glad to help..... :-) (what?!? no aferro?) anyway, the relayhost is used if you need all of your email to another system before it 'leaves the building'. Like if you have an internal mail server that handles all of your companies messages, but it does not have direct access to the internet (firewalls and suchnot). In that case, you send non-local messages to a relayhost, that has access to the Internet, and let it take care of it.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.