Jan Röhrich wrote:
Hello List,
I have a strange problem an spent the whole day on looking for a
solution:
I configured postfix to use virtual_mailbox_maps and maildrop like this:
virtual_mailbox_base = /mailboxes
virtual_minimum_uid = 10000
virtual_mailbox_domains = mysql:/etc/postfix/my/domains.conf
what does
# postmap -q google.com mysql:/etc/postfix/my/domains.conf
return.
if it returns a result, then that's your problem.
PS. to get help, don't show random snippets from arbitray galaxies. show
output of 'postconf -n'. also, don't show verbose logs unless requested.
start with "normal" logs. As we could say in french, "too much
information kills the information".
[snip]
Receiving Mail for accounts listet in virtual_mailbox_maps works and is
delivered via maildrop.
But if I try to send mail to an external address postfix refuses this
with:
Recipient address rejected: User unknown in virtual mailbox table
I started smtpd with -v option and as you can see in the attached log,
postfix uses maildrop as transport method for external email. Same
happens if I leave virtual_transport blank. It then uses virtual as
transport for external mail.
[snip]