Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I am setting up a mail server using postfix and dovecot. I am using virtual users that are stored in a sql database. I've checked the mail queue is empty and the logs show that the mail is received but not forwarded. I've posted the relevant parts of the and below:

virtual_mailbox_domains = mysql:/etc/postfix/
virtual_mailbox_maps = mysql:/etc/postfix/
virtual_alias_maps = mysql:/etc/postfix/,mysql:/etc/postfix/
virtual_transport = dovecot
dovecot_destination_recipient_limit = 1

dovecot   unix  -       n       n       -       -       pipe
  flags=DRhu user=vmail:vmail argv=/usr/local/libexec/dovecot/deliver -f ${sender} -d ${recipient}

I've also tried replacing /usr/local/libexec/dovecot/deliver with a shell script which would log if the command executed, but no log is saved.

share|improve this question
What do the logs mention? Does it mention postfix handing over the mail to dovecot? And does dovecot log anything at all after that? Could you show an excerpt from the logs? – arjarj Jul 11 '11 at 19:58
up vote 0 down vote accepted

look there, you might be found some step you forgot.

How to install Postfix and Dovecot

Look on the step on the right menu to find what you missed

I'm assuming you have a CentOS, but if it's not your distro then look on the other os menu.

share|improve this answer
I looked at the directions for Ubuntu and I have pretty much everything that is relevant for my configuration. The link you posted doesn't use Dovecot LDA so it isn't really covering what I need. I really would just like to figure out a more verbose way of seeing whats going on so I can find out why dovecot isn't executing. – devnill Jul 11 '11 at 19:46
That's a shame that this link didn't help you. Have you try looking the log? – Anarko_Bizounours Jul 12 '11 at 6:46

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.