Yes, the services option "Receiving mails for this account on mail server" in user profile is unchecked.
Here the SQL commands result:
| username | password | name | language | storagebasedirectory | storagenode | maildir | quota | domain | transport | department | rank | employeeid | isadmin | isglobaladmin | enablesmtp | enablesmtpsecured | enablepop3 | enablepop3secured | enableimap | enableimapsecured | enabledeliver | enablelda | enablemanagesieve | enablemanagesievesecured | enablesieve | enablesievesecured | enableinternal | enabledoveadm | enablelib-storage | lastlogindate | lastloginipv4 | lastloginprotocol | disclaimer | passwordlastchange | created | modified | expired | active | local_part | bytes | messages | allowedsenders | rejectedsenders | allowedrecipients | rejectedrecipients | enablelmtp | settings |
+--------------------------+------------------------------------+--------------+----------+----------------------+-------------+---------------------------+-------+--------------+-----------+------------+--------+------------+---------+---------------+------------+-------------------+------------+-------------------+------------+-------------------+---------------+-----------+-------------------+--------------------------+-------------+--------------------+----------------+---------------+-------------------+---------------------+---------------+-------------------+------------+---------------------+---------------------+---------------------+---------------------+--------+-------------+-------+----------+----------------+-----------------+-------------------+--------------------+------------+----------+
| gfung@domain.com | $hashedpassword | G Fung | en_US | /var/vmail | vmail1 | domain.com/gfung/ | 7168 | domain.com | | | normal | | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 0000-00-00 00:00:00 | 0 | | | 2014-07-02 01:19:45 | 2012-12-12 00:00:00 | 2014-08-14 09:51:35 | 9999-12-31 00:00:00 | 1 | gfung | 0 | 0 | | | | | 1 |
File content: /usr/local/etc/dovecot/dovecot-mysql.conf:
driver = mysql
default_pass_scheme = CRYPT
connect = host=127.0.0.1 dbname=vmail user=vmail password=encrypedpassword
# Required by 'doveadm mailbox ...'.
iterate_query = SELECT username AS user FROM mailbox
password_query = SELECT password FROM mailbox WHERE username='%u' AND active='1'
user_query = SELECT \
CONCAT(mailbox.storagebasedirectory, '/', mailbox.storagenode, '/', mailbox.maildir) AS home, \
CONCAT('*:bytes=', mailbox.quota*1048576) AS quota_rule \
FROM mailbox,domain \
WHERE mailbox.username='%u' \
AND mailbox.domain='%d' \
AND mailbox.`enable%Ls%Lc`=1 \
AND mailbox.domain=domain.domain \
AND domain.backupmx=0 \
AND domain.active=1 \
AND mailbox.active=1