Displaying 20 results from an estimated 7000 matches similar to: "Sieve notify variables not working with body?"
2018 Nov 16
1
Sieve notify variables not working with body?
Thanks, now it works.
But it seems that :message string (of notify command) is limited to 255
chars.
Is there any chance to change limit to 512 ?
require ["body","enotify","variables","foreverypart","mime","extracttext"];
foreverypart
{
if header :mime :type :is "Content-Type" "text"
{
extracttext
2018 Nov 16
0
Sieve notify variables not working with body?
Op 15-11-2018 om 23:54 schreef Bambero:
> Hi,
>
> I want to send notification like this:
>
> if body :text :matches "*" {
> ?????????? notify :importance "3"
> ?????????????? :message "[NOTIFY] ${1}"
> ?????????????? "mailto:test at example <mailto:test at example>,com";
> }
>
> The notification works but the variable
2018 Sep 19
3
[Sieve] Matches on body content - looking for working example
I have tried to do something like
if body :content ["multipart"] :matches ["Original-Message-ID" ?*?] { set "Original_Message_ID" "${0}"; }
but instead getting Original Message ID I?m getting value from previous match which was
if envelope :matches "From" "*" { set "sender" "${0}"; }
Is there any example of working
2014 Jul 02
1
Shared folders not listed by IMAP
Hello
I just upgraded my system and there is a problem with shared mailboxes.
When I use the doveadm command I can see shared folders:
doveadm mailbox list -u 'test at mydomain.pl'
Drafts
Sent
Spam
Trash
Shared
Virtuals
Virtuals/all
Shared/test2 at mydomain.pl
Shared/test2 at mydomain.pl/Sent
INBOX
But I can't see them over IMAP protocol.
Some config opts:
valid_chroot_dirs =
2011 Nov 12
1
submission_host problem
Hello,
I configured dovecot to use submission smtp host becouse of chroot.
submission_host = 127.0.0.1
Unfortunatelly:
Nov 12 05:11:15 myhost exim[23366]: 2011-11-12 05:11:15 SMTP protocol
synchronization error (next input sent too soon: pipelining was not
advertised): rejected "EHLO myhost" H=localhost [127.0.0.1] next
input="MAIL FROM:<root at myhost>\\r\\n"
Nov 12
2018 Nov 15
2
Quota in MySql Dict not recalculate automatic
Hi,
I have a working Installation with:
Ubuntu 16.04 LTS
Dovecot 2.2.22
MySql 5.7.24
Postfixadmin 3.2
Apache 2.4.18
Rainloop 1.12.1
I manage the E-Mail Accounts with postfixadmin in a MySql-DB.
Also I use quotas with Quota Backend postfixadmin-DB (dict).
Everything works fine.
Now I installed a new Server with the following Versions and
migrate the Configs to the new System.
Ubuntu 18.04 LTS
2015 May 26
1
sieve: extract first chars of body in sieve script
Hello,
is it possible to extract the first x chars of the body of an message to
forward it,
or the complete body inside an sieve script.
I want to forward specific mails via telegram-messenger. No Problem to
extract
the "from" and the "subject".
if header :matches "Subject" "*" {
set "subject" "${1}";
}
if header :matches
2013 Oct 02
1
LDAP for passdb and SQL for userdb
Hello
Is it possible to setup double backend ? ldap for auth only and SQL for
userdb information(quota,maildir etc) ?
Now I'm using SQL backend and configuration looks like this:
passdb {
driver = sql
args = /etc/dovecot/dovecot-sql.conf
}
userdb {
driver = prefetch
}
userdb {
driver = sql
args = /etc/dovecot/dovecot-sql.conf
}
Can I do something like:
passdb {
driver = sql
args
2010 Jun 18
2
New mailbox & autocreate
Hi,
First of all BIG THANKS for great piece of software.
I have a small problem with autocreate. My mails are stored in:
/var/mail
Ex.
/var/mail/test at test.pl/Maildir
Account information comes from DB. So when new account appears in DB
full path including home dir is created. But there is one small
problem:
Group always is "wheel". Autocreating ignores gid from DB and uses the
group
2011 Nov 13
1
Chroot
Hello,
I have successfully setup dovecot with chroot but there are two things yet
1. submission_host problem (I posted message 2 days ago)
2. Problem with acl's and sharing:
all maildirs are located in: /var/mail/jdoe at example.com/Maildir
so:
mail_chroot=/var/mail
I setup acls with:
10-mail.conf
...
namespace {
type = private
separator = /
prefix =.
inbox = yes
hidden = no
2019 Jan 14
2
Sieve: reject certain mime-types and notify recipient
I have to reject office files for a certain domain plus notifying the
original recipient about the rejection too.
require ["fileinto","reject","body","enotify","variables"];
if allof (address :contains ["To","TO","Cc","CC"] "@example.org", body
:content? "application/msword" :contains
2014 Jan 30
2
mime support for pigeonhole
is there any chance of rfc5703 (mime support/extension) being added to
pigeonhole?
I am trying to filter mail with .exe and .zip attachments, to no success.
I have tried
*header :contains "x-attached" [".zip", ".exe"]
*but emails i'm getting don't have x-attached.
a sample snippet is below.
Subject: testa1
Content-Type: multipart/mixed;
2018 Nov 16
3
Antwort: Re: Quota in MySql Dict not recalculate automatic
With quota count and quota_clone it works, but can I use noenforcing with
quota count?
quota = count:User quota:noenforcing
When I test this config, I receive no quota-warning E-Mail:
service quota-warning {
executable = script /usr/local/bin/quota-warning.sh
# user = dovecot
user = vmail
unix_listener quota-warning {
user = vmail
group = vmail
mode = 0660
}
}
plugin {
2019 Jan 11
2
managesieve configuration
Hi Dominik,
I have set ssl = required in 10-ssl.conf globally but no ssl here:
service managesieve-login {
inet_listener sieve {
port = 4190
}
...
}
Nevertheless, STARTTLS is offered
"IMPLEMENTATION" "Dovecot Pigeonhole"
"SIEVE" "fileinto reject envelope encoded-character vacation subaddress comparator-i;ascii-numeric relational regex imap4flags
2019 Jan 11
2
managesieve configuration
On 10.1.2019 18.28, Dominik Menke wrote:
> I've missed a part at the end:
>
>> This leads me to my question: How do I force Dovecot to print at
>> least a STARTTLS line after a client connects to port 4190? Looking
>
> ... at the default configuration files in /etc/dovecot/conf.d/ I don't
> see an obvious difference.
>
>
> --Dominik
Can you provide
2018 Jun 12
4
cant login to Dovecot
On 2018-06-12 13:14, Steffen Kaiser wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> On Tue, 12 Jun 2018, Walter Ulmke wrote:
>
>> un 12 12:30:06 ulmke2 dovecot[5814]: auth: Fatal: APOP mechanism can't
>> be supported with given passdbs
>
> Config error.
>
> "Fatal" sounds fatal ;-)
>
>> stats: open(old-stats-user)
2017 Jul 21
2
Core dumped when authenticating to managesieve
Hey,
I'm getting "Error in MANAGESIEVE command received by server." and
service(managesieve-login) killed with signal 11 (core dumped) when doing
two line autenticate(sogo) to managesieve().
# telnet localhost 4190
Trying 127.0.0.1...
Connected to localhost.
Escape character is '^]'.
"IMPLEMENTATION" "Dovecot Pigeonhole"
"SIEVE"
2017 Jan 19
5
Segfault on LIST Command
Dear all,
I experience SegFaults in the imap binary on a LIST "" "" command,
as sent by Claws mail. Using LIST "" "INBOX" or similar is fine.
Here is an example telnet session
$ telnet 127.0.0.1 143
Trying 127.0.0.1...
Connected to 127.0.0.1.
Escape character is '^]'.
* OK [CAPABILITY IMAP4rev1 LITERAL+ SASL-IR LOGIN-REFERRALS ID ENABLE IDLE
2019 Jul 03
2
Segfault of doveconf
Hi,
I have some problems of segfault at doveconf:
Jul 2 08:13:16 mail kernel: [1415540.297823] doveconf[7103]: segfault at 560cb801e000 ip 00007f861da742d0 sp 00007ffe2d671548 error 6 in libc-2.23.so[7f861d9e5000+1c0000]
Jul 2 15:45:38 mail kernel: [1442682.919193] doveconf[11915]: segfault at 563b32420000 ip 00007fcb127ae2d0 sp 00007ffecfc7b598 error 6 in libc-2.23.so[7fcb1271f000+1c0000]
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