LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


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

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 main.cf, but not sure where aliases are restricted.
Here is what that section looks like:
smtpd_recipient_restrictions =
reject_non_fqdn_recipient
reject_non_fqdn_sender
reject_unknown_sender_domain
reject_unknown_recipient_domain
permit_sasl_authenticated
permit_mynetworks
check_client_access hash:/etc/postfix/internal_networks
check_sender_access hash:/etc/postfix/not_our_domain_as_sender
reject_unauth_destination
check_recipient_access hash:/etc/postfix/protect_internal_aliases
reject_multi_recipient_bounce
reject_rbl_client sbl-xbl.spamhaus.org
reject_rbl_client pbl.spamhaus.org
check_recipient_access hash:/etc/postfix/role_account_exceptions
check_helo_access pcre:/etc/postfix/helo_checks
reject_non_fqdn_hostname
reject_invalid_hostname
check_sender_mx_access cidr:/etc/postfix/bogus_mx
check_sender_access hash:/etc/postfix/rhsbl_sender_exceptions
reject_rhsbl_sender dsn.rfc-ignorant.org
check_sender_access hash:/etc/postfix/common_spam_senderdomains
check_sender_access regexp:/etc/postfix/common_spam_senderdomain_keywords
permit
 
Old 06-15-2012, 12:18 AM   #2
Skaperen
Senior Member
 
Registered: May 2009
Location: center of singularity
Distribution: Xubuntu, Ubuntu, Slackware, Amazon Linux, OpenBSD, LFS (on Sparc_32 and i386)
Posts: 2,684
Blog Entries: 31

Rep: Reputation: 176Reputation: 176
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 main.cf 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
deathsfriend99
Member
 
Registered: Nov 2007
Distribution: CentOS 6
Posts: 200

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!
 
  


Reply



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 7 01-31-2021 01:54 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

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 11:44 PM.

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