I was wondering if it's possible to set up postfix to do both Virtual and Local delivery.
Right now I have it set up to do virtual delivery, but all my root emails only get delivered if r...@domain.com exists in my LDAP instead of staying in the system I am using the Postfix 2.7.1 package that comes with Debian squeeze. Thanks! # postconf -n alias_maps = hash:/etc/aliases always_bcc = catch...@test.domain.com biff = no broken_sasl_auth_clients = yes canonical_maps = command_directory = /usr/sbin config_directory = /etc/postfix daemon_directory = /usr/lib/postfix debug_peer_level = 2 default_destination_concurrency_limit = 2000 default_process_limit = 1000 defer_transports = disable_dns_lookups = no header_checks = regexp:/etc/postfix/header_checks html_directory = /usr/share/doc/packages/postfix/html inet_interfaces = all initial_destination_concurrency = 2000 mail_owner = postfix mail_spool_directory = /var/mail mailbox_command = /usr/bin/procmail mailbox_size_limit = 0 mailbox_transport = mailq_path = /usr/bin/mailq manpage_directory = /usr/share/man masquerade_classes = envelope_sender, header_sender, header_recipient masquerade_domains = masquerade_exceptions = root max_use = 10 message_size_limit = 51200000 mydestination = $myhostname, localhost, localhost.$myhostname, localhost.$mydomain mydomain = test.domain.com myhostname = mailvalidation.domain.com mynetworks = 127.0.0.0/8, 192.168.0.0/16 myorigin = $mydomain newaliases_path = /usr/bin/newaliases queue_directory = /var/spool/postfix readme_directory = /usr/share/doc/packages/postfix/README_FILES recipient_canonical_maps = ldap:/etc/postfix/recipient_canonical.ldap recipient_delimiter = + relay_domains = /etc/postfix/relay_domains relay_recipient_maps = ldap:/etc/postfix/relay_recipient_maps.ldap relocated_maps = hash:/etc/postfix/relocated sample_directory = /usr/share/doc/packages/postfix/samples sendmail_path = /usr/sbin/sendmail smtp_connection_cache_time_limit = 10s smtp_host_lookup = native smtp_sasl_auth_enable = no smtp_use_tls = no smtpd_client_connection_count_limit = 1000 smtpd_client_restrictions = reject_rbl_client b.barracudacentral.org, reject_rbl_client zen.spamhaus.org smtpd_helo_required = no smtpd_helo_restrictions = smtpd_recipient_restrictions = permit_mynetworks, reject_unauth_destination smtpd_sasl_auth_enable = yes smtpd_sasl_path = smtpd smtpd_sasl_security_options = noanonymous smtpd_sender_restrictions = reject_unknown_sender_domain, reject_non_fqdn_sender smtpd_use_tls = no soft_bounce = yes strict_rfc821_envelopes = yes transport_maps = ldap:/etc/postfix/transport.ldap unknown_local_recipient_reject_code = 550