Displaying 20 results from an estimated 1000 matches similar to: "Sieve: carry global variables from sieve_before to user sieve scripts"
2016 Aug 08
2
custom mail_location detection for dovecot lda
On 08/08/2016 05:34 PM, Stephan Bosch wrote:
> Op 8-8-2016 om 17:27 schreef Alexander 'Leo' Bergolth:
>> Is it possible to do something like "post-login scripting" to detect and
>> set a per-user custom mail location for dovecot LDA delivery?
>>
> You could use /usr/lib/dovecot/dovecot-lda -omail_location=<location>
Thanks for the hint.
But it seems
2016 Aug 08
2
custom mail_location detection for dovecot lda
Hi!
Is it possible to do something like "post-login scripting" to detect and
set a per-user custom mail location for dovecot LDA delivery?
I tried to use a wrapper-script around dovecot-lda that sets the
environment variables MAIL="..." and USERDB_KEYS="MAIL" just like
overriding userdb fields may be done using imap postlogin scripts, but
unfortunately this
2016 Oct 17
2
sieve duplicate locking
Hi!
Does the duplicate sieve plugin do any locking to avoid duplicate
parallel delivery of the same message?
I sometimes experience duplicate mail delivery of messages with the same
message-id, despite the use of a sieve duplicate filter. According to
the log files, those messages are delivered in the same second by two
parallel dovecot-lda processes. (Duplicate filtering works fine in all
other
2014 May 07
2
Index cache errors worse with 2.2.x
Hi!
I am getting "Cached message size smaller than expected" errors since dovecot-2.1.x.
Until now, I thought that those errors don't do any harm, I assumed that the cache will just be rebuilt after the error had been detected.
However, since dovecot 2.2.x (I tried 2.2.7 and 2.2.10), the errors sometimes seem to actually cause mail access to fail.
With dovecot-2.1.1, only the
2007 Dec 01
4
namespaces, shared mailboxes
Hi!
I'd like to provide shared mailboxes with maildir that should appear
like 'Shared/<mailboxname>' to the clients.
Using the namespace configuration below, everything works fine, exept
one thing: Mail clients (only tested with Thunderbird) won't allow to
put mails directly in 'Shared/mailboxname' (the folder it is greyed
out). You currently have to create
2009 Nov 23
2
shared mailboxes using namespaces in 1.2
Hi!
I've been using shared mailbox trees using maildir, unix permissions and
separate namespaces per shared tree since dovecot 1.0.
However now that I've upgraded to 1.2.8, I cannot create subfolders
anymore. The server responds with "NO Invalid mailbox name:
test/testsub". The hierarchy separator for the namespaces is / because I
am mixing maildir and mbox namespaces and
2012 May 13
1
userdb namespace settings bug
Hi!
Since upgrading to 2.1.6, setting namespaces via environment variables
using a imap-postlogin-script *sometimes* doesn't work.
Sometimes, the prefix of a namespace isn't set correctly, but is set to
an empty string, which leads to the following error:
namespace configuration error: Duplicate namespace prefix: ""
However, the environment is set correctly, the error seems to
2016 Dec 05
3
imapsieve environment variables missing?
On 2016-12-05 06:13, Stephan Bosch wrote:
> Op 5-12-2016 om 14:32 schreef MRob:
>> On 2016-12-05 04:38, Stephan Bosch wrote:
>>> Op 5-12-2016 om 13:28 schreef MRob:
>>>> RFC6785 says imap.user and imap.email environment variables should
>>>> be made available but I can't access them no matter what I try. Are
>>>> they not implemented
2015 Dec 30
2
sieve-filter to script fails with SHUT_WR
Trying to make vnd.dovecot.filter to exchange an email with my script.
(I have a vnd.dovecot.pipe script working, so I'm pretty sure it's not
the configuration...) I'm passing the email using stdin/stdout and
_not_ using sockets.
My script receives the email and processes it, but the filter process fails:
lda(<username>): Error:
2016 Dec 05
2
imapsieve environment variables missing?
>>>> I don't know how I managed to compile only using direct access of
>>>> ${imap.user} before since now I get an unknown namespace error on my
>>>> test script.
>>>>
>>>> But doing it this way compiles:
>>>>
>>>> require ["environment", "variables", "vnd.dovecot.debug"];
2018 Aug 16
2
imapsieve: Change message flags on COPY
Hello, I'm trying to do a simple thing using imapsieve, I want messages to be marked as read when moved to certain folders (Trash, Archive, Spam).
All the set up to run the imapsieve script works perfectly, but I'm having trouble to make changes effective. As the RFC says, IMAP messages are immutable, but it's not clear to me reading the specs if this applies to IMAP flags too, as one
2016 Dec 05
2
imapsieve environment variables missing?
On 2016-12-05 07:22, Stephan Bosch wrote:
> Op 5-12-2016 om 16:10 schreef MRob:
>> On 2016-12-05 06:13, Stephan Bosch wrote:
>>> Op 5-12-2016 om 14:32 schreef MRob:
>>>
>>> Could you show me your full script? I am mainly interested in the
>>> require statements involved.
>>
>> I don't know how I managed to compile only using direct
2008 Jan 04
1
Updates and Fixes on Trunk
Hi,
I am pushing some updates and fixes that addresses much of the issues
that we talked about since last couple of days.
1. Use configuration option :debug_log: false to disable
backgroundrb_debug.log.
2. As shown below, use lazy_load option to disable aggressive loading
of models ( and somewhat stupid too).
3. MiddleMan.delete_worker(:worker => :foo_worker) will now ABORT the
worker, it
2016 Dec 05
1
imapsieve environment variables missing?
On 2016-12-05 15:26, Stephan Bosch wrote:
> Op 12/6/2016 om 12:23 AM schreef MRob:
>>>>>> I don't know how I managed to compile only using direct access of
>>>>>> ${imap.user} before since now I get an unknown namespace error on
>>>>>> my
>>>>>> test script.
>>>>>>
>>>>>> But doing
2016 Dec 05
2
imapsieve environment variables missing?
On 2016-12-05 04:38, Stephan Bosch wrote:
> Op 5-12-2016 om 13:28 schreef MRob:
>> RFC6785 says imap.user and imap.email environment variables should be
>> made available but I can't access them no matter what I try. Are they
>> not implemented because vnd.dovecot.environment already provides the
>> username? (which does work for me)
>>
>> If
2018 Jun 30
1
How to log a Sieve match in Dovecot debug_log
Hi Volker!
This is what I wanted to avoid with my question. I reported my script with only three word just to make an example but my list is quite longer than this. Let's suppose a list of 30 or 40 words... 30 or 40 rules? Possible but very unconfortable to manage.
A more compact version of the script could be this:
-- the script begins ------------
require ["fileinto",
2011 Oct 31
2
setting namespaces using script-login environment in 2.0
Hi!
With dovecot 1.x, I was using a post-login script to dynamically add
shared mailboxes using NAMESPACE_X.. environment variables, based on
filesystem permissions:
After login, the post-login script was executed with user permissions
(mail_drop_priv_before_exec=yes). It added all subdirectories of
"/var/spool/mail/Shared" as namespaces for which the user had write
permissions. E.g.:
2018 Jun 30
4
How to log a Sieve match in Dovecot debug_log
Hi everybody!
I manage a mail server running Dovecot 2.2.21 with Pigeonhole 0.4.10. I successfully configured sieve and use it also to filter some spam messages. Here is one of the script I use to filter messages on the basis of prohibited words in message body.
As you can see, the last command writes to the log the action of this script.
-- the script begins ------------
require
2010 Feb 13
2
deliver and cloning file permissions
Hi!
I'd like to use deliver (dovecot-1.2.10) as LDA to deliver mails to my
local users on my postfix-system.
However, deliver tries to copy the filesystem permissions of the
mail-spool-files to the user's index files, which doesn't work, since
the files in /var/mail/ belong to the group 'mail'.
Feb 13 00:21:19 leo-x61 dovecot: deliver(leo):
2013 Jun 11
2
Connection closed by foreign host.
i tried the latest dev version 2.2.2-0~auto54 for ubuntu and when i do some
testing i got a connection closed.
the commands are issued through telnet:
root at i920:~# telnet localhost imap
Trying 127.0.0.1...
Connected to localhost.
Escape character is '^]'.
* OK [CAPABILITY IMAP4rev1 LITERAL+ SASL-IR LOGIN-REFERRALS ID ENABLE
IDLE STARTTLS AUTH=PLAIN AUTH=LOGIN] Dovecot ready.
1 LOGIN