Op 20-2-2019 om 9:30 schreef subin ks via dovecot:
I've Dovecot and dovecot-sieve v 2.2.27 installed on a Debian 9.6. I'm
trying to set a Sieve filter which will redirect all emails from
`info` (i.e. .info) TLD to another email. This is the filter:
require ["regex"];
# rule:[test]
if header
Scott, you are right. And I guess it's computed faster too.
# rule:[test]
if header :matches "from" "*.info"
{
redirect "su...@domain.com";
}
Even a TLD like "*.superinfos" may be included:
"*@*.*info*"
Greetings
Martin
On Wed, 2019-02-20 at 08:47 +, Scott M. via dovecot wrote:
> Wh
On Wed, 2019-02-20 at 10:37 +0100, Martin Johannes Dauser via dovecot
wrote:
> On Wed, 2019-02-20 at 10:18 +0100, Martin Johannes Dauser via dovecot
> wrote:
> > Hi!
> >
> > You forgot the wildcard '.*' (= Match zero or more instances of any
> > single character, except newline)
> >
> > require [
On Wed, 2019-02-20 at 10:18 +0100, Martin Johannes Dauser via dovecot
wrote:
> Hi!
>
> You forgot the wildcard '.*' (= Match zero or more instances of any
> single character, except newline)
>
> require ["regex"];
> # rule:[test]
> if header :regex "from" ".*info$"
> {
> redirect "su...@dom
Hi!
You forgot the wildcard '.*' (= Match zero or more instances of any
single character, except newline)
require ["regex"];
# rule:[test]
if header :regex "from" ".*info$"
{
redirect "su...@domain.com";
}
With this rule, you are filtering emails from toplevel domain '*.info'
or new doma
Why do you use regex ?
You can just use matches:
https://p5r.uk/blog/2011/sieve-tutorial.html#matchtype
(https://p5r.uk/blog/2011/sieve-tutorial.html#matchtype)
On Wed, Feb 20, 2019 at 03:31 AM, subin ks via dovecot wrote: I've Dovecot and
dovecot-sieve v 2.2.27 installed on a Debian 9.6. I'm
I've Dovecot and dovecot-sieve v 2.2.27 installed on a Debian 9.6. I'm
trying to set a Sieve filter which will redirect all emails from `info`
(i.e. .info) TLD to another email. This is the filter:
require ["regex"];
# rule:[test]
if header :regex "from" "info$"
{
redirect "su...@domain.com";
}
I
On 2015-01-24 17:13, Michael Williamson wrote:
OK, thanks.
Now I ask, am I better off enabling dovecot lda with the sieve spam
filter, or using postfix for filter?
I'd definitly go for dovecot lda, that way you can use sieve to filter
your mails.
I am using lmtp from postfix to dovecot foll
Hello,
I'd use Dovecot Lda for delivery if you want to use sieve.
Hth
Dave.
On 1/24/15, Michael Williamson wrote:
> On 1/24/15, Christian Kivalo wrote:
>
>>>home_mailbox = Maildir/
>> This tells postfix where to deliver the mails. dovecot is not configured
>> to
>> delivet mails.
>>
>> Take a
On 1/24/15, Christian Kivalo wrote:
>>home_mailbox = Maildir/
> This tells postfix where to deliver the mails. dovecot is not configured to
> delivet mails.
>
> Take a look at dovecot wiki there are examples of how to incorporate dovecot
> lda into thendelivery process.
>
>>> I believe dovecot ha
Am 23. Jänner 2015 22:02:06 MEZ, schrieb Michael Williamson
Hello,
>> Another question:
>> Local mail delivery of received mail from external sources does
>indeed
>> work?
>
>Yes.
>
That is good.
>> If so, was that log excerpt in one of the former mails an example of
>> such delivery?
>
>Ther
On 1/23/15, Christian Kivalo wrote:
> On 2015-01-23 18:04, Michael Williamson wrote:
>> HI,
> Hello,
>
>>
>>> You could set
>>>
>>> syslog_facility = local5
>>>
>>> and have all the log messages in the messages file.
>>
>> According to the output of command
>>
>> # doveadm log find
>>
>> every ty
On 2015-01-23 18:04, Michael Williamson wrote:
HI,
Hello,
You could set
syslog_facility = local5
and have all the log messages in the messages file.
According to the output of command
# doveadm log find
every type of message goes to the file I was looking at,
"/var/spool/maillog".
HI,
> You could set
>
> syslog_facility = local5
>
> and have all the log messages in the messages file.
According to the output of command
# doveadm log find
every type of message goes to the file I was looking at, "/var/spool/maillog".
>> So, is it postfix doing the local mail delivery, no
On 22/01/2015 2:11 PM, Michael Williamson wrote:
I put a sieve filter in users home directory, "/home/user/.dovecot.sieve":
require ["fileinto"];
# Move spam to spam folder
if header :contains "X-Spam-Flag" ["YES"] {
fileinto "Maildir/.SPAM";
stop;
}
http://wiki2.dovecot.org/Pigeonhole/S
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
On Thu, 22 Jan 2015, Michael Williamson wrote:
require ["fileinto"];
# Move spam to spam folder
if header :contains "X-Spam-Flag" ["YES"] {
fileinto "Maildir/.SPAM";
stop;
}
It is not working. How do I diagnose the problem?
There should be an
On 2015-01-22 22:41, Michael Williamson wrote:
Hi,
Hello,
OK. I tried your suggestion. I modified the dovecot config file
"10-logging.conf", like so:
log_path = syslog
and
mail_debug = yes
You could set
syslog_facility = local5
and have all the log messages in the messages file.
Als
Hi,
OK. I tried your suggestion. I modified the dovecot config file
"10-logging.conf", like so:
log_path = syslog
and
mail_debug = yes
It appears that the logging goes to "/var/log/maillog", not "messages"
as I expected.
Restarting service dovecot produces info in the "maillog" file showing
* Michael Williamson 2015.01.22 20:11:
> I have dovecot 2.0.9 running on a CentOS 6.6 email server for a small
This is a notorious version. Not only is it hopelessly outdated, it used to
contain broken features way back...
> require ["fileinto"];
> # Move spam to spam folder
> if header :conta
Hi,
I have a question.
I have dovecot 2.0.9 running on a CentOS 6.6 email server for a small
department, ~15 users.
amavis and postfix are also enabled.
It appears that amavis invokes spamassassin, which tags incoming spam
email. All email is then put into users local inbox directory,
regardless
Hi,
Dovecot, the "deliver" LDA and managesieve are all working. However, the sieve
rules do not seem to work:
System info:
CenOS 2.6.32-131.21.1.el6.x86_64 #1 SMP
dovecot-pigeonhole-2.0.9-2.el6_1.1.x86_64
dovecot-2.0.9-2.el6_1.1.x86_64
/etc/dovecot/dovecot.conf:
mbox_write_locks = fcntl
proto
21 matches
Mail list logo