[Postfix] Recipient address rejected: Access denied (state 14)

Discussion in 'Server Operation' started by Maxman1850, Mar 21, 2012.

  1. Maxman1850

    Maxman1850 New Member

    Hi Guys,

    I'm trying to receive e-mails on my server but I keep ketting my e-mails back.
    I'm using Gmail to send the mails but they're not getting into my mailbox.
    The error that I get is: 554 554 5.7.1 Recipient address rejected: Access denied (state 14)

    When I send an e-mail from a domain that is located on my server though, I do get it. I think postfix is rejecting other domains or something.

    Can someone please help me?



    myhostname = server2.rijnservice.nl
    mynetworks = [::1]/128
    virtual_alias_domains =
    virtual_alias_maps = proxy:mysql:/etc/postfix/mysql-virtual_forwardings.cf, mysql:/etc/postfix/mysql-virtual_email2email.cf
    virtual_mailbox_domains = proxy:mysql:/etc/postfix/mysql-virtual_domains.cf
    virtual_mailbox_maps = proxy:mysql:/etc/postfix/mysql-virtual_mailboxes.cf
    virtual_mailbox_base = /var/vmail
    virtual_uid_maps = static:5000
    virtual_gid_maps = static:5000
    smtpd_sasl_auth_enable = yes
    broken_sasl_auth_clients = yes
    smtpd_sasl_authenticated_header = yes
    smtpd_recipient_restrictions = permit_mynetworks, permit_sasl_authenticated, check_recipient_access mysql:/etc/postfix/mysql-virtual_recipient.cf#, reject_unauth_destination
    smtpd_use_tls = yes
    smtpd_tls_security_level = may
    smtpd_tls_cert_file = /etc/postfix/smtpd.cert
    smtpd_tls_key_file = /etc/postfix/smtpd.key
    transport_maps = proxy:mysql:/etc/postfix/mysql-virtual_transports.cf
    relay_domains = mysql:/etc/postfix/mysql-virtual_relaydomains.cf
    relay_recipient_maps = mysql:/etc/postfix/mysql-virtual_relayrecipientmaps.cf
    proxy_read_maps = $local_recipient_maps $mydestination $virtual_alias_maps $virtual_alias_domains $virtual_mailbox_maps $virtual_mailbox_domains $relay_recipient_maps $relay_domains $canonical_maps $sender_canonical_maps $recipient_canonical_maps $relocated_maps $transport_maps $mynetworks $virtual_mailbox_limit_maps
    smtpd_sender_restrictions = check_sender_access mysql:/etc/postfix/mysql-virtual_sender.cf
    smtpd_client_restrictions = check_client_access mysql:/etc/postfix/mysql-virtual_client.cf
    maildrop_destination_concurrency_limit = 1
    maildrop_destination_recipient_limit = 1
    virtual_transport = dovecot
    header_checks = regexp:/etc/postfix/header_checks
    mime_header_checks = regexp:/etc/postfix/mime_header_checks
    nested_header_checks = regexp:/etc/postfix/nested_header_checks
    body_checks = regexp:/etc/postfix/body_checks
    dovecot_destination_recipient_limit = 1
    smtpd_sasl_type = dovecot
    smtpd_sasl_path = private/auth
    receive_override_options = no_address_mappings
    content_filter = amavis:[]:10024
    relayhost =
    mailbox_size_limit = 0
    message_size_limit = 0
    virtual_maps = hash:/etc/postfix/virtusertable
  2. falko

    falko Super Moderator ISPConfig Developer

    Are there any errors in your mail log (in the /var/log/ directory)?
  3. Maxman1850

    Maxman1850 New Member

    Hi Falko,

    This is what an error looks like:

    Mar 21 20:59:22 Webserver002 postfix/smtpd[11649]: connect from unknown[]
    Mar 21 19:59:23 Webserver002 postfix/smtpd[11649]: NOQUEUE: reject: RCPT from unknown[]: 554 5.7.1 <info@nuala.eu>: Recipient address rejected: Access denied; from=<max.sebes@gmail.com> to=<info@nuala.eu> proto=ESMTP helo=<mail-yx0-f171.google.com>
    Mar 21 19:59:23 Webserver002 postfix/smtpd[11649]: disconnect from unknown[]
  4. falko

    falko Super Moderator ISPConfig Developer

    Does the nuala.eu domain exist in your mail database so that the server knows it should accept mails for that domain?
  5. Maxman1850

    Maxman1850 New Member

    Yes, in ISPConfig I set the domain.
    In the database the domain is only visible in the mail_domain table..
  6. falko

    falko Super Moderator ISPConfig Developer

    And the info@nuala.eu account exists as well?
  7. Maxman1850

    Maxman1850 New Member

    Yes, everything is set as it should have in ISPConfig and in the database..
    I get the same error when I use another e-mailaddress with another domain..

Share This Page