I've added a domain name which has email addresses that are only in
the virtual map. There are no real mailboxes over on Dovecot (via
transport) for this one. Attempts to send mail to
postmas...@newdomain.example.com gets "Relay access denied", so it
clearly doesn't recognize the domain (I didn't put it anywhere, so how
could it ... depending on the virtual map for that would not get the
right error message for bad LHS in that domain).  So my question is,
which map does it go in if all it is used for is addresses in the
virtual map (being forwarded to real mailboxes in another domain).

I'm doing this on a 2nd test server, for now. Output from postconf -n is here:

alias_database = cdb:/etc/postfix/aliases
alias_maps = cdb:/etc/aliases
command_directory = /usr/sbin
config_directory = /etc/postfix
daemon_directory = /usr/lib/postfix
data_directory = /var/lib/postfix
default_destination_concurrency_limit = 2
default_privs = nobody
in_flow_delay = 1s
inet_protocols = ipv4, ipv6
local_destination_concurrency_limit = 2
mail_owner = postfix
message_size_limit = 104857600
mydomain = example.net
myhostname = mxx.example.net
mynetworks = 127.0.0.0/8, 172.16.0.0/12, [::1]/128, [fcca::]/7, [fe80::]/48
myorigin = $mydomain
non_fqdn_reject_code = 404
proxy_interfaces = XXX.YYY.ZZZ.91
queue_directory = /var/spool/postfix
recipient_delimiter = +
smtp_bind_address = 172.30.0.29
smtp_bind_address6 = fcca::1d
smtpd_banner = $myhostname ESMTP #11 Though shalt not spam thy
neighbor, nor thy neighbor's wife, nor his ass.
smtpd_recipient_restrictions = reject_non_fqdn_recipient
permit_mynetworks permit_sasl_authenticated reject_unauth_destination
reject_unlisted_recipient
smtpd_sasl_auth_enable = yes
smtpd_sasl_path = private/dovecot-auth
smtpd_sasl_type = dovecot
smtpd_tls_auth_only = yes
smtpd_tls_cert_file = /etc/ssl/certs/smtp.example.net.crt
smtpd_tls_key_file = /etc/ssl/private/smtp.example.net.key
smtpd_tls_security_level = may
soft_bounce = yes
unknown_local_recipient_reject_code = 450
unverified_recipient_reject_code = 450
virtual_alias_maps = cdb:/etc/postfix/forward
virtual_mailbox_domains = cdb:/etc/postfix/domains
virtual_mailbox_maps = cdb:/etc/postfix/mailbox
virtual_transport = dovecot

This is also in main.cf but not shown above:

dovecot_destination_recipient_limit = 1

-- 
Be very glad the Internet was not invented by the Roman Empire
Else we might have IP addresses like cxxxi.ccxi.lxxxiv.clxxxvi

Reply via email to