How to fix outlook error code 554 5.7.1?

Easy Email Support Toll Free: +1(888) 986-4831

Symptoms

Trying to send mail to some external domains (like hotmail.com or gmail.com ) using Outlook client, an error is shown Relay access denied , Relaying denied or Client host rejected: Access denied :

554 5.7.1
<hostname.tld[203.0.113.2]>: Client host rejected: Access denied

The following messages can be found in /usr/local/psa/var/log/maillog :

Jul 18 06:03:05 ns315915 postfix/smtpd[8688]: NOQUEUE: reject: RCPT from source.dom[203.0.113.2]: 554 5.7.1 <dest-address@example.com>: Relay access denied; from=<source-mailname@example2.com> to=<dest-address@example.com> proto=ESMTP helo=<helomessage>

The other mail clients (Opera Mail, Mozilla Thunderbird) are able to send messages.

The most common 554 5.7.1 messages

  • 554 5.7.1 : Client host rejected: Access denied
  • 554 5.7.1 : Service unavailable; Client host X.X.X.X blocked using zen.spamhaus.org
  • 554 5.7.1 : Relay access denied
  • 554 5.7.1 : Recipient address rejected: Access denied
  • 554 5.7.1 : Message cannot be accepted, rules rejection
  • 554 5.7.1 : Message refused by Dictionary check
  • 554 5.7.1 : Relay Access Denied for One Domain
  • 554 5.7.1 : Message cannot be accepted, spam rejection
  • 554 5.7.1 : Message refused by DNSBL check
  • 554 5.7.1 : Sender address rejected: Access denied

Cause

SMTP Code 554. 5.7.1 is a rejection from the Recipient Domain. SMTP Code 554. 5.7.1 means ‘Not allowed’. The address in ‘Mail From’ appears to have insufficient submission rights, or is invalid, or is not authorized with the authentication used; the address in an RCPT TO command is inconsistent with the permissions given to the user; the message data is rejected based on the submitting user.

Possible scenarios:

IP has been included in a Real-Time Blacklist due to there is Spam coming from your Domain.

You Domain/IP has been blacklisted by the recipient.

Steps to resolve this error-

General configuration for Postfix smtpd is located in /etc/postfix/main.cf

1.. Back up the original file:

# cp /etc/postfix/main.cf{,.old}

2.. Open it in text editor and search for the following lines:

smtpd_relay_restrictions = permit_mynetworks, permit_sasl_authenticated, defer_unauth_destination

