Displaying 20 results from an estimated 30000 matches similar to: "Sieve extprograms socket vs. direct execution"
2015 Apr 30
0
Failed running extprograms execute via socket - fatal recv(MSG_PEEK) failed disconnected
> I switched from running my extprograms execute script directly
> to running with dovecot socket. Log shows only this
>
> dovecot: lmtp(test at example.com): Debug: wdi0Tb5VPlGfPnEAM/SpMA: sieve: action execute: running program: test
> dovecot: lmtp(test at example.com): Debug: Namespace : Using permissions from /vmail/example.com/test: mode=0770 gid=default
> dovecot: script:
2015 Apr 30
1
Failed running extprograms execute via socket - fatal recv(MSG_PEEK) failed disconnected
On 4/30/2015 8:50 PM, E.B. wrote:
>> I switched from running my extprograms execute script directly
>> to running with dovecot socket. Log shows only this
>>
>> dovecot: lmtp(test at example.com): Debug: wdi0Tb5VPlGfPnEAM/SpMA: sieve: action execute: running program: test
>> dovecot: lmtp(test at example.com): Debug: Namespace : Using permissions from
2015 May 05
0
Failed running extprograms execute via socket - fatal recv(MSG_PEEK) failed disconnected
> >> I switched from running my extprograms execute script directly
> >> to running with dovecot socket. Log shows only this
> >>
> >> dovecot: lmtp(test at example.com): Debug: wdi0Tb5VPlGfPnEAM/SpMA: sieve: action execute: running program: test
> >> dovecot: lmtp(test at example.com): Debug: Namespace : Using permissions from /vmail/example.com/test:
2015 May 03
2
Failed running extprograms execute via socket - fatal recv(MSG_PEEK) failed disconnected
On 4/30/2015 8:50 PM, E.B. wrote:
>> I switched from running my extprograms execute script directly
>> to running with dovecot socket. Log shows only this
>>
>> dovecot: lmtp(test at example.com): Debug: wdi0Tb5VPlGfPnEAM/SpMA: sieve: action execute: running program: test
>> dovecot: lmtp(test at example.com): Debug: Namespace : Using permissions from
2015 May 05
0
Failed running extprograms execute via socket - fatal recv(MSG_PEEK) failed disconnected
> > > Last two changes should fix this:
> >
> >
> > Not yet -- this may be unrelated(?) but here is what I have
> > after installing the newest source package:
> >
> > Error: Couldn't load required plugin /usr/local/lib/dovecot/lib90_sieve_plugin.so:
> > dlopen() failed: /usr/local/lib/dovecot/lib90_sieve_plugin.so: undefined symbol:
> >
2015 May 05
1
Failed running extprograms execute via socket - fatal recv(MSG_PEEK) failed disconnected
E.B. schreef op 5-5-2015 om 9:40:
>>>> Last two changes should fix this:
>>>
>>> Not yet -- this may be unrelated(?) but here is what I have
>>> after installing the newest source package:
>>>
>>> Error: Couldn't load required plugin /usr/local/lib/dovecot/lib90_sieve_plugin.so:
>>> dlopen() failed:
2013 Dec 13
1
File descriptor leak in sieve-extprograms
I've tried to use sieve-filter for my inbox (~6000 messages). It failed after
some work with this backtrace:
sieve-filter(kas): Error: socketpair() failed: Too many open files
sieve-filter(kas): Panic: file script-client-local.c: line 155 (script_client_local_disconnect): assertion failed: (pid >= 0)
sieve-filter(kas): Error: Raw backtrace: /usr/lib/dovecot/libdovecot.so.0(+0x66a71)
2017 Apr 09
0
Pigeonhole Sieve Extprograms Plugin
Just discovered the Pigeonhole Sieve Extprograms plugin (https://wiki2.dovecot.org/Pigeonhole/Sieve/Plugins/Extprograms <https://wiki2.dovecot.org/Pigeonhole/Sieve/Plugins/Extprograms>)?
I currently have Postfix configured to run a script to store all incoming messages into a Mysql DB and a batch job that retrieves the messages in the DB, processes them and delivers them to the
2015 Apr 27
3
Failed running extprograms execute via socket - fatal recv(MSG_PEEK) failed disconnected
I switched from running my extprograms execute script directly
to running with dovecot socket. Log shows only this
dovecot: lmtp(test at example.com): Debug: wdi0Tb5VPlGfPnEAM/SpMA: sieve: action execute: running program: test
dovecot: lmtp(test at example.com): Debug: Namespace : Using permissions from /vmail/example.com/test: mode=0770 gid=default
dovecot: script: Fatal: recv(MSG_PEEK) failed:
2012 Nov 13
1
sieve-extprograms strips Return-Path headers
The sieve-extprograms extension strips Return-Path headers before
passing mail off to the external program. The patch to remove this
behavious is trivial (and attached), but since it appears to be
deliberate I felt I should investigate further.
I believe this is basically a cut-and-paste error. The code to strip
Return-Path has been there since the sieve-pipe plugin for Dovecot 1.x,
and I believe
2015 Mar 11
1
Sieve security: Any way to protect credentials used in extprograms?
I need to connect to a database in a script called using Sieve
extprograms plugin. When delivering mail, Sieve is running
as the mail recipient user, which means any files, either the
sieve script or the extprograms it invokes, are run under that
user's permissions.
What would be a way to hide the database credentials in a
more restricted file? I can think of...
* Store the credentials in
2015 May 05
4
Failed running extprograms execute via socket - fatal recv(MSG_PEEK) failed disconnected
> > Last two changes should fix this:
>
>
> Not yet -- this may be unrelated(?) but here is what I have
> after installing the newest source package:
>
> Error: Couldn't load required plugin /usr/local/lib/dovecot/lib90_sieve_plugin.so:
> dlopen() failed: /usr/local/lib/dovecot/lib90_sieve_plugin.so: undefined symbol:
> mail_deliver_ctx_get_log_var_expand_table
2014 Mar 10
1
Pigeonhole Sieve Extprograms dovecot path?
trying to install Pigeonhole Sieve Extprograms
how do I determine what is correct path for dovecot.config ?
I did the
hg clone http://hg.rename-it.nl/pigeonhole-0.3-sieve-extprograms/
'./autogen.sh' seemed to have worked, but './configure' fails with
# ./configure --with-dovecot=/usr/local/lib/dovecot
...
checking whether to build static libraries... yes
checking for
2017 Apr 21
0
Pipe to PHP script using Sieve Extprograms
Op 4/21/2017 om 6:08 PM schreef Thomas:
> Hello,
>
> I seem to be having some issues trying to setup a pipe to PHP scripts
> using Sieve Extprograms. I am trying to allow each individual mailbox
> to setup its own PHP pipe rules (in other words, each user should be
> able to pipe incoming emails to a user defined PHP script).
>
> I have the following lines in my main Sieve
2015 Mar 08
0
Sieve can't find Extprograms or Extdata
Also, of course I have entered this in 90-plugins.conf
plugin {
seive_plugins = sieve_extdata sieve_extprograms
sieve_extensions = +vnd.dovecot.filter +vnd.dovecot.extdata
}
And enabled sieve for lmtp (as I noted, I have tested that simple
sieve scripting is working OK)
protocol lmtp {
mail_plugins = " sieve"
}
> On a new install-from-source with Dovecot 2.2.16rc1,
>
2015 Mar 08
2
Sieve can't find Extprograms or Extdata
Hi,
On a new install-from-source with Dovecot 2.2.16rc1, Piegeonhole 0.4.6 and a grab of the newest Extdata code, I confirmed basic Sieve functionality is working (made a simple sieve script with a test on message subject resulting in a fileinto action).
But I cannot get Sieve to see Extdata or Extprograms. sievec reports "Warning: sieve: ignored unknown extension
2017 Apr 21
2
Pipe to PHP script using Sieve Extprograms
Hello,
I seem to be having some issues trying to setup a pipe to PHP scripts
using Sieve Extprograms. I am trying to allow each individual mailbox to
setup its own PHP pipe rules (in other words, each user should be able
to pipe incoming emails to a user defined PHP script).
I have the following lines in my main Sieve configuration file
(/etc/dovecot/conf.d/90-sieve.conf):
2015 May 05
0
Failed running extprograms execute via socket - fatal recv(MSG_PEEK) failed disconnected
> > I went to go verifying in dovecot-pigeonhole that the two new patches are there
> > by manual inspect the source files you patched. I found only the first one, not
> > http://hg.rename-it.nl/dovecot-2.2-pigeonhole/rev/1eb0362461f0 maybe this
> > because I downloaded a snap shot link at the top that wasn't built with the
> > 2nd change?
> >
> > I
2015 Apr 27
4
Sieve extprograms ?not exexuting?
Hello, I was testing the extprograms plugin. I think I had it working
in the past, but many things have changed since then, so no use
trying to figure out where it broke - starting over again...
Debug-enabled log give me:
Apr 27 04:11:36 mail dovecot: lmtp(test at example.com): Debug:
qOGyA0DePHVaOyHEM/SpMA: sieve: action execute: running
program: test.sh
Apr 27 04:11:36 mail dovecot: lmtp(test
2015 May 05
3
Failed running extprograms execute via socket - fatal recv(MSG_PEEK) failed disconnected
E.B. schreef op 5-5-2015 om 9:40:
> Sorrys. I decided to "make clean" and do new "./configure" "make" and "make
> install" for dovecot first, then pigeonhole to make sure nothing is off. After
> I do that I get same original error:
>
> dovecot: script: Fatal: recv(MSG_PEEK) failed: disconnected
>
> I went to go verifying in