[Dovecot] Using MailDir but local messages still save in mbox format

Steffen Kaiser skdovecot at smail.inf.fh-brs.de
Fri Sep 27 09:36:09 EEST 2013


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Thu, 26 Sep 2013, Mike Edwards wrote:

> I am using MailDir format for all my virtual users and it is working well. 
> However, if email comes in to a unix system user, it delivers in Mbox format. 
> This is mostly cron jobs that do this.    Mail addressed to my virtual users 
> goes to the MailDir locations just fine.  None of these mailboxes have ever 
> been created, they are just incorrect assumed addresses.   There should NEVER 
> be any email to username at my.host.name because everything is virtual.

Er: 1) What is done by "cron jobs"??

> passdb {
>  args = /etc/dovecot/conf.d/dovecot-sql.conf.ext
>  driver = sql
> }
> userdb {
>  args = uid=vmail gid=vmail home=/home/vmail/%d/%n
>  driver = static
> }

2) Are the mbox files for the system users located in /home/vmail/... ? 
What Unix uid/gid do they have?

3) Do you have any entry in the Dovecot logs, that let you assume that 
messages to system users are delivered through Dovecot?

4) If you do not want, that your MTA accepts messages for 
username at my.host.name reconfigure it.

- -- 
Steffen Kaiser
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (GNU/Linux)

iQEVAwUBUkUnWV3r2wJMiz2NAQKwtQf+IlXqgy2ox7gbFaBmVhz4tUpbG8QzqxEA
IyugBD3aZBNagVYBDyxcN10ZKlhxopDyExIKBxDOEd7NAgCY2BaKdwErgF5LMhu7
LX64/k36X0E+w6V7yoyQ7drqn//aKlzQw3knWiKKhvaLLqgdrz63bTarNCTMP3kX
Un6UgkIT2U5H8bLjE8gr1cNHWAgE0ZaFbRl5aPZg1/QV2D6yMnSNGVCb2YwKq8hJ
fGMub+Hv3RDjKxYcvC8EmKCV7CawdO3dwI1az8ErlQ5uqLV9fXzxmcXAL30d8NNI
8HkiIJDye/SpNPFHhco5S2dA/Hmmx3jVu3yzpn4TSWZmSgqeWfKKdQ==
=E4EC
-----END PGP SIGNATURE-----


More information about the dovecot mailing list