-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
I'm having problems with maildrop + postfix (virtual_users) and
unknown users.
If someone sends a mail for a unknown virtual user
(e.g. not-...@example.com), postfix gives 'ok', but
maildrop returns a bounce:
Sep 7 04:40:03 myserver postfix/pipe[2782]: A613313400:
to=<not-...@example.com>, relay=maildrop, delay=1.1,
delays=1.1/0.01/0/0.02, dsn=5.1.1, status=bounced (user unknown. Command
output: Invalid user specified. )
Here is main.cf:
"
...
mydestination = $myhostname, localhost.$mydomain, localhost
relay_domains = $mydestination, $transport_maps
recipient_bcc_maps = hash:/etc/postfix/hash/forward.cf
transport_maps = hash:/etc/postfix/hash/transport.cf
virtual_alias_maps = hash:/etc/postfix/hash/aliases.cf
virtual_mailbox_maps = hash:/etc/postfix/hash/mailbox.cf
virtual_uid_maps = hash:/etc/postfix/hash/uids.cf
virtual_gid_maps = hash:/etc/postfix/hash/gids.cf
virtual_mailbox_base = /
...
"
And master.cf:
"
...
maildrop unix - n n - - pipe
flags=BDORhu user=courier argv=/usr/local/maildrop/bin/maildrop -w 90
- -d ${recipient} -f ${sender}
...
"
And hash:/etc/postfix/hash/transport.cf:
"
...
example.com maildrop
example2.com maildrop
...
"
And hash:/etc/postfix/hash/mailbox.cf
"
...
real...@example.com /myrealfolder
real...@example2.com /myrealfolder2
...
"
So, how it can be solved ?
iD8DBQFFAYNjF+EMwkXLsEwRAkbkAJ40QGMsqlmZSwoz1fgFotDZsbGioACfRmxq
/5hUCr+VnqwCU8jasV70SsI=
=31qg
-----END PGP SIGNATURE-----