Hi folks! I'm trying to get virtual delivery working for one
particular domain, on a mail server (postfix 2.4.0) that is currently
working with local delivery for a bunch of other domains. I'm seeing
this in the logs:
postfix/trivial-rewrite[10469]: warning: do not list domain
foo.bar.com in BOTH virtual_mailbox_domains and relay_domains
...yet relay_domains does not include domain "foo.bar.com". I've
checked and re-checked...relay_domains is blank, defaulting to
$mydestination, which includes the contents of a file, and that file
does not include "foo.bar.com". It does, however, include the parent
domain "bar.com", which should be immaterial according to my
understanding. (domain names changed to protect the guilty ;))
I've included postconf -n output at the bottom of this message. I
am stumped...am I missing something here?
Thanks,
-Dave
--
Dave McGuire
Port Charlotte, FL
Farewell Ophelia, 9/22/1991 - 7/25/2007
---------- postconf -n ----------
alias_database = hash:/etc/mail/aliases
alias_maps = $alias_database
command_directory = /usr/sbin
config_directory = /etc/postfix
daemon_directory = /usr/libexec/postfix
debug_peer_level = 2
hash_queue_depth = 1
hash_queue_names = active, deferred
html_directory = no
mail_owner = postfix
mailbox_command = /usr/bin/procmail
mailbox_size_limit = 0
mailq_path = /usr/bin/mailq
manpage_directory = /usr/local/man
maximal_queue_lifetime = 30d
message_size_limit = 52428800
mydestination = /etc/postfix/local-host-names
mynetworks = xxx.xxx.xxx.xxx/xx
myorigin = $mydomain
newaliases_path = /usr/bin/newaliases
queue_directory = /var/spool/postfix
readme_directory = no
sample_directory = /etc/postfix
sendmail_path = /usr/sbin/sendmail
setgid_group = postdrop
smtpd_client_restrictions =
permit_mynetworks,
permit_sasl_authenticated,
reject_unknown_client
smtpd_helo_required = yes
smtpd_helo_restrictions = permit_mynetworks,
reject_invalid_hostname
smtpd_recipient_restrictions =
permit_mynetworks,
permit_sasl_authenticated,
reject_unauth_destination
smtpd_sasl_auth_enable = yes
smtpd_sasl_local_domain = $myhostname
smtpd_sasl_path = private/auth
smtpd_sasl_type = dovecot
smtpd_sender_restrictions = check_sender_access mysql:/etc/postfix/
mysql-sender.cf, reject_unknown_sender_domain
unknown_address_reject_code = 550
unknown_client_reject_code = 550
unknown_local_recipient_reject_code = 550
virtual_alias_domains = $virtual_alias_maps
virtual_alias_maps = proxy:mysql:/etc/postfix/mysql-virtual-aliases.cf
virtual_mailbox_domains = mysql:/etc/postfix/mysql-virtual-domains.cf
virtual_transport = dovecot
---------- end postconf -n ----------
>
> Ahh crap, sorry about the blank subject a moment ago.
>
> Hi folks! I'm trying to get virtual delivery working for one
> particular domain, on a mail server (postfix 2.4.0) that is currently
> working with local delivery for a bunch of other domains. I'm seeing
> this in the logs:
>
> postfix/trivial-rewrite[10469]: warning: do not list domain
> foo.bar.com in BOTH virtual_mailbox_domains and relay_domains
>
http://www.postfix.org/postconf.5.html#parent_domain_matches_subdomains
--
Viktor.
Disclaimer: off-list followups get on-list replies or get ignored.
Please do not ignore the "Reply-To" header.
To unsubscribe from the postfix-users list, visit
http://www.postfix.org/lists.html or click the link below:
<mailto:majo...@postfix.org?body=unsubscribe%20postfix-users>
If my response solves your problem, the best way to thank me is to not
send an "it worked, thanks" follow-up. If you must respond, please put
"It worked, thanks" in the "Subject" so I can delete these quickly.
Oh good heavens. I can't believe I missed that. Thank you so
much for this speedy clue delivery, Viktor. I'll have this worked
out in a jiffy. :-)