Postfix relaying issues

Posted on 2007-10-10
Last Modified: 2013-12-18
Hey all,

I'm setting up my Postfix MTA following the guide here:

Unfortunately running into the following issue when testing mail from external hosts:

Oct 10 23:46:09 catalyst postfix/smtpd[24195]: warning: RBL lookup error: Host or domain name not found. Name service error for type=A: Host not found, try again
Oct 10 23:46:09 catalyst postfix/smtpd[24195]: NOQUEUE: reject: RCPT from[]: 554 5.7.1 <[]>: Client host rejected: Access denied; from=<> to=<> proto=ESMTP helo=<>
Oct 10 23:46:09 catalyst postfix/smtpd[24195]: warning: restriction `rbl_client' after `reject' is ignored

That's if I try to mail from my gmail account to, a local domain.

Here's my postconf, if anyone has a clue would appreciate some insight:

root@catalyst:~# postconf -n
alias_database = hash:/etc/postfix/aliases
alias_maps = hash:/etc/postfix/aliases
append_dot_mydomain = no
biff = no
broken_sasl_auth_clients = yes
config_directory = /etc/postfix
delay_warning_time = 4h
disable_vrfy_command = yes
inet_interfaces = all
maximal_backoff_time = 8000s
maximal_queue_lifetime = 7d
minimal_backoff_time = 1000s
myhostname =
mynetworks =
mynetworks_style = host
relayhost =
smtp_helo_timeout = 60s
smtpd_banner = $myhostname ESMTP $mail_name (Microsoft Vista)
smtpd_client_restrictions = permit_mynetworks, permit_sasl_authenticated, reject_rbl_client, reject_rbl_client, reject_rbl_client, reject rbl_client
smtpd_data_restrictions = reject_unauth_pipelining
smtpd_delay_reject = yes
smtpd_hard_error_limit = 12
smtpd_helo_required = yes
smtpd_helo_restrictions = permit_mynetworks, warn_if_reject reject_non_fqdn_hostname, reject_invalid_hostname, permit
smtpd_recipient_limit = 64
smtpd_recipient_restrictions = permit_mynetworks, permit_sasl_authenticated, reject_unauth_pipelining, reject_non_fqdn_recipient, reject_unknown_recipient_domain, reject_unauth_destination, check_policy_service inet:, permit
smtpd_sasl_auth_enable = yes
smtpd_sasl_local_domain =
smtpd_sasl_path = /etc/postfix/sasl:/usr/lib/sasl2
smtpd_sasl_security_options = noanonymous
smtpd_sender_restrictions = permit_sasl_authenticated, permit_mynetworks, reject_non_fqdn_sender, reject_unknown_sender_domain, reject_unauth_pipelining, permit
smtpd_soft_error_limit = 3
smtpd_tls_cert_file = /etc/postfix/postfix.cert
smtpd_tls_key_file = /etc/postfix/postfix.key
smtpd_use_tls = yes
unknown_local_recipient_reject_code = 450
virtual_alias_maps = mysql:/etc/postfix/
virtual_gid_maps = mysql:/etc/postfix/
virtual_mailbox_base = /var/spool/mail/virtual
virtual_mailbox_domains = mysql:/etc/postfix/
virtual_mailbox_maps = mysql:/etc/postfix/
virtual_uid_maps = mysql:/etc/postfix/

Question by:stevefNYC
    1 Comment
    LVL 31

    Accepted Solution

    I think the last warning is about this typo:
     "reject rbl_client"
    Shouldn't there be an underscore between reject and rbl_client?

    The reject after  NOQUEUE is possibly due to the sender  is on "" but sending out of

    Write Comment

    Please enter a first name

    Please enter a last name

    We will never share this with anyone.

    Featured Post

    How your wiki can always stay up-to-date

    Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
    - Increase transparency
    - Onboard new hires faster
    - Access from mobile/offline

    Getting postfix to support IPv6 is a relatively simple matter (when you know how - or - have read this Article). First of all you must ensure that your server has IPv6 connectivity to the Internet. By default postfix will listen only on IPv4, …
    What is Usenet? There are many different opinions on exactly what Usenet is an isn't. Many opinions are incorrect simply out of ignorance. The Wikipedia listing about Usenet does a good job of explaining it, so instead of repeating it all here I wi…
    Familiarize people with the process of utilizing SQL Server functions from within Microsoft Access. Microsoft Access is a very powerful client/server development tool. One of the SQL Server objects that you can interact with from within Microsoft Ac…
    In this video we show how to create an email address policy in Exchange 2013. We show this process by using the Exchange Admin Center. Log into Exchange Admin Center.:  First we need to log into the Exchange Admin Center. Navigate to the Mail Flow…

    761 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    13 Experts available now in Live!

    Get 1:1 Help Now