LinuxQuestions.org
Help answer threads with 0 replies.
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, 12:13 PM   #1
deathsfriend99
Member
 
Registered: Nov 2007
Distribution: CentOS 6
Posts: 188

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, 01:18 AM   #2
Skaperen
Senior Member
 
Registered: May 2009
Location: WV, USA
Distribution: Slackware, CentOS, Ubuntu, Fedora, Timesys, Linux From Scratch
Posts: 1,777
Blog Entries: 20

Rep: Reputation: 116Reputation: 116
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, 09:46 AM   #3
deathsfriend99
Member
 
Registered: Nov 2007
Distribution: CentOS 6
Posts: 188

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


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 3 12-21-2011 06:32 AM
550.5.1.1 Recipient address rejected: User unknown in local recipient table RCPT_TO said76 Ubuntu 1 09-24-2011 11:01 PM
Postfix: Recipient address rejected: Relay access denied; stormrider_may Linux - Networking 5 02-18-2006 06:38 AM
Postfix error - Recipient address rejected: Relay access denied robbiemorgan Linux - Newbie 1 10-01-2004 04:57 AM
Email Error - "Recipient address rejected: Relay access denied" ripcord Linux - Newbie 1 10-31-2002 04:00 PM


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