Re: Postfix + saslauthd SASL With Kerberos (FreeIPA) unable to send mail
On 10/02/2017 07:00 PM, Anvar Kuchkartaev wrote: > Hello I just finished setting up FreeIPA with Dovecot + Postfix + Saslauthd. > I can easily access to mails using imap via dovecot with gssapi > authentication and postfix also delivering mails very well. But I cannot send > email from postfix using gssapi authentication (plain and login > authentication working fine) because saslauthd is not specifying realm when > requesting service from freeipa domain. > > warning: SASL authentication failure: GSSAPI Error: Unspecified GSS failure. > Minor code may provide more information (No key table entry found matching > smtp/mx0.aegisnet.eu@) > > right form of request is smtp/mx0.aegisnet...@aegisnet.eu > > I googled alot but couldn't find any solution to solve this problem. How to > configure saslauthd well that it will use realm to contact with freeipa. > > Best Regards... > You may need to consider setting auth_realms and/or auth_default_realm. I saw something similar without such being set. Trever signature.asc Description: OpenPGP digital signature
Postfix + saslauthd SASL With Kerberos (FreeIPA) unable to send mail
Hello I just finished setting up FreeIPA with Dovecot + Postfix + Saslauthd. I can easily access to mails using imap via dovecot with gssapi authentication and postfix also delivering mails very well. But I cannot send email from postfix using gssapi authentication (plain and login authentication working fine) because saslauthd is not specifying realm when requesting service from freeipa domain. warning: SASL authentication failure: GSSAPI Error: Unspecified GSS failure. Minor code may provide more information (No key table entry found matching smtp/mx0.aegisnet.eu@) right form of request is smtp/mx0.aegisnet...@aegisnet.eu I googled alot but couldn't find any solution to solve this problem. How to configure saslauthd well that it will use realm to contact with freeipa. Best Regards...
file-solr
Hi, I have installed dovecot 2.2.31 and settings fts-solr, when I run command doveadm -v index -A "*" sometimes in logs I see information: doveadm(u...@domain.com): Warning: fts-solr(u...@domain.com): Mailbox INBOX UID=2028 header size is huge, truncating Does it influence the work of plugin and its functions?
Re: dovecot listening imaps external interface
> On October 2, 2017 at 7:29 PM David Mehlerwrote: > > > Hello, > > I'm trying to get dovecot to listen on specific interfaces. On the > server itself I've got webmail going so am needing imap on 143. I do > not want this on the external server interface, so I am wanting imaps > port 993 external only. The configuration looks right, but Dovecot > isn't showing anything listening on port 993 at all. > you have disabled ssl, see comment about this. > Unrelated, my public and shared folders are not working. > i added a comment about your shared folder, but no idea why your public isn't working. Try turning on mail_debug=yes and then write some explanation on how it is not working. > Can anyone suggest fixes for either of these issues? > > Thanks. > Dave. > Aki > > # 2.2.32 (dfbe293d4): /usr/local/etc/dovecot/dovecot.conf > # Pigeonhole version 0.4.20 (7cd71ba) > # OS: FreeBSD 10.3-RELEASE-p20 amd64 > auth_default_realm = domain.com > auth_mechanisms = plain login > auth_realms = domain.com domain2.com > dict { > acl = mysql:/usr/local/etc/dovecot/shared-folders.conf > sqlquota = mysql:/usr/local/etc/dovecot/quota.conf > } > first_valid_gid = 999 > first_valid_uid = 999 > hostname = mail.domain.com > imap_client_workarounds = delay-newmail tb-extra-mailbox-sep tb-lsub-flags > last_valid_gid = 999 > last_valid_uid = 999 > lda_mailbox_autocreate = yes > lda_mailbox_autosubscribe = yes > listen = 127.0.0.1 xxx.xxx.xxx.xxx > lmtp_rcpt_check_quota = yes > mail_access_groups = vmail > mail_fsync = never > mail_gid = vmail > mail_home = /home/vmail/%d/%n > mail_location = maildir:~/mail/:LAYOUT=fs:INDEX=~/mail/ > mail_plugins = acl mail_log notify quota quota_clone trash virtual welcome > zlib > mail_server_admin = mailto:postmas...@domain.com > mail_uid = vmail > mailbox_list_index = yes > managesieve_notify_capability = mailto > managesieve_sieve_capability = fileinto reject envelope > encoded-character vacation subaddress comparator-i;ascii-numeric > relational regex imap4flags copy include variables body enotify > environment mailbox date index ihave duplicate mime foreverypart > extracttext imapflags notify imapsieve vnd.dovecot.imapsieve > namespace { > hidden = no > list = yes > location = > maildir:/home/vmail/public/:LAYOUT=fs:CONTROL=~/mail/public:INDEXPVT=~/mail/public:INDEX=~/mail/public > mailbox TestFolder { > auto = subscribe > comment = Public Folder for message sharing > } > prefix = public/ > separator = / > subscriptions = yes > type = public > } > namespace { > list = yes > location = maildir:~/mail/:INDEX=~/mail/shared/%%Ld/%%Ln you want to use maildir:%%h/mail here. > prefix = shared/%%u/ > separator = / > subscriptions = yes > type = shared > } > namespace { > location = virtual:/usr/local/etc/dovecot/virtual > mailbox All { > auto = subscribe > comment = All my messages > special_use = \All > } > prefix = virtual/ > separator = / > } > namespace inbox { > inbox = yes > location = > mailbox Archive { > auto = no > special_use = \Archive > } > mailbox Archives { > auto = subscribe > special_use = \Archive > } > mailbox "Deleted Messages" { > auto = no > autoexpunge = 30 days > special_use = \Trash > } > mailbox Drafts { > auto = subscribe > special_use = \Drafts > } > mailbox Junk { > auto = no > autoexpunge = 30 days > special_use = \Junk > } > mailbox "Junk E-mail" { > auto = no > autoexpunge = 30 days > special_use = \Junk > } > mailbox Sent { > auto = subscribe > special_use = \Sent > } > mailbox "Sent Items" { > auto = no > special_use = \Sent > } > mailbox "Sent Messages" { > auto = no > special_use = \Sent > } > mailbox Spam { > auto = subscribe > autoexpunge = 30 days > special_use = \Junk > } > mailbox Trash { > auto = subscribe > autoexpunge = 30 days > special_use = \Trash > } > prefix = > separator = / > type = private > } > passdb { > args = /usr/local/etc/dovecot/dovecot-sql.conf.ext > driver = sql > } > plugin { > acl = vfile:/usr/local/etc/dovecot/global-acls:cache_secs=300 > acl_anyone = allow > acl_shared_dict = proxy::acl > imapsieve_mailbox1_before = > file:/usr/local/lib/dovecot/sieve/report-spam.sieve > imapsieve_mailbox1_causes = COPY > imapsieve_mailbox1_name = Spam > imapsieve_mailbox2_before = > file:/usr/local/lib/dovecot/sieve/report-ham.sieve > imapsieve_mailbox2_causes = COPY > imapsieve_mailbox2_from = Spam > imapsieve_mailbox2_name = * > mail_log_events = delete undelete expunge copy mailbox_delete mailbox_rename > mail_log_fields = uid box msgid size > quota = count:User quota > quota_clone_dict = proxy::sqlquota > quota_exceeded_message = Storage quota for this account has been > exceeded, please try again later. > quota_grace = 10%% > quota_status_nouser
dovecot listening imaps external interface
Hello, I'm trying to get dovecot to listen on specific interfaces. On the server itself I've got webmail going so am needing imap on 143. I do not want this on the external server interface, so I am wanting imaps port 993 external only. The configuration looks right, but Dovecot isn't showing anything listening on port 993 at all. Unrelated, my public and shared folders are not working. Can anyone suggest fixes for either of these issues? Thanks. Dave. # 2.2.32 (dfbe293d4): /usr/local/etc/dovecot/dovecot.conf # Pigeonhole version 0.4.20 (7cd71ba) # OS: FreeBSD 10.3-RELEASE-p20 amd64 auth_default_realm = domain.com auth_mechanisms = plain login auth_realms = domain.com domain2.com dict { acl = mysql:/usr/local/etc/dovecot/shared-folders.conf sqlquota = mysql:/usr/local/etc/dovecot/quota.conf } first_valid_gid = 999 first_valid_uid = 999 hostname = mail.domain.com imap_client_workarounds = delay-newmail tb-extra-mailbox-sep tb-lsub-flags last_valid_gid = 999 last_valid_uid = 999 lda_mailbox_autocreate = yes lda_mailbox_autosubscribe = yes listen = 127.0.0.1 xxx.xxx.xxx.xxx lmtp_rcpt_check_quota = yes mail_access_groups = vmail mail_fsync = never mail_gid = vmail mail_home = /home/vmail/%d/%n mail_location = maildir:~/mail/:LAYOUT=fs:INDEX=~/mail/ mail_plugins = acl mail_log notify quota quota_clone trash virtual welcome zlib mail_server_admin = mailto:postmas...@domain.com mail_uid = vmail mailbox_list_index = yes managesieve_notify_capability = mailto managesieve_sieve_capability = fileinto reject envelope encoded-character vacation subaddress comparator-i;ascii-numeric relational regex imap4flags copy include variables body enotify environment mailbox date index ihave duplicate mime foreverypart extracttext imapflags notify imapsieve vnd.dovecot.imapsieve namespace { hidden = no list = yes location = maildir:/home/vmail/public/:LAYOUT=fs:CONTROL=~/mail/public:INDEXPVT=~/mail/public:INDEX=~/mail/public mailbox TestFolder { auto = subscribe comment = Public Folder for message sharing } prefix = public/ separator = / subscriptions = yes type = public } namespace { list = yes location = maildir:~/mail/:INDEX=~/mail/shared/%%Ld/%%Ln prefix = shared/%%u/ separator = / subscriptions = yes type = shared } namespace { location = virtual:/usr/local/etc/dovecot/virtual mailbox All { auto = subscribe comment = All my messages special_use = \All } prefix = virtual/ separator = / } namespace inbox { inbox = yes location = mailbox Archive { auto = no special_use = \Archive } mailbox Archives { auto = subscribe special_use = \Archive } mailbox "Deleted Messages" { auto = no autoexpunge = 30 days special_use = \Trash } mailbox Drafts { auto = subscribe special_use = \Drafts } mailbox Junk { auto = no autoexpunge = 30 days special_use = \Junk } mailbox "Junk E-mail" { auto = no autoexpunge = 30 days special_use = \Junk } mailbox Sent { auto = subscribe special_use = \Sent } mailbox "Sent Items" { auto = no special_use = \Sent } mailbox "Sent Messages" { auto = no special_use = \Sent } mailbox Spam { auto = subscribe autoexpunge = 30 days special_use = \Junk } mailbox Trash { auto = subscribe autoexpunge = 30 days special_use = \Trash } prefix = separator = / type = private } passdb { args = /usr/local/etc/dovecot/dovecot-sql.conf.ext driver = sql } plugin { acl = vfile:/usr/local/etc/dovecot/global-acls:cache_secs=300 acl_anyone = allow acl_shared_dict = proxy::acl imapsieve_mailbox1_before = file:/usr/local/lib/dovecot/sieve/report-spam.sieve imapsieve_mailbox1_causes = COPY imapsieve_mailbox1_name = Spam imapsieve_mailbox2_before = file:/usr/local/lib/dovecot/sieve/report-ham.sieve imapsieve_mailbox2_causes = COPY imapsieve_mailbox2_from = Spam imapsieve_mailbox2_name = * mail_log_events = delete undelete expunge copy mailbox_delete mailbox_rename mail_log_fields = uid box msgid size quota = count:User quota quota_clone_dict = proxy::sqlquota quota_exceeded_message = Storage quota for this account has been exceeded, please try again later. quota_grace = 10%% quota_status_nouser = DUNNO quota_status_overquota = 552 5.2.2 Mailbox is full quota_status_success = DUNNO quota_vsizes = true quota_warning = storage=100%% quota-exceeded 100 %u quota_warning2 = storage=95%% quota-warning 95 %u quota_warning3 = storage=90%% quota-warning 90 %u quota_warning4 = storage=85%% quota-warning 85 %u quota_warning5 = storage=75%% quota-warning 75 %u sieve = ~/.dovecot.sieve sieve_before = /home/vmail/sieve/before.d sieve_default = /home/vmail/sieve/default.sieve sieve_dir = ~/sieve sieve_extensions = +notify +imapflags sieve_global_dir = /home/vmail/sieve sieve_global_extensions = +vnd.dovecot.pipe +vnd.dovecot.execute sieve_max_redirects =
Re: Quota - frustrated trying to configure ...
> On 2 Oct 2017, at 16.11, Garry Glendownwrote: >>> On 25 Sep 2017, at 21.51, Garry Glendown wrote: >>> On 25.09.2017 20:28, Sami Ketola wrote: >> >> you can change this setting: >> >> plugin { >> quota_status_overquota = "552 5.2.2 Mailbox is full” >> } >> >> to give 4xx SMTP error code instead to force the MTA to retry for up to 48 >> hours as mandated >> by the RFC. > > Except for this ... I added the entry to the 20-lmtp.conf file, but > dovecot/lmtp still uses the 552 message ... Are you sure you did put it inside plugin {} section? As looking at the code it does search for plugin/quota_status_overquota string and only if not defined it uses the default one. can you see it in 'doveconf -nS | grep quota' Sami
Re: Quota - frustrated trying to configure ...
Hi, had the quota info added to the AD in an unused field, and it seems to work ... >> On 25 Sep 2017, at 21.51, Garry Glendownwrote: >> >> >> >> On 25.09.2017 20:28, Sami Ketola wrote: On 25 Sep 2017, at 21.19, Garry Glendown wrote: doveadm(root): Error: chdir(/root/) failed: Permission denied (euid=479(dovecot) egid=478(dovecot) missing +x perm: /root, dir owned by 0:0 mode=0700) doveadm(root): Error: chdir(/root) failed: Permission denied It looks like dovecot doesn't actually attempt to look at the central maildir, but instead seems to attempt to enter the current user's homedir (which, in this case, is root). >>> >>> what was the command line you used to test this? As this looks a lot like >>> you >>> just tried to check root users quota. >> Actually no, I tried "doveadm quote recalc" without any parameters ... I >> found the command in the wiki, which - as with most other information - >> might be helpful if you already know what you are doing … >> "If your quotas are out of sync, you can use doveadm quota recalc >> command to recalculate them. “ > > I agree that this might happen. We must remember that the wiki is written > mostly by > people that have been working with dovecot for many years. I think you > referred to > this page: https://wiki2.dovecot.org/Quota so I fixed the syntax. The correct > syntax > was in the https://wiki2.dovecot.org/Tools/Doveadm/Quota page already. > >> I assumed it would recalculate all users' quotas ... using the -u >> argument with an account actually does seem to work, at least I do not >> get any errors. Also, the get command seems to be accurate from what I >> can tell. Further tests show that the system already checks the quota >> correctly ... and hard-rejects any mails to users with full quota ... >> >> So with that part already working, I have new problems to solve: >> >> * how do I keep mails from being rejected and kept in the local >> mailqueue instead? (which is the old system's behavior)? > > you can change this setting: > > plugin { > quota_status_overquota = "552 5.2.2 Mailbox is full” > } > > to give 4xx SMTP error code instead to force the MTA to retry for up to 48 > hours as mandated > by the RFC. Except for this ... I added the entry to the 20-lmtp.conf file, but dovecot/lmtp still uses the 552 message ... tnx, Garry -- PGP Fingerprint: A79F A33F 5B13 BEB7 A51D 274F F99C 3AE2 4BCB 7015
Re: [PATCH] lib-mail: Set missing invalid_syntax to TRUE
On Saturday 12 August 2017 14:36:31 Pali Rohár wrote: > route is already set to "INVALID_ROUTE" when fill_missing is true, but > setting invalid_syntax was not done yet. > --- > src/lib-mail/message-address.c |1 + > 1 file changed, 1 insertion(+) > > diff --git a/src/lib-mail/message-address.c b/src/lib-mail/message-address.c > index 29cac2b..96584e2 100644 > --- a/src/lib-mail/message-address.c > +++ b/src/lib-mail/message-address.c > @@ -153,6 +153,7 @@ static int parse_angle_addr(struct > message_address_parser_context *ctx) > if (parse_domain_list(ctx) <= 0 || *ctx->parser.data != ':') { > if (ctx->fill_missing) > ctx->addr.route = "INVALID_ROUTE"; > + ctx->addr.invalid_syntax = TRUE; > if (ctx->parser.data == ctx->parser.end) > return -1; > /* try to continue anyway */ Hi! I would like to remind this patch. -- Pali Rohár pali.ro...@gmail.com
Re: [PLUGIN] Virtual keywords (aka Gmail-like labels)
That's great news! Feel free to use my code if it may help. At first I actually thought about patching the virtual plugin itself, but it's the first time I hack into Dovecot so I thought a separated (and simpler) plugin would be better. On Mon, Oct 2, 2017 at 11:29 AM, Aki Tuomiwrote: > There is actually some request for ability to users to somehow create > virtual folders on demand, so it's a thing we are going to work on at > some point. > > Aki > > > On 02.10.2017 12:27, Daniele Ricci wrote: >> Yes, automation is the main point of the plugin :-) >> >> The problem is that creating virtual folders involves writing on the >> file system directly, which you can't do through IMAP alone. So I had >> to work within the mail server. >> >> What I really wanted to do was to create a storage driver (it seemed >> more suitable to the plugin scope), but that was much more complex and >> it will probably come in a future version. >> >> I'm also going to extend an existing Roundcube plugin for a more >> complete keyword handling. >> >> >> >> On Mon, Oct 2, 2017 at 11:17 AM, Aki Tuomi wrote: >>> You can actually create per-user virtual folders too. They don't need to >>> be global. But I see your plugin does automation, and it could write the >>> virtual file under user-writable location. >>> >>> Aki >>> >>> >>> On 02.10.2017 12:14, Daniele Ricci wrote: As a matter of fact I use the virtual plugin to achieve what I want. I create dovecot-virtual configuration files. But if I understand you correctly, your approach is a system-wide configuration. Labels are per-user and dynamic by definition. On Mon, Oct 2, 2017 at 8:24 AM, Aki Tuomi wrote: > On 01.10.2017 19:13, Daniele Ricci wrote: >> Hello list, >> I'm new here and since I've been working on a plugin lately I though >> I'd post it here. >> >> It's GPL licensed, hosted on GitHub: >> https://github.com/daniele-athome/dovecot-virtual-keywords-plugin >> >> I've been trying to find a replacement for Gmail and I already have my >> own mailserver. What I'm missing very much is labels. Since folders >> don't really match labels, I had to implement something that at least >> resembles them. >> >> I decided to use IMAP keywords since it's probably the closest thing to >> labels. >> The README in the repository pretty much describes what this plugin >> do, but basically it creates virtual mailboxes with predefined rules >> to match for labeled messages. >> >> E.g. if you set a "Urgent" keyword on any message, the plugin will >> create a "Virtual/Urgent" virtual mailbox that will have the message >> you just labeled. >> >> I'm a bit out of practice on C but I believe I managed. I've tested >> the plugin locally but I've not deployed it on my production mail >> server yet. I'd like to hear your opinions (reviews and comments are >> very welcome) and possibly find other people interested in this >> approach to discuss about it. >> >> Thanks! > You should be able to do this with virtual plugin itself, like > > /etc/dovecot/virtual/Urgent: > * >KEYWORD Urgent > > Aki >> >> > -- Daniele
Re: [PLUGIN] Virtual keywords (aka Gmail-like labels)
There is actually some request for ability to users to somehow create virtual folders on demand, so it's a thing we are going to work on at some point. Aki On 02.10.2017 12:27, Daniele Ricci wrote: > Yes, automation is the main point of the plugin :-) > > The problem is that creating virtual folders involves writing on the > file system directly, which you can't do through IMAP alone. So I had > to work within the mail server. > > What I really wanted to do was to create a storage driver (it seemed > more suitable to the plugin scope), but that was much more complex and > it will probably come in a future version. > > I'm also going to extend an existing Roundcube plugin for a more > complete keyword handling. > > > > On Mon, Oct 2, 2017 at 11:17 AM, Aki Tuomiwrote: >> You can actually create per-user virtual folders too. They don't need to >> be global. But I see your plugin does automation, and it could write the >> virtual file under user-writable location. >> >> Aki >> >> >> On 02.10.2017 12:14, Daniele Ricci wrote: >>> As a matter of fact I use the virtual plugin to achieve what I want. I >>> create dovecot-virtual configuration files. >>> But if I understand you correctly, your approach is a system-wide >>> configuration. Labels are per-user and dynamic by definition. >>> >>> >>> >>> On Mon, Oct 2, 2017 at 8:24 AM, Aki Tuomi wrote: On 01.10.2017 19:13, Daniele Ricci wrote: > Hello list, > I'm new here and since I've been working on a plugin lately I though > I'd post it here. > > It's GPL licensed, hosted on GitHub: > https://github.com/daniele-athome/dovecot-virtual-keywords-plugin > > I've been trying to find a replacement for Gmail and I already have my > own mailserver. What I'm missing very much is labels. Since folders > don't really match labels, I had to implement something that at least > resembles them. > > I decided to use IMAP keywords since it's probably the closest thing to > labels. > The README in the repository pretty much describes what this plugin > do, but basically it creates virtual mailboxes with predefined rules > to match for labeled messages. > > E.g. if you set a "Urgent" keyword on any message, the plugin will > create a "Virtual/Urgent" virtual mailbox that will have the message > you just labeled. > > I'm a bit out of practice on C but I believe I managed. I've tested > the plugin locally but I've not deployed it on my production mail > server yet. I'd like to hear your opinions (reviews and comments are > very welcome) and possibly find other people interested in this > approach to discuss about it. > > Thanks! You should be able to do this with virtual plugin itself, like /etc/dovecot/virtual/Urgent: * KEYWORD Urgent Aki >>> > >
Re: [PLUGIN] Virtual keywords (aka Gmail-like labels)
Yes, automation is the main point of the plugin :-) The problem is that creating virtual folders involves writing on the file system directly, which you can't do through IMAP alone. So I had to work within the mail server. What I really wanted to do was to create a storage driver (it seemed more suitable to the plugin scope), but that was much more complex and it will probably come in a future version. I'm also going to extend an existing Roundcube plugin for a more complete keyword handling. On Mon, Oct 2, 2017 at 11:17 AM, Aki Tuomiwrote: > You can actually create per-user virtual folders too. They don't need to > be global. But I see your plugin does automation, and it could write the > virtual file under user-writable location. > > Aki > > > On 02.10.2017 12:14, Daniele Ricci wrote: >> As a matter of fact I use the virtual plugin to achieve what I want. I >> create dovecot-virtual configuration files. >> But if I understand you correctly, your approach is a system-wide >> configuration. Labels are per-user and dynamic by definition. >> >> >> >> On Mon, Oct 2, 2017 at 8:24 AM, Aki Tuomi wrote: >>> >>> On 01.10.2017 19:13, Daniele Ricci wrote: Hello list, I'm new here and since I've been working on a plugin lately I though I'd post it here. It's GPL licensed, hosted on GitHub: https://github.com/daniele-athome/dovecot-virtual-keywords-plugin I've been trying to find a replacement for Gmail and I already have my own mailserver. What I'm missing very much is labels. Since folders don't really match labels, I had to implement something that at least resembles them. I decided to use IMAP keywords since it's probably the closest thing to labels. The README in the repository pretty much describes what this plugin do, but basically it creates virtual mailboxes with predefined rules to match for labeled messages. E.g. if you set a "Urgent" keyword on any message, the plugin will create a "Virtual/Urgent" virtual mailbox that will have the message you just labeled. I'm a bit out of practice on C but I believe I managed. I've tested the plugin locally but I've not deployed it on my production mail server yet. I'd like to hear your opinions (reviews and comments are very welcome) and possibly find other people interested in this approach to discuss about it. Thanks! >>> You should be able to do this with virtual plugin itself, like >>> >>> /etc/dovecot/virtual/Urgent: >>> * >>>KEYWORD Urgent >>> >>> Aki >> >> > -- Daniele
Re: [PLUGIN] Virtual keywords (aka Gmail-like labels)
You can actually create per-user virtual folders too. They don't need to be global. But I see your plugin does automation, and it could write the virtual file under user-writable location. Aki On 02.10.2017 12:14, Daniele Ricci wrote: > As a matter of fact I use the virtual plugin to achieve what I want. I > create dovecot-virtual configuration files. > But if I understand you correctly, your approach is a system-wide > configuration. Labels are per-user and dynamic by definition. > > > > On Mon, Oct 2, 2017 at 8:24 AM, Aki Tuomiwrote: >> >> On 01.10.2017 19:13, Daniele Ricci wrote: >>> Hello list, >>> I'm new here and since I've been working on a plugin lately I though >>> I'd post it here. >>> >>> It's GPL licensed, hosted on GitHub: >>> https://github.com/daniele-athome/dovecot-virtual-keywords-plugin >>> >>> I've been trying to find a replacement for Gmail and I already have my >>> own mailserver. What I'm missing very much is labels. Since folders >>> don't really match labels, I had to implement something that at least >>> resembles them. >>> >>> I decided to use IMAP keywords since it's probably the closest thing to >>> labels. >>> The README in the repository pretty much describes what this plugin >>> do, but basically it creates virtual mailboxes with predefined rules >>> to match for labeled messages. >>> >>> E.g. if you set a "Urgent" keyword on any message, the plugin will >>> create a "Virtual/Urgent" virtual mailbox that will have the message >>> you just labeled. >>> >>> I'm a bit out of practice on C but I believe I managed. I've tested >>> the plugin locally but I've not deployed it on my production mail >>> server yet. I'd like to hear your opinions (reviews and comments are >>> very welcome) and possibly find other people interested in this >>> approach to discuss about it. >>> >>> Thanks! >> You should be able to do this with virtual plugin itself, like >> >> /etc/dovecot/virtual/Urgent: >> * >>KEYWORD Urgent >> >> Aki > >
Re: [PLUGIN] Virtual keywords (aka Gmail-like labels)
As a matter of fact I use the virtual plugin to achieve what I want. I create dovecot-virtual configuration files. But if I understand you correctly, your approach is a system-wide configuration. Labels are per-user and dynamic by definition. On Mon, Oct 2, 2017 at 8:24 AM, Aki Tuomiwrote: > > > On 01.10.2017 19:13, Daniele Ricci wrote: >> Hello list, >> I'm new here and since I've been working on a plugin lately I though >> I'd post it here. >> >> It's GPL licensed, hosted on GitHub: >> https://github.com/daniele-athome/dovecot-virtual-keywords-plugin >> >> I've been trying to find a replacement for Gmail and I already have my >> own mailserver. What I'm missing very much is labels. Since folders >> don't really match labels, I had to implement something that at least >> resembles them. >> >> I decided to use IMAP keywords since it's probably the closest thing to >> labels. >> The README in the repository pretty much describes what this plugin >> do, but basically it creates virtual mailboxes with predefined rules >> to match for labeled messages. >> >> E.g. if you set a "Urgent" keyword on any message, the plugin will >> create a "Virtual/Urgent" virtual mailbox that will have the message >> you just labeled. >> >> I'm a bit out of practice on C but I believe I managed. I've tested >> the plugin locally but I've not deployed it on my production mail >> server yet. I'd like to hear your opinions (reviews and comments are >> very welcome) and possibly find other people interested in this >> approach to discuss about it. >> >> Thanks! > You should be able to do this with virtual plugin itself, like > > /etc/dovecot/virtual/Urgent: > * >KEYWORD Urgent > > Aki -- Daniele
Re: [PLUGIN] Virtual keywords (aka Gmail-like labels)
On 01.10.2017 19:13, Daniele Ricci wrote: > Hello list, > I'm new here and since I've been working on a plugin lately I though > I'd post it here. > > It's GPL licensed, hosted on GitHub: > https://github.com/daniele-athome/dovecot-virtual-keywords-plugin > > I've been trying to find a replacement for Gmail and I already have my > own mailserver. What I'm missing very much is labels. Since folders > don't really match labels, I had to implement something that at least > resembles them. > > I decided to use IMAP keywords since it's probably the closest thing to > labels. > The README in the repository pretty much describes what this plugin > do, but basically it creates virtual mailboxes with predefined rules > to match for labeled messages. > > E.g. if you set a "Urgent" keyword on any message, the plugin will > create a "Virtual/Urgent" virtual mailbox that will have the message > you just labeled. > > I'm a bit out of practice on C but I believe I managed. I've tested > the plugin locally but I've not deployed it on my production mail > server yet. I'd like to hear your opinions (reviews and comments are > very welcome) and possibly find other people interested in this > approach to discuss about it. > > Thanks! You should be able to do this with virtual plugin itself, like /etc/dovecot/virtual/Urgent: * KEYWORD Urgent Aki
Re: sieve script not executed?
> On 1 Oct 2017, at 13.08, Roberto Nunnariwrote: > > Hello. > > I'm trying to set up a vacation autoresponder but up to now, no success. > I'm using dovecot managedsieve to set up the new filter and to my > understanding it works correctly and it creates in the user's home the link > .dovecot.sieve that points to sieve/managesieve.sieve > > ~$ cat .dovecot.sieve > require ["date","relational","vacation"]; > # rule:[Vacanza] > if allof (currentdate :zone "+0200" :value "ge" "date" "2017-09-29", > currentdate :zone "+0200" :value "le" "date" "2017-10-09") > { >vacation :days 7 :addresses ["robi@hidden1","robi@hiden2"] "eccoci a > dopo"; > } > > Problem is that apparently this filter is completely ignored.. that is, when > a new email is delivered to those addresses, no autoresponse is sent back to > the sender. > > I also, followed the troubleshooting guide here: > https://wiki2.dovecot.org/Pigeonhole/ManageSieve/Troubleshooting and > everything works as expected. > > What is the problem? What am I missing? You are not loading sieve plugin in your mail_plugins setting. https://wiki2.dovecot.org/Pigeonhole/Sieve/Configuration Sami