From: Paul Beard on
Small domain, just a home network with a postfix server to keep the
baddies out. But for some reason, outbound mail is failing for one
user and I can't quite make out why. She is in a virtual domain
[example.org below] that should forward to her home mail [home.net,
let's call it]. This has been a pretty hard error message to find much
out about: not many people make this mistake.


554 5.1.0 <XXXXX(a)example.org>: Sender address rejected: User unknown
in virtual alias table

command_directory = /usr/local/sbin
config_directory = /usr/local/etc/postfix
daemon_directory = /usr/local/libexec/postfix
data_directory = /var/db/postfix
debug_peer_level = 2
default_process_limit = 200
disable_vrfy_command = yes
html_directory = /usr/local/share/doc/postfix
inet_interfaces = all
invalid_hostname_reject_code = 554
mail_owner = postfix
mailq_path = /usr/local/bin/mailq
manpage_directory = /usr/local/man
maps_rbl_domains = blackholes.mail-abuse.org
multi_recipient_bounce_reject_code = 554
mydestination = $myhostname, localhost.$mydomain, localhost, $mydomain
mydomain = home.net
myhostname = mail.home.net
mynetworks = 192.168.2.0/24, 127.0.0.0/8
mynetworks_style = subnet
myorigin = $mydomain
newaliases_path = /usr/local/bin/newaliases
non_fqdn_reject_code = 554
parent_domain_matches_subdomains =
debug_peer_list
,fast_flush_domains
,mynetworks
,permit_mx_backup_networks
,qmqpd_authorized_clients,relay_domains,smtpd_access_maps
proxy_interfaces = 72.1.134.183
queue_directory = /var/spool/postfix
readme_directory = /usr/local/share/doc/postfix
relay_domains_reject_code = 554
sample_directory = /usr/local/etc/postfix
sendmail_path = /usr/local/sbin/sendmail
setgid_group = maildrop
smtp_tls_session_cache_database = btree:/var/lib/postfix/
smtp_tls_session_cache
smtpd_delay_reject = yes
smtpd_helo_required = yes
smtpd_helo_restrictions = permit_mynetworks,
permit_sasl_authenticated, reject_non_fqdn_hostname,
reject_invalid_hostname, permit
smtpd_recipient_restrictions = permit_mynetworks,
permit_sasl_authenticated,
reject_unauth_destination,check_policy_service inet:127.0.0.1:10023
smtpd_reject_unlisted_sender = yes
smtpd_sasl_auth_enable = yes
smtpd_sasl_path = private/auth
smtpd_sasl_type = dovecot
smtpd_sender_restrictions = permit_mynetworks, permit_sasl_authenticated
smtpd_tls_CAfile = /usr/local/etc/postfix/ssl/cacert.pem
smtpd_tls_auth_only = no
smtpd_tls_cert_file = /usr/local/etc/postfix/ssl/pbo-cert.pem
smtpd_tls_key_file = /usr/local/etc/postfix/ssl/pbo-key.pem
smtpd_tls_loglevel = 1
smtpd_tls_received_header = yes
smtpd_tls_security_level = may
smtpd_tls_session_cache_timeout = 3600s
smtpd_use_tls = no
strict_rfc821_envelopes = yes
tls_random_source = dev:/dev/urandom
unknown_address_reject_code = 554
unknown_client_reject_code = 554
unknown_hostname_reject_code = 554
unknown_local_recipient_reject_code = 550
unknown_relay_recipient_reject_code = 554
unknown_virtual_alias_reject_code = 554
unknown_virtual_mailbox_reject_code = 554
unverified_recipient_reject_code = 554
unverified_sender_reject_code = 554
virtual_alias_domains = example.org
virtual_alias_maps = hash:/usr/local/etc/postfix/example.cf

--
Paul Beard
contact info: www.paulbeard.org/paulbeard.vcf

Are you trying to win an argument or solve a problem?