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 know that that there have been many threads on this kinda subject, but I didin't see the answer to this specific question. Of course, I try to get some information from those posts and apply them to my solution, but it didn't work. If some one knows of another post with this answer, feel free to post a link to it.
Ok, here we go.
I've setup postfix with virtual domains properly. Everything is working fine. I can send mail to the outside world. I have a static ip on a dsl line. As you guys know yahoo, hotmail, aol and other treat mail comming from dynamic blocks as spam. I know this too. Good enough. I set up my postfix to relay mail to my isp.
relayhost = mail.bellsouth.net
I'm getting this error:
<xxx@recipient.com>: host mx01.mail.bellsouth.net[205.152.59.33] said: 550 .net
022: Your current IP address is not allowed to relay to recipient.com Solution:
Connect using BellSouth Internet Service. (in reply to RCPT TO command)
I have tried this from within my little domain, as well as from work. Actually, I'm at work righ now. I can get my mail from my server, but when I try to send it out, I get the above message.
My ultimate goal is to be able to relay mail originating from my little network as well from outside hosts/ips which I allow specifically, such as my work ip.
I almost got it working, I just need to get bellsouth to relay the mail. How can I acomplish this?
My guess is, that if Bell South has a mail-server that allows relaying from their customers (wich perhaps is unlikely at all - I don't know much about the situation in the US), then it's not very likely to be 'mail.bellsouth.com'.
Instead of using the relayhost, You could just let postfix deliver the mail directly using common name lookups.
Distribution: OpenBSD 4.6, OS X 10.6.2, CentOS 4 & 5
Posts: 3,660
Rep:
You need to send it through your local BellSouth.net SMTP server. When I worked there, each region had it's own regional SMTP server with a three-letter city code. Consult your BellSouth.net setup documentation to see what your SMTP or "outgoing" e-mail server should be set to. You could also call technical support and tell them that you're setting up an e-mail client (they won't support servers) and ask them what your local SMTP server is and whether you must have authentication (if so, is it POP-before-send, or AUTH LOGIN?).
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.