Download your favorite Linux distribution at LQ ISO.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 03-30-2009, 05:01 AM   #1
LQ Newbie
Registered: Nov 2008
Posts: 1

Rep: Reputation: 0
Postfix Relay Access Denied

I hace installed
Postfix in ubuntu server 8.10 in a dell poweregde 2850

The mail server is in the local netowork behind a cisco router

I can log into the mail server successfully using Ms Office Outlook 2003 and RoundCube web client

I can send emails to domains like google, yahoo, etc but the server rejects mails from the otherdomains and itself.

The error message is like
"Mar 30 12:31:46 mail postfix/smtpd[6445]: NOQUEUE: reject: RCPT from[]: 554 5.7.1 <>: Relay access denied; from=<> to=<> proto=ESMTP helo=<>
Mar 30 12:31:48 mail postfix/smtpd[6445]: disconnect from[]

I have a redhat enterprise 3 using sendmail works fine inside out

can any one help
Old 03-30-2009, 08:30 AM   #2
LQ Guru
Registered: Oct 2005
Location: Northeast Ohio
Distribution: linuxdebian
Posts: 7,247
Blog Entries: 5

Rep: Reputation: 191Reputation: 191
It appears your server does not see itself as a destination for the email it's receiving. .

I would verify the following items to start.

mydomain =
myhostname =
mydestination = $myhostname, localhost.$mydomain,mail.$mydomain,$mydomain
mynetworks =
relay_domains = $mydestination
smtpd_recipient_restrictions = permit_mynetworks,check_relay_domains

post the output of postconf -n for further assistance.


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-Relay access denied i_nomad Linux - Newbie 14 05-01-2008 06:01 PM
postfix: Relay access denied gabsik Linux - Server 7 12-20-2007 04:10 AM
Postfix Relay Access Denied dwpondscum Linux - Networking 2 09-20-2007 04:37 AM
HELP! POSTFIX Relay access denied cozyk1515 Linux - Software 3 07-21-2006 08:56 AM
Postfix as a mail relay (getting relay access denied) hypexr Linux - Software 3 09-13-2005 07:15 PM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 12:25 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