This line says that relaying messages of authenticated clients is allowed through the server. Make sure it is not commented out (does not have ‘#’ in front of it). This, probably, is the option which affects relaying the most – make sure it is set properly. More information about this option.

smtpd_sasl_security_options = noplaintext

This line disables plaintext authentication. Make sure it is not present in configuration (or commented out) as it should be client’s choice to use plaintext auth or not. It does not affect security but increases compatibility.

smtpd_tls_auth_only = no

This line enables non-secure access (in addition to secure one) in smtpd . As with the previous line, it is needed for compatibility and does not decrease security.

3.. To apply the changes, reload Postfix configuration:

# service postfix reload
Reloading postfix: [ OK ]

All 3 options affect compatibility with Outlook. It is better to set them as specified to make sure Outlook is able to work properly. Outlook configuration example:

You May Also Like


Other Outlook Errors
  • 503 error code in outlook
  • error code 0x800c0133 in outlook express
  • error code 10 outlook unable connect proxy server
  • error code 1026 outlook mac gmail
  • error code 16997 outlook for mac
  • error code 17092 outlook for mac
  • error code 17092 outlook gmail
  • error code 17099 in outlook
  • error code 17099 outlook for mac
  • error code 17897 in outlook for mac
  • error code 18 outlook unable connect proxy server
  • error code 18500 outlook for mac
  • error code 20 outlook unable connect proxy server
  • error code 3170 outlook for mac
  • error code 3176 outlook for mac
  • error code 3253 outlook for mac
  • error code 3259 outlook for mac
  • error code 3259 outlook gmail
  • error code 6ba outlook
  • error code 8 outlook anywhere certificate
  • error code for outlook
  • error code in outlook
  • exchange 2013 outlook error code 8
  • how to fix outlook error code 0x800ccc0e
  • how to fix outlook error code 10
  • how to fix outlook error code 20
  • how to fix outlook error code 8
  • mac outlook error code 1025 invalid mailbox name
  • microsoft office outlook error code 20
  • microsoft office outlook error code 8
  • office 365 outlook error code 10
  • outlook 2007 error code 8
  • outlook 2007 error code 8 certificate
  • outlook 2007 not implemented error code
  • outlook 2010 activation error code 0xc004f074
  • outlook 2010 error code 0
  • outlook 2010 error code 18 certificate
  • outlook 2010 error code 2
  • outlook 2010 error code 8 certificate
  • outlook 2010 imap error code 0x800cccdd
  • outlook 2011 error code 0
  • outlook 2011 error code could not synchronize record
  • outlook 2013 error code 0
  • outlook 2016 error code 8
  • outlook 2016 error code 998
  • outlook 365 error code 0
  • outlook 365 error code 20
  • outlook activation error code 0
  • outlook android error code 1
  • outlook anywhere certificate error code 10
  • outlook anywhere error code 10
  • outlook anywhere error code 18
  • outlook anywhere error code 38
  • outlook anywhere error code 8
  • outlook certificate error code 0
  • outlook certificate error code 20
  • outlook error 550 code hcg
  • outlook error code
  • outlook error code 0
  • outlook error code 0x8000ffff
  • outlook error code 0x80071ac3
  • outlook error code 0x80072efd
  • outlook error code 0x800ccc0e
  • outlook error code 0x800ccc0f
  • outlook error code 0x800ccc13 windows 10
  • outlook error code 0x800ccc1a
  • outlook error code 0x800ccc90
  • outlook error code 0x800ccc92
  • outlook error code 0x800cccdb
  • outlook error code 0x800cccdd
  • outlook error code 1
  • outlook error code 10
  • outlook error code 10 exchange 2013
  • outlook error code 10 proxy server
  • outlook error code 1025
  • outlook error code 1025 invalid mailbox name
  • outlook error code 1025 mac
  • outlook error code 1025 mailbox exists
  • outlook error code 1026
  • outlook error code 108 not enough memory
  • outlook error code 150
  • outlook error code 17092 mac
  • outlook error code 17099
  • outlook error code 17099 mac
  • outlook error code 17199
  • outlook error code 17895
  • outlook error code 17983 mac
  • outlook error code 17997
  • outlook error code 17997 mac
  • outlook error code 18
  • outlook error code 18 proxy
  • outlook error code 19803
  • outlook error code 2
  • outlook error code 20
  • outlook error code 20 proxy
  • outlook error code 20 proxy server
  • outlook error code 20 security certificate
  • outlook error code 2016
  • outlook error code 206
  • outlook error code 23
  • outlook error code 255
  • outlook error code 28
  • outlook error code 3
  • outlook error code 3-4
  • outlook error code 3170
  • outlook error code 3170 on mac
  • outlook error code 3176
  • outlook error code 3210
  • outlook error code 3210 mac
  • outlook error code 3253
  • outlook error code 3253 mac
  • outlook error code 3259
  • outlook error code 3259 mac
  • outlook error code 3260
  • outlook error code 3260 mac
  • outlook error code 38
  • outlook error code 4
  • outlook error code 403
  • outlook error code 42
  • outlook error code 421
  • outlook error code 4362
  • outlook error code 451
  • outlook error code 452
  • outlook error code 475
  • outlook error code 5
  • outlook error code 50
  • outlook error code 50 unresolved recipients
  • outlook error code 500
  • outlook error code 503
  • outlook error code 550
  • outlook error code 550 5.1.1
  • outlook error code 550 5.7.1
  • outlook error code 553
  • outlook error code 554
  • outlook error code 554 5.7.1
  • outlook error code 78754
  • outlook error code 8
  • outlook error code 8 certificate
  • outlook error code 8 proxy
  • outlook error code 8 proxy server
  • outlook error code 8 unable connect proxy server
  • outlook error code 80072ee2
  • outlook error code 80072ee7
  • outlook error code 80072efd
  • outlook error code 80072f0d
  • outlook error code 80072f30
  • outlook error code 80072fa8
  • outlook error code 80c805e2
  • outlook error code 86000c0a
  • outlook error code 8796
  • outlook error code 998
  • outlook error code list
  • outlook error code ox800ccc13
  • outlook error code ox800ccc92
  • outlook error return code 550
  • outlook event id 19 error code 6ba
  • outlook exchange error code 8
  • outlook express 6 error code 0x800c0133
  • outlook express error code
  • outlook express error code 0x800c0133
  • outlook express error code 0x800ccc0d
  • outlook express error code 0x800ccc0e
  • outlook express error code 0x800ccc0f
  • outlook express error code 0x800ccc90
  • outlook express error code 451
  • outlook express error code ox800ccc19
  • outlook express error code ox800cccoe
  • outlook failed with error code (6ba)
  • outlook for mac error code 17997
  • outlook getting error code 0x800ccc0e
  • outlook imap error code 0x800cccdd
  • outlook login error code 1
  • outlook mac error code 3259 imap
  • outlook mac error code 998
  • outlook not implemented error code
  • outlook printer not activated error code 30
  • outlook proxy certificate error code 8
  • outlook proxy error code 0
  • outlook proxy error code 2
  • outlook proxy server error code 0
  • outlook rpc over http error code 8
  • outlook send receive error codes
  • outlook smtp error codes
  • outlook sync error codes
  • outlook unable to connect error code 10
  • outlook unable to connect error code 18
  • outlook unable to connect error code 8
  • outlook web access error code 403 forbidden
  • outlook web access error code 500
  • outlook.com error code 80072efd
  • outlook.office365.com error code 18
  • outlook.office365.com error code 20
  • repair outlook error code 8
  • saturn outlook error codes
  • windows 10 outlook error code
  • windows phone outlook error code 80072ee7
  • windows phone outlook error code 80072efd
  • rahul singh

    “Delivery has failed” and “550 5.1.1 RESOLVER.ADR.RecipNotFound” NDR after a mailbox is moved to Office 365. help

  • Roman Miller

    Getting “Undeliverable” message from Microsoft Outlook with error 5.7.1 “Unable to Relay” . Why?

  • Gaurav Singh

    What causes Relay Access Denied error. ?

  • Phillips

    Is there any other easy method available?

  • Joseph Russell

    apply this process remove 554 code error but. a error generate please give suggestion (code error 452
    )

  • Benett Mallinson

    I am able to log into Outlook.com and send out emails. However, when I try to reply back to my email received, I get the error bounce back message. how to fix?

  • ravi lodhi

    How to fix the error code-50 on Mac ?