Help answer threads with 0 replies.
Go Back > Forums > Linux Forums > Linux - Networking
User Name
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.


  Search this Thread
Old 03-12-2004, 03:47 PM   #1
Registered: Aug 2003
Location: Limbo
Posts: 54

Rep: Reputation: 15
Postfix Relay Problem

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 =

I'm getting this error:

<>: host[] said: 550 .net
022: Your current IP address is not allowed to relay to 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?

Old 03-17-2004, 04:13 AM   #2
LQ Newbie
Registered: Mar 2003
Location: Denmark
Distribution: Slackware and Gentoo
Posts: 20

Rep: Reputation: 0
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 ''.

Instead of using the relayhost, You could just let postfix deliver the mail directly using common name lookups.

Old 06-11-2004, 03:49 PM   #3
Registered: Aug 2001
Location: Brandon, FL
Distribution: Slackware All The Way Baby!
Posts: 31

Rep: Reputation: 15
could you please expand on that a little, im having that same problem too.


Old 06-11-2004, 06:41 PM   #4
Senior Member
Registered: Jul 2003
Location: Silicon Valley, USA
Distribution: OpenBSD 4.6, OS X 10.6.2, CentOS 4 & 5
Posts: 3,660

Rep: Reputation: 75
You need to send it through your local SMTP server. When I worked there, each region had it's own regional SMTP server with a three-letter city code. Consult your 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?).


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
[postfix] allow relay from 1 ip narmida Linux - Software 3 12-01-2005 12:20 PM
Postfix as a mail relay (getting relay access denied) hypexr Linux - Software 3 09-13-2005 07:15 PM
postfix relay problem smurfix Linux - Newbie 26 02-22-2005 10:56 PM
postfix relay problem sopiaz57 Linux - General 0 03-03-2004 10:25 AM
Postfix relay problem txtoolman Linux - Software 0 12-16-2003 01:09 PM > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 07:10 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration