Displaying 20 results from an estimated 1000 matches similar to: "Invoking the spam checker on the sieve script"
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
2017 Jul 22
2
SIEVE: handling of lineending in fields
Hello,
migrated von the mailserver from centos to alpine linux. Most parts are
run well.
dovecot 2.2.31
sieve: 0.4.19
But i fight with on behavior.
I have an sieve script which pipes a few fields to an external script
which send this data to an telegram-bot.
the part of the sieve-script.
if header :matches "Subject" "*" {
set "subject" "${1}";
}
if
2018 May 23
2
XMPP notifications
Hello all,
What is the best way, using sieve, to send XMPP notifications?
I am using Debian Stretch, with Dovecot core / sieve packages version
2.2.27-3+deb9u2.
Should I use the enotify extension, or a script with extprograms
extension?
Thanks for your answers.
--
Andr? Rodier
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
2013 Aug 29
1
Pigeonhole Sieve - sent message to xmpp account
Hello,
does someone know, how far the implementation of enotify - xmpp is.
Would be nice to push notifications to an jabber account for specific
filtered mails.
Regards,
Ingo
2015 Sep 08
3
sieve_extprograms - double linebreaks at filtering
Hello List,
i have a problem when using sieve-plugin sieve_extprograms. I use
dovecot 2.2.18 and bundled pigeonhole 0.4.6 (Ubuntu 14.04.3 LTS)
i have enabled sieve_extprograms and vnd.dovecot.filter to send mail to
user-defined script and get changed content back.
My script previously was used with procmail and is working fine.
Using same script with vnd.dovecot.filter leads to odd behavior.
I
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
2020 Oct 20
2
Sieve body test
I have an email where I need to edit the body. I know this is generally a bad idea, but in this case I need to do it. The email comes in automatically every week or two, and so I thought that SIEVE would be the way to go.
if header :contains "from" "theaddress at tehdomain" {
if body :raw :contains "A string" {
# Magic happens here
}
}
It looks
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
2012 Apr 14
1
Sieve pipe extension - can it retur something?
I have a question about sieve pipe: can it return something to further
processing?
For example in procmail I can do:
--8<---------------cut here---------------start------------->8---
:0
VIRUS=`$CLAMSCAN --mbox --disable-summary --stdout -`
--8<---------------cut here---------------end--------------->8---
and then test VIRUS variable.
Maybe I missing something, when read
2020 Oct 23
2
Sieve body test
On 20/10/2020 23:37, @lbutlr wrote:
> On 20 Oct 2020, at 13:46, @lbutlr <kremels at kreme.com> wrote:
>> It looks like what I need to do is enable and use vnd.dovecot.filter
> error: require command: unknown Sieve capability `vnd.dovecot.filter'.
>
> Is this not available to a user? I guess I can put the in global, but ick.
You need to include the extprograms plugin:
2023 Jan 27
2
sieve_extprograms plugin calling bash script
I receive an email a few times a week containing a URL for a live stream which starts within a minute after receiving the email. I want to automate capturing the whole stream.
I've been trying to write a sieve script which uses the sieve extprograms plugin to call a bash script that parses the URL from the email and passes it to a capture program. So far I've had no luck getting the bash
2015 May 10
5
Released Pigeonhole v0.4.8.rc1 for Dovecot v2.2.17.rc1
Hello Dovecot users,
Here's the Pigeonhole RC that goes with the Dovecot RC. It includes a
few small fixes and one new feature.
Changelog v0.4.8.rc1:
* LDA Sieve plugin: Dovecot changed the deliver_log_format setting to
include %{delivery_time}. This prompted changes in Pigeonhole that
make this release dependent on Dovecot v2.2.17.
+ Implemented magic to make sieve_default script
2015 May 10
5
Released Pigeonhole v0.4.8.rc1 for Dovecot v2.2.17.rc1
Hello Dovecot users,
Here's the Pigeonhole RC that goes with the Dovecot RC. It includes a
few small fixes and one new feature.
Changelog v0.4.8.rc1:
* LDA Sieve plugin: Dovecot changed the deliver_log_format setting to
include %{delivery_time}. This prompted changes in Pigeonhole that
make this release dependent on Dovecot v2.2.17.
+ Implemented magic to make sieve_default script
2016 Jun 07
2
Potential bug report: Cannot use ":args" option via Pigeonhole Sieve pipe plugin
Hi all,
Following the instructions noted at
http://wiki2.dovecot.org/Pigeonhole/Sieve/Plugins/Pipe , I am trying to
make use of the Pigeonhole sieve pipe plugin to execute an application with
custom arguments via my test sieve script:
require ["vnd.dovecot.pipe"];
if address :is "to" "test at example.com" {
pipe :args [ "first-arg",
2015 Sep 21
4
sieve_extprograms - run any individual script?
Hello,
i use sieve extension sieve_extprograms to send incoming mail to some
script.
For security reasons it is needed that script-paths etc. are registered
in dovecot.conf
This is my current dovecot.conf
plugin {
sieve = ~/.dovecot.sieve
sieve_plugins = sieve_extprograms
sieve_extensions = +vnd.dovecot.pipe +vnd.dovecot.filter
+vnd.dovecot.execute
sieve_pipe_bin_dir =
2017 Feb 15
2
[Sieve] Is the way to run external script to get attachment?
Hello.
Read all about Extprograms, but have a question.
Use case:
Every day we have couple messages with attachment (from one sender, this
is one-way communication). This attachment is uploads to ownCloud. By
hand... need some automation.
As I see, pipe cat execute scripts with text data USER/FROM/SUBJECT -
and I think with variables it can be any text data, how about attachment?
How I see
2020 Apr 01
2
sieve compile error
Dear all, I try to recompile my learn_ham.sieve script, which fails
with the message
root at ida:/etc/dovecot# sievec sieve-scripts/report-ham.sieve
report-ham: line 1: error: require command: unknown Sieve capability
`vnd.dovecot.pipe'.report-ham: line 1: error: require command: unknown
Sieve capability `imapsieve'.report-ham: line 19: error: unknown
command 'pipe' (only reported
2019 Aug 20
2
imapsieve suddenly not working anymore
Hello one and all.
Dovecot version 2.3.7.1
I've configured imapsieve like
https://wiki.dovecot.org/HowTo/AntispamWithSieve a while a go and it
worked
for years now. Suddenly i noticed moving mails to the spamfolder does
not trigger the report-spam.sieve
script anymore.
sieve-test gives:
~/.maildir/.Spam/cur $ sieve-test
/usr/share/dovecot/sieve/report-spam.sieve