Sieve question: Rewriting from using variables (ccsend issues)

2024-02-05 Thread Ian Evans
As a journalist, I deal with a lot of PR companies that use constant contact. For years, I've built up a nice sieve filter that sports these people into my PR folder. I guess to help with dkim/SPF issues, Constant Contact has started rewriting the from header to the sender's address rewritten to e

Re: sieve question

2020-04-22 Thread @lbutlr
On 21 Apr 2020, at 11:54, Ralph Seichter wrote: > * mj: > Our autoreply message reads: "Your email has not been read nor >> forwarded", which is also the case, forcing the sender to take action. > > No, it does not. An auto-reply message, even if it is actually read by > the sender, can be ignore

Re: sieve question

2020-04-22 Thread mj
On 4/21/20 7:54 PM, Ralph Seichter wrote: No, it does not. An auto-reply message, even if it is actually read by the sender, can be ignored without penalty. An MTA rejection puts the ball into the sender's court because the message has never been accepted by the recipient's MX. By the way, a r

Re: sieve question

2020-04-21 Thread Ralph Seichter
* mj: > Our autoreply message reads: "Your email has not been read nor > forwarded", which is also the case, forcing the sender to take action. No, it does not. An auto-reply message, even if it is actually read by the sender, can be ignored without penalty. An MTA rejection puts the ball into th

Re: sieve question

2020-04-21 Thread mj
Hi all, Thanks for the interesting discussion. The idea behind the catch-all mailbox is basically to have a transitional period between now and the nullmx config we did not know about. (thanks for mentioning that, we will do it!) Our autoreply message reads: "Your email has not been read nor

Re: sieve question

2020-04-20 Thread Remo Mattei
I do agree with that. It depends on what he wants to do and how to handle the old domain stuff. Remo > On Apr 20, 2020, at 18:13, @lbutlr wrote: > > > >> On 20 Apr 2020, at 04:27, mj wrote: >> >> Hi Ralph! >> >> Thanks for your reply! >> >> On 4/20/20 12:19 PM, Ralph Seichter wrote: >>>

Re: sieve question

2020-04-20 Thread LuKreme
On Apr 20, 2020, at 19:13, @lbutlr wrote: > > The other thing you can do is NOMX the old domain. Sorry, nullmx is what I meant. Btw, I think this is the best solution. Sent from my iPhone

Re: sieve question

2020-04-20 Thread @lbutlr
> On 20 Apr 2020, at 04:27, mj wrote: > > Hi Ralph! > > Thanks for your reply! > > On 4/20/20 12:19 PM, Ralph Seichter wrote: >> I suggest you don't use Sieve for this, but simply configure Postfix >> to reject messages to @old.domain.com with the desired message. MTA >> rejections signal cl

Re: sieve question

2020-04-20 Thread Remo Mattei
Well, I do not use postfix, but qmail. I would however, create an autorepond telling them the new address and then fwd the old address to the new one. But nothing to do with sieve, it’s at the SMTP level. Remo > On Apr 20, 2020, at 08:40, Ralph Seichter wrote: > > * mj: > >> this means tho

Re: sieve question

2020-04-20 Thread Ralph Seichter
* mj: > this means those emails are not actually delivered anymore. Sure. That's how I interpreted your notification text "This message is sent automatically, and your message has NOT been read nor forwarded." If the message is not being read, why accept it in the first place? > For now, I would

Re: sieve question

2020-04-20 Thread mj
Hi Ralph! Thanks for your reply! On 4/20/20 12:19 PM, Ralph Seichter wrote: I suggest you don't use Sieve for this, but simply configure Postfix to reject messages to @old.domain.com with the desired message. MTA rejections signal clearly that the message has not been delivered, and you can als

Re: sieve question

2020-04-20 Thread Ralph Seichter
* mj: > Can anyone suggest what to do here? I suggest you don't use Sieve for this, but simply configure Postfix to reject messages to @old.domain.com with the desired message. MTA rejections signal clearly that the message has not been delivered, and you can also include an URL pointing to a web

sieve question

2020-04-20 Thread mj
Hi, We are trying to auto-reply to emails that still use one of our old domains. To do this, I have setup a catch-all mailbox for anything sent to that old domain using postfix virtual: @old.domain.com catch-...@new.domain.com Then I defined a sieve script for catch-...@new.domain.com,

Re: Sieve question

