You must set
default_destination_recipient_limit = 1
in your /etc/postfix/main.cf
Matt wrote:
I have a postfix+amavis-new+courier-imap+maildrop+mysql instalation.
The problem is that maildrop will only deliver to one recipient and
that's it! This is when there are multiple recipients in the To:
header. Of course postfix delivers to each recipient seperately, so
this shouldn't make a difference to maildrop. The message is delivered
to the first recip, but no others. The postfix logs show that the
connections were made via a pipe, and shows that status=sent for all
recipients. No errors from maildrop, but no delivery. The individual
recipient maildrop log files show no signs of delivery. The mysql log
shows that maildrop is only making *one* connection, and selecting
only the row for the first recipient. The messages are delivered fine
if sent via the virtual or local transports.
So where are the rest of these messages going? What's going on here?
Is this a bug, or am I missing something realy obvious.
Here are some of the log entries after an email sent to both
use...@tdom1.not, and use...@tdom1.not (obviously test domains):
---------------------------------------------------------
####### maillog ##########
May 15 20:13:46 mailhub1 postfix/pipe[19641]: A15E5D577:
to=<use...@tdom1.not>, relay=maildrop, delay=1, status=sent
(mailhub1.mydomain.net)
May 15 20:13:46 mailhub1 postfix/pipe[19641]: A15E5D577:
to=<use...@tdom1.not>, relay=maildrop, delay=1, status=sent
(mailhub1.mydomain.net)
####### MySQL log ##########
30 Connect vuser@localhost on
30 Init DB maildb2
30 Query SELECT email, uid, gid, home, maildir, quota,
deliverok FROM users WHERE email = "use...@tdom1.com"
30 Quit
Any Ideas? Thanks in advance for any help here.