I found the problem. I was missing virtual_mailbox_domains.
On Tue, Oct 30, 2012 at 7:29 PM, Roman Gelfand <rgelfa...@gmail.com> wrote: > My topology is as follows.. > > 1. Postfix mail gateway which ultimately invokes dspam content filter > which relays the email to backend mailbox server. > 2. The backend mailbox server runs both postfix and dovecot. > > It appears it tried to send email to itself. As per configuration > below, a dovecot delivery agent should be called. Why is it not being > called? > > This is the message I am getting on the backend mailbox server.. > > Oct 30 18:08:45 post postfix/qmgr[3429]: A074078559: > from=<sec...@relay1.domain.com>, size=2447, nrcpt=1 (queue active) > Oct 30 18:08:45 post postfix/smtp[3497]: A074078559: > to=<u...@domain.com>, relay=none, delay=571, delays=571/0.06/0.01/0, > dsn=5.4.6, status=bounced (mail for domain.com loops back to myself) > Oct 30 18:08:45 post postfix/cleanup[3500]: A4CB478557: > message-id=<20121030220845.a4cb478...@post.domain.com> > Oct 30 18:08:45 post postfix/qmgr[3429]: A4CB478557: from=<>, > size=4255, nrcpt=1 (queue active) > > main.cf > > dovecot_destination_recipient_limit = 1 > mailbox_transport = dovecot > > > master.cf > > dovecot unix - n n - - pipe > flags=DRhu user=vmail:mail argv=/usr/lib/dovecot/deliver -f > ${sender} -d ${recipient} > > > > Thanks in advance