2019-07-04 Thread @lbutlr via dovecot
On 3 Jul 2019, at 01:28, Stephan Bosch via dovecot wrote: > On 03/07/2019 04:44, @lbutlr via dovecot wrote: >> I have the following in my active sieve file, and there are no errors logged. >> >> >> if header :contains "to" "+root" { >>setflag "\\Seen"; >>fileinto :create "root"; >>st

Re: Sieve question

2019-07-03 Thread Stephan Bosch via dovecot
On 03/07/2019 04:44, @lbutlr via dovecot wrote: I have the following in my active sieve file, and there are no errors logged. if header :contains "to" "+root" { setflag "\\Seen"; fileinto :create "root"; stop; } The message is put in .root, bit is not marked as seen. Is the def

Sieve question

2019-07-02 Thread @lbutlr via dovecot
I have the following in my active sieve file, and there are no errors logged. if header :contains "to" "+root" { setflag "\\Seen"; fileinto :create "root"; stop; } The message is put in .root, bit is not marked as seen. Is the default action to put mail in a folder matching the extensi

Re: Sieve question

2016-02-10 Thread Stephan Bosch
Op 10-2-2016 om 10:30 schreef @lbutlr: On Feb 10, 2016, at 12:18 AM, A.L.E.C wrote: require ["copy"] if header :contains “from” “t...@example.com” { redirect :copy “us...@example.com”; redirect “us...@example.com”; } Ah, right, that makes sense. Thanks. The copy extension is not ne

Re: Sieve question

2016-02-10 Thread @lbutlr
On Feb 10, 2016, at 12:18 AM, A.L.E.C wrote: > require ["copy"] > if header :contains “from” “t...@example.com” { > redirect :copy “us...@example.com”; > redirect “us...@example.com”; > } Ah, right, that makes sense. Thanks. -- Honesty may be the best policy, but insanity is a better defe

Re: Sieve question

2016-02-09 Thread A.L.E.C
On 02/10/2016 02:18 AM, @lbutlr wrote: > Is it possible to use redirect in a sieve to redirect to multiple addresses? > > if header :contains “from” “t...@example.com” { > redirect “us...@example.com,us...@example.com”; > } I never tried, but according to RFC redirect argument is supposed to be

Sieve question

2016-02-09 Thread @lbutlr
Is it possible to use redirect in a sieve to redirect to multiple addresses? if header :contains “from” “t...@example.com” { redirect “us...@example.com,us...@example.com”; } I thought this would work, But I am seeing a “redirect address is invalid: not a single addres [sic] (found ‘,’). --

Re: [Dovecot] Sieve question

2011-06-13 Thread Stephan Bosch
Op 13-6-2011 4:41, Dhaval Patel schreef: -- require "fileinto"; if header :contains "X-Spam-Flag" "YES" { fileinto "spam"; } -- My first question is, where is this global sc

[Dovecot] Sieve question

2011-06-12 Thread Dhaval Patel
I have successfully setup Postfix -> Dovecot with virtual users and spam filtering with spamassassin. Now the last remaining part is for the user defined rules. Let me describe my environment and what I am trying to achieve. I have Postfix setup to call spamc and deliver to Dovecot according to th

Re: [Dovecot] Sieve question

2010-07-10 Thread Perry E. Metzger
On Sat, 10 Jul 2010 19:38:34 +0200 "Leander S." wrote: > Hi, > > is there a possibility to give the if cases a AND / OR sensetivity? You know about anyof/allof in the sieve language, yes? -- Perry E. Metzgerpe...@piermont.com

[Dovecot] Sieve question

2010-07-10 Thread Leander S.
Hi, is there a possibility to give the if cases a AND / OR sensetivity? if header :comparator "i;ascii-casemap" :contains "X-Spam-Flag" "YES" *AND NO *"X-Amavis-Alert" "INFECTED"{ fileinto "Spam"; stop; } elsif header :comparator "i;ascii-casemap" :contains "X-Amavis-Alert" "INFECTED" {

Re: [Dovecot] Sieve question

2009-10-16 Thread Pascal Volk
On 10/16/2009 08:04 PM Thomas Harold wrote: > … > Ideally, it would be an option to the vacation element (i.e. "start > time" and "end time"). The reason that a start/end time would be useful > is in the case of where someone wants to setup their vacation replies > ahead of time, and have them

Re: [Dovecot] Sieve question

2009-10-16 Thread Thomas Harold
On 7/7/2009 1:59 PM, CJ Keist wrote: If there is a separate sieve mailing list let me know. But have question if someone else has done this or not. Right now I have web form people use to setup their vacation replies using Sieve (1.1.6). The form alows them to set what they want their repl

Re: [Dovecot] Sieve question

2009-07-14 Thread Pascal Volk
On 07/07/2009 07:59 PM CJ Keist wrote: > If there is a separate sieve mailing list let me know. But have question > if someone else has done this or not. > > Right now I have web form people use to setup their vacation replies > using Sieve (1.1.6). The form alows them to set what they want the

[Dovecot] Sieve question

2009-07-07 Thread CJ Keist
If there is a separate sieve mailing list let me know. But have question if someone else has done this or not. Right now I have web form people use to setup their vacation replies using Sieve (1.1.6). The form alows them to set what they want their reply address to be, whether to send the r