I’ve updated a working user on this test server from r...@tohuw.net to r...@joab.tohuw.net. Under the previous address, I could successfully complete a telnet session and convey mail for r...@tohuw.net to the local MTA.
After changing the user’s mail attribute in LDAP to r...@joab.tohuw.net and adding the domain to LDAP, I restarted Postfix. Telnet sessions in which I use RCPT TO:r...@joab.tohuw.net fail with "550 5.1.1 <r...@joab.tohuw.net>: Recipient address rejected: User unknown in local recipient table” What have I forgotten to do? CONFIGURATION INFORMATION FOLLOWS... --- MY POSTCONF: config_directory = /etc/postfix content_filter = scan:127.0.0.1:10025 home_mailbox = Maildir/ mailbox_transport = lmtp:unix:private/dovecot-lmtp mydestination = $myhostname, localhost mydomain = tohuw.net myhostname = joab.tohuw.net mynetworks = 127.0.0.0/8 myorigin = /etc/mailname receive_override_options = no_address_mappings smtp_use_tls = yes smtpd_banner = $myhostname ESMTP $mail_name smtpd_recipient_restrictions = reject_unknown_sender_domain, reject_unknown_recipient_domain, reject_unauth_pipelining, permit_mynetworks, permit_sasl_authenticated, reject_unauth_destination, check_policy_service inet:127.0.0.1:10023 smtpd_sasl_auth_enable = yes smtpd_sasl_authenticated_header = yes smtpd_sasl_local_domain = $myhostname smtpd_sasl_path = private/dovecot-auth smtpd_sasl_security_options = noanonymous smtpd_sasl_type = dovecot smtpd_sender_restrictions = reject_unknown_sender_domain smtpd_tls_auth_only = yes smtpd_tls_cert_file = [redacted] smtpd_tls_key_file = [redacted] smtpd_tls_mandatory_ciphers = medium smtpd_tls_mandatory_protocols = SSLv3, TLSv1 smtpd_tls_received_header = yes smtpd_use_tls = yes virtual_mailbox_domains = proxy:ldap:$config_directory/ldap_virtual_domains_maps.cf virtual_mailbox_maps = proxy:ldap:$config_directory/ldap_virtual_mailbox_maps.cf virtual_transport = lmtp:unix:private/dovecot-lmtp — LDAP_VIRTUAL_DOMAINS_MAPS.CF: server_host = ldap://localhost/ search_base = ou=MailDomains,ou=Services,dc=tohuw,dc=net version = 3 bind = no query_filter = (&(ObjectClass=dNSDomain)(dc=%s)) result_attribute = dc — LDAP_VIRTUAL_MAILBOX_MAPS.CF server_host = ldap://localhost/ search_base = ou=Users,dc=tohuw,dc=net version = 3 bind = no query_filter = (&(objectclass=inetOrgPerson)(mail=%s)) result_attribute = mail — LDIF TO LOAD THE NEW DOMAIN: dn: dc=joab.tohuw.net,ou=MailDomains,ou=Services,dc=tohuw,dc=net objectClass: dNSDomain objectClass: top dc: joab.tohuw.net — LDIF TO MODIFY THE USER: dn: uid=tohuw,ou=Users,dc=tohuw,dc=net changetype: modify replace: mail mail: r...@joab.tohuw.net