Latest LQ Deal: Linux Power User Bundle
Go Back > Forums > Linux Forums > Linux - Server
User Name
Linux - Server This forum is for the discussion of Linux Software used in a server related context.


  Search this Thread
Old 06-13-2012, 11:13 AM   #1
Registered: Nov 2007
Distribution: CentOS 6
Posts: 195

Rep: Reputation: 22
Server Blocks use of Aliases from outside: Recipient address rejected: Access denied

I have a user that uses an Exchange server and needs to have access to send to email aliases on my dovecot/postfix server. When she sends to an alias she gets: Recipient address rejected: Access denied

Not sure where to go on this. I think it may be in the smtpd_recipient_restrictions =
section of, but not sure where aliases are restricted.
Here is what that section looks like:
smtpd_recipient_restrictions =
check_client_access hash:/etc/postfix/internal_networks
check_sender_access hash:/etc/postfix/not_our_domain_as_sender
check_recipient_access hash:/etc/postfix/protect_internal_aliases
check_recipient_access hash:/etc/postfix/role_account_exceptions
check_helo_access pcre:/etc/postfix/helo_checks
check_sender_mx_access cidr:/etc/postfix/bogus_mx
check_sender_access hash:/etc/postfix/rhsbl_sender_exceptions
check_sender_access hash:/etc/postfix/common_spam_senderdomains
check_sender_access regexp:/etc/postfix/common_spam_senderdomain_keywords
Old 06-15-2012, 12:18 AM   #2
Senior Member
Registered: May 2009
Location: WV, USA
Distribution: Slackware, Ubuntu, Amazon Linux
Posts: 1,830
Blog Entries: 21

Rep: Reputation: 119Reputation: 119
I don't have your exact answer, but just a direction focus to employ. Since you've not gotten an answer in over a day, I decided to post this to see if it might help.

Most likely the problem is that she appears to the Postfix server as an outsider sending email to an outsider. That's relaying and it is rejected because spammers have used that to magnify their efforts. Have her try sending test email to a user on that server to confirm that it works that way.

There are a few ways to fix that. If she is on a local LAN, add the LAN address to list of local networks in the file on "mynetworks =". If she is on an outside network, you need to set up secure submission and user logins. There's lots of different ways to do these things depending on your circumstances and the details of how you need to deny and allow access to others.
Old 07-02-2012, 08:46 AM   #3
Registered: Nov 2007
Distribution: CentOS 6
Posts: 195

Original Poster
Rep: Reputation: 22
Adding the IP's to "mynetworks" fixed this issue. Getting those IP's from Microsoft was pure pain and anguish!


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
[SOLVED] Server refuses mail with 550 5.1.1 : Recipient address rejected: User unknown ... cbj4074 Linux - Server 5 06-29-2017 03:06 PM
550.5.1.1 Recipient address rejected: User unknown in local recipient table RCPT_TO said76 Ubuntu 1 09-24-2011 10:01 PM
Postfix: Recipient address rejected: Relay access denied; stormrider_may Linux - Networking 5 02-18-2006 05:38 AM
Postfix error - Recipient address rejected: Relay access denied robbiemorgan Linux - Newbie 1 10-01-2004 03:57 AM
Email Error - "Recipient address rejected: Relay access denied" ripcord Linux - Newbie 1 10-31-2002 03:00 PM > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 12:09 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration