[Dovecot] Adding mail to dovecot directories
I run mailagent (which is similar to procmail) to filter all my incoming messages. I would like mailagent to put these messages directly into my dovecot server.
What I'm doing right now is to create files (one per message) in the "~/mail/.folder-name/new" directory, or in the case of INBOX, in the "~/.mail/new" directory. I have ~/.mail as my maildir.
The files created have MH style names: "1", "2", etc. and the names are often reused throughout the day. That is, the file named "1" might be created dozens of times per day with new contents.
Is this the right way?
Regards, Chris Dean
Chris Dean ctdean@sokitomi.com writes:
I run mailagent (which is similar to procmail) to filter all my incoming messages. I would like mailagent to put these messages directly into my dovecot server.
What I'm doing right now is to create files (one per message) in the "~/mail/.folder-name/new" directory, or in the case of INBOX, in the "~/.mail/new" directory. I have ~/.mail as my maildir.
The files created have MH style names: "1", "2", etc. and the names are often reused throughout the day. That is, the file named "1" might be created dozens of times per day with new contents.
Is this the right way?
No, it isn't.
Please check both of these documents, the original
http://www.qmail.org/man/man5/maildir.html
and the updated unique identifier:
http://cr.yp.to/proto/maildir.html
-- Matthias Andree
Encrypted mail welcome: my GnuPG key ID is 0x052E7D95 (PGP/MIME preferred)
Matthias Andree matthias.andree@gmx.de writes:
Please check both of these documents, the original
http://www.qmail.org/man/man5/maildir.html
and the updated unique identifier:
Thanks! Just what I needed.
Regards, Chris Dean
participants (2)
-
Chris Dean
-
Matthias Andree