Delivering email to Maildir PreINBOX
Hi all,
I have a running dovecot with: $ dovecot -n # 2.2.18: /etc/dovecot/dovecot.conf # OS: Linux 4.1.0-x86_64-linode59 x86_64 Fedora release 22 (Twenty Two) ext4 auth_debug = yes auth_mechanisms = plain login digest-md5 cram-md5 auth_verbose = yes auth_verbose_passwords = yes default_internal_user = root imap_client_workarounds = delay-newmail tb-extra-mailbox-sep mail_debug = yes mail_location = maildir:/home/vmail/%d/%n/Maildir maildir_very_dirty_syncs = yes mbox_write_locks = fcntl namespace { inbox = yes location = prefix = INBOX. separator = . type = private } namespace inbox { location = mailbox Drafts { special_use = \Drafts } mailbox Junk { special_use = \Junk } mailbox Sent { special_use = \Sent } mailbox "Sent Messages" { special_use = \Sent } mailbox Trash { special_use = \Trash } prefix = } passdb { args = /etc/dovecot/dovecot-sql.conf.ext driver = sql } postmaster_address = pmatos protocols = imap quota_full_tempfail = yes service auth { unix_listener /var/spool/postfix/private/auth { group = postfix mode = 0666 user = postfix } unix_listener auth-master { mode = 0600 user = vmail } user = $default_internal_user } ssl = required ssl_cert = </etc/pki/dovecot/certs/dovecot.pem ssl_key = </etc/pki/dovecot/private/dovecot.pem userdb { args = uid=5000 gid=5000 home=/home/vmail/%d/%n allow_all_users=yes driver = static } protocol lda { auth_socket_path = /var/run/dovecot/auth-master deliver_log_format = msgid=%m: %$ log_path = /home/vmail/dovecot-deliver.log } protocol imap { mail_max_userip_connections = 100 }
I started to filter my email with imapfilter running on the same host as dovecot. I would therefore like to deliver email to a folder called PreINBOX so that imapfilter then sorts the email and ends up delivering only the useful email to INBOX.
How can I change the name of the inbox dovecot delivers to?
Best,
-- Paulo Matos
On 08/19/2015 10:45 PM, Paulo Matos wrote:
Hi all,
I have a running dovecot with: $ dovecot -n # 2.2.18: /etc/dovecot/dovecot.conf [...] I started to filter my email with imapfilter running on the same host as dovecot. I would therefore like to deliver email to a folder called PreINBOX so that imapfilter then sorts the email and ends up delivering only the useful email to INBOX.
How can I change the name of the inbox dovecot delivers to?
Best,
You can't change the name of the INBOX - the INBOX is always the INBOX. But you can choose the name of the target mailbox.
I don't know "imapfilter". I'd use <http://wiki2.dovecot.org/Pigeonhole/Sieve> for mail filtering.
Regards, Pascal
On 19/08/15 22:11, Pascal Volk wrote:
On 08/19/2015 10:45 PM, Paulo Matos wrote:
Hi all,
I have a running dovecot with: $ dovecot -n # 2.2.18: /etc/dovecot/dovecot.conf [...] I started to filter my email with imapfilter running on the same host as dovecot. I would therefore like to deliver email to a folder called PreINBOX so that imapfilter then sorts the email and ends up delivering only the useful email to INBOX.
How can I change the name of the inbox dovecot delivers to?
Best,
You can't change the name of the INBOX - the INBOX is always the INBOX. But you can choose the name of the target mailbox.
How do I do that?
I don't know "imapfilter". I'd use <http://wiki2.dovecot.org/Pigeonhole/Sieve> for mail filtering.
Thanks, I will take a look at Sieve.
Regards, Paulo
Regards, Pascal
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
On Wed, 19 Aug 2015, Paulo Matos wrote:
You can't change the name of the INBOX - the INBOX is always the INBOX. But you can choose the name of the target mailbox.
How do I do that?
Depends on your way to deliver messages. With Dovecot LDA you could use the -m option.
I don't know "imapfilter". I'd use <http://wiki2.dovecot.org/Pigeonhole/Sieve> for mail filtering.
Thanks, I will take a look at Sieve.
With Sieve:
require ["fileinto"]; fileinto "PreINBOX";
Steffen Kaiser -----BEGIN PGP SIGNATURE----- Version: GnuPG v1
iQEVAwUBVdWFPHz1H7kL/d9rAQJjKQf/csSrfXGBuYcwoFla6gICePndFZpa3HkB MszL6m3FKu3SVL+Y8EB/AR+zR8C1zfRmZPQjwnGX4DRASTk4ftWX92jDnfcmPaAV 0W07BsgZWsKk1epVP6xNy1155tI73MMJSDqTNEUvFgKWa/EjSEdICkt0x9AxWI9H oI7WIPl37xqx2QRFCHH9NbUn6Z2pMNrneUBl96dPT33QZzM59Nxfvmo7oYI8SwU/ zChmv277GpF6fwgrWXryiOGr+LfXoY9uNB5YZKuK+gEOBC11/j+ypVubvds53pyV 8S430nhnY/h4j7YpihaUpjXUKFFUIhbJ/wNZpzX/9Yeumg/+JAjgGw== =cSxB -----END PGP SIGNATURE-----
On Thu, Aug 20, 2015 at 8:41 am, Steffen Kaiser < skdovecot@smail.inf.fh-brs.de [skdovecot@smail.inf.fh-brs.de] > wrote: -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
On Wed, 19 Aug 2015, Paulo Matos wrote:
You can't change the name of the INBOX - the INBOX is always the INBOX. But you can choose the name of the target mailbox.
How do I do that?
Depends on your way to deliver messages. With Dovecot LDA you could use the -m option.
Thanks Steffen, How do you pass an option to dovecot lda. I can't really find out where it is called. There's a 15-lda file but doesnt have options to call the lda with. Thanks.
I don't know "imapfilter". I'd use <http://wiki2.dovecot.org/Pigeonhole/Sieve> for mail filtering.
Thanks, I will take a look at Sieve.
With Sieve:
require ["fileinto"]; fileinto "PreINBOX";
Steffen Kaiser -----BEGIN PGP SIGNATURE----- Version: GnuPG v1
iQEVAwUBVdWFPHz1H7kL/d9rAQJjKQf/csSrfXGBuYcwoFla6gICePndFZpa3HkB MszL6m3FKu3SVL+Y8EB/AR+zR8C1zfRmZPQjwnGX4DRASTk4ftWX92jDnfcmPaAV 0W07BsgZWsKk1epVP6xNy1155tI73MMJSDqTNEUvFgKWa/EjSEdICkt0x9AxWI9H oI7WIPl37xqx2QRFCHH9NbUn6Z2pMNrneUBl96dPT33QZzM59Nxfvmo7oYI8SwU/ zChmv277GpF6fwgrWXryiOGr+LfXoY9uNB5YZKuK+gEOBC11/j+ypVubvds53pyV 8S430nhnY/h4j7YpihaUpjXUKFFUIhbJ/wNZpzX/9Yeumg/+JAjgGw== =cSxB -----END PGP SIGNATURE-----
On Fri, Aug 21, 2015 at 4:25 PM, Paulo Matos <paulo@matos-sorge.com> wrote:
On Thu, Aug 20, 2015 at 8:41 am, Steffen Kaiser < skdovecot@smail.inf.fh-brs.de [skdovecot@smail.inf.fh-brs.de] > wrote: -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
On Wed, 19 Aug 2015, Paulo Matos wrote:
You can't change the name of the INBOX - the INBOX is always the INBOX. But you can choose the name of the target mailbox.
How do I do that?
Depends on your way to deliver messages. With Dovecot LDA you could use the -m option.
Thanks Steffen, How do you pass an option to dovecot lda. I can't really find out where it is called. There's a 15-lda file but doesnt have options to call the lda with. Thanks.
I don't know "imapfilter". I'd use <http://wiki2.dovecot.org/Pigeonhole/Sieve> for mail filtering.
Thanks, I will take a look at Sieve.
With Sieve:
require ["fileinto"]; fileinto "PreINBOX";
Steffen Kaiser -----BEGIN PGP SIGNATURE----- Version: GnuPG v1
iQEVAwUBVdWFPHz1H7kL/d9rAQJjKQf/csSrfXGBuYcwoFla6gICePndFZpa3HkB MszL6m3FKu3SVL+Y8EB/AR+zR8C1zfRmZPQjwnGX4DRASTk4ftWX92jDnfcmPaAV 0W07BsgZWsKk1epVP6xNy1155tI73MMJSDqTNEUvFgKWa/EjSEdICkt0x9AxWI9H oI7WIPl37xqx2QRFCHH9NbUn6Z2pMNrneUBl96dPT33QZzM59Nxfvmo7oYI8SwU/ zChmv277GpF6fwgrWXryiOGr+LfXoY9uNB5YZKuK+gEOBC11/j+ypVubvds53pyV 8S430nhnY/h4j7YpihaUpjXUKFFUIhbJ/wNZpzX/9Yeumg/+JAjgGw== =cSxB -----END PGP SIGNATURE-----
-- Larry Rosenman http://www.lerctr.org/~ler Phone: +1 214-642-9640 (c) E-Mail: larryrtx@gmail.com US Mail: 7011 W Parmer Ln, Apt 1115, Austin, TX 78729-6961
participants (4)
-
Larry Rosenman
-
Pascal Volk
-
Paulo Matos
-
Steffen Kaiser