similar to: Using replaceable variables in sieve

Displaying 20 results from an estimated 50000 matches similar to: "Using replaceable variables in sieve"

2011 Apr 25
0
Using replaceable variables in sieve
On 4/24/2011 10:29 PM, Jerry wrote: > I am not even sure if this is possible. I cannot find an example of it > anywhere. > > I am in the process of setting up a "plus" addressing system. The > addresses would be addresses to accounts like > <sales+USERNAME at domain.com>. there are presently 50 such names in sales. > > This is the one line entry I presently
2014 Oct 25
1
Dynamic tags in email address
I'm trying to get dynamic tagging (user+sometag at example.com) to work on a mail server I'm setting up, however it only works as long as it's sent to the main user and not to aliases. virtual-alias-maps query: SELECT get_email_alias_dyn('%s') virtual-mailbox-domains query: SELECT 1 FROM domain WHERE name='%s' virtual-mailbox-maps query: SELECT 1 FROM user_alias
2011 Apr 22
3
sieve & plus addressing
Assume and e-mail address of: me+dovecot at domain.com I have a sieve script that sorts mail into the appropriate folders using "+" addressing. I want to extend it to also work with mailing list like this one. A post from the dovecot forum arrives with a Delivered-To: me+dovecot at domain.com when I receive it. The "To" is to dovecot. I cannot figure out a way to get sieve to
2016 Nov 17
2
Generalized looping possible in pigeonhole sieve?
I'm struggling to achieve the kind of filtering with sieve that I was able to do with procmail. TL;DR I'd like a way to loop through a set of (address, destination) pairs in sieve so that I can maintain the (address, destination) pairs in one place and not have to explicitly write scores of nearly identical [...] if address :matches ["From", "Sender",
2018 May 30
2
Struggling with sieve, fileinto and variables.
Hi, Im on Manjaro linux fully up to date running dovecot 2.3.1-2 pigeonhole 0.5.1-2 All is running well except I am having problems with fileinto - it refuses to use variables, and mailboxexists is also failing for me. Im just dealing with plus addressing - should be simple but the behaviour Im experiencing isnt right. require ["variables", "envelope",
2018 May 30
1
Struggling with sieve, fileinto and variables.
Thanks for that. Turns out it was an issue with exim stripping the local part suffix from the envelope before passing over lmtp to dovecot. Fixed in the exim router config! Although if you turn on trace with spamtest it does result in a crash during mail receipt: lmtp(test at test.net)<7988><cDK3ADztDls0HwAANIsFaQ>: Panic: Unsupported 0x30 specifier starting at #38 in 'extracted
2012 Apr 10
1
sieve replace dot string for foldername
Hi, i am playing about mail archive this is what allready works for me require ["variables","date","fileinto","mailbox","envelope","subaddress","regex"]; # Extract date info if currentdate :matches "year" "*" { set "year" "${1}"; } if currentdate :matches "month" "*"
2018 Jan 01
2
sieve - Failed to store into mailbox 'INBOX/${1}': Mailbox doesn't exist: INBOX/${1}
Hello, First of all, happy new year! I?ve recently configured my mail server and was using a simple sieve rule in order to store all my ?user+pattern at example.com? ingoing email to be stored in the INBOX/pattern folder. This setup worked very well. I restarted my server this morning (don?t know if it?s related?) and since Dovecot keep storing my emails in INBOX with following errors: root at
2017 Mar 01
2
dovecot lda bouncing postfix aliases
Recently configured postfix to use the dovecot lda as I wanted to use sieve. Got that working a few days ago but noticed that I wasn't getting any emails to aliases. Checked the logs and saw messages like: Mar 1 08:19:59 carson postfix/lmtp[16949]: 0DCD22016BE: to=< sales at example.com>, relay=carson.example.com[private/dovecot-lmtp], delay=0.07, delays=0.01/0.01/0/0.04, dsn=5.1.1,
2015 Apr 07
2
Sieve, multiple addresses, and variables
Hi, I have another sieve question, this time about setting variables. I join a lot of mailing lists at ietf.org. I thought it'd be handy to filter these all into a common folder and then into individual folders, without having to configure each mailing list independently. So wrote this (this is just a part, obviously): require ["envelope", "variables",
2016 Nov 30
2
Sieve script won't compile. Compiler output isn't helpful.
Hey martin, Thanks for the reply! I made the changes you suggested but I got the same results. According to my understanding, #header "from" "person at example.com"# is correct for an exact match. On 11/30/2016 04:10 AM, Martin Wheldon wrote: > Hi Steven, > > I think you may be missing the :contains from the two header lines below: > >> if anyof (header
2012 Oct 23
3
Problem with sieve. dovecot 2.0.17
Since I have lots of filtering rules in thunderbird I was thinking of using sieve instead. I want to filter incoming mail into subdirectories. like "from" store at folder "old". the script is: require ["fileinto", "envelope"]; if envelope :is "from" "eliezer at test.dom" { fileinto "old"; } else { # The rest goes into
2010 Jan 29
2
sieve script
Hello, after qmail migration need convert some .procmailrc scripts. Found converter procmail -> sieve, but i'm not sure of quality of conversion. My script: --------------- if header :contains "from" ["user at domain1.tld", "user2 at domain2.tld", "user3 at domain3.tld"] { redirect "foo1 at bar.tld"; redirect "foo2 at
2014 Sep 12
2
sieve: is it possible to filter ALL mailing lists (with header List-Id) to their folders with ONE rule?
Hello, Dovecot. Is it possible to write one rule in sieve, which will: (1) Trigger on any message with "List-Id" header AND (2) Put this message to folder with name build from content of "List-Id" header, in such way, that message with List-Id List-Id: This is decription of list <list-name.host.org> will be put into folder "org.host.list-name" where
2013 Apr 21
1
Sieve - BCC
Hi ! Can you help me please with sieve plugin for dovecot I have this rule: /require ["variables", "envelope", "fileinto", "subaddress", "imap4flags"]; if anyof ( address :is [ "to", "cc", "bcc" ] "test at example.com", envelope :contains "to" "test at example.com"
2010 Nov 19
2
lda sieve error using global after sieve script
Hi all, ok, so I've implemented an after sieve script with the following line in the plugins area : sieve_after = /home/mailboxes/sieve/to_spam_folder.sieve It seems to work ok on some accounts, but then I'm getting the following error in the deliver error log for many accounts : Error: sieve: script /home/mailboxes/sieve/to_spam_folder.sieve failed with unsuccessful implicit keep
2013 Jul 25
2
Case-insensitive "detail" mailboxes?
We're using sieve with LMTP. We want to have lda_mailbox_autocreate and lmtp_save_to_detail_mailbox. Is there a way to make the "detail" case-insensitive? If so I have not found it yet. I suppose we could lowercase the input string for the SQL userdb query, but that's not what is wanted. The idea being that if a user makes a mailbox called "Test" is that user+test
2016 Nov 30
3
Sieve script won't compile. Compiler output isn't helpful.
Hello Martin, Wow. That was indeed the problem. I have been staring at that small script for a week and I just couldn't see it. I even had a friend look at it and he couldn't find it either. I feel a bit ridiculous now. Thanks so much for your help, Steven On 11/30/2016 04:48 AM, Martin Wheldon wrote: > Hi Steven, > > OK a on closer inspection :) > > You are missing
2007 Sep 26
2
Subaddress Extension in sieve plugin
Hello! With many MTAs it is possible to use a special form of adressing: subaddresses or "plussed addresses". For sendmail you can read some information on http://www.sendmail.org/m4/misc_features.html http://www.unix.org.ua/orelly/networking/sendmail/ch24_04.htm#SML2-CH-24-SECT-4-3 In a sieve filter you can analyse these special detail values, the syntax is described in RFC3598
2017 Jul 04
2
Sieve can't move messages in a public namespace
Op 7/4/2017 om 8:44 AM schreef Paolo: > Il 30/06/2017 10:46, Paolo ha scritto: >> Hello, >> >> my dovecot version is 2.1.17 >> >> I've configured some public namespaces (config attached). When a mail >> arrives at a certain mail address, that mail is handled by dovecot >> lmtp server and a sieve script is executed that shuold move the >>