Sieve discard

"vladas via Info" <[email protected]>
Newsgroups gmane.mail.imap.cyrus
Message-ID <[email protected]>
What does the *{discard;}* action mean in Sieve language? The reference <http://thsmi.github.io/sieve-reference/en/action/core/discard.html> states quite clear:

> Discard is silent, it does not return a non-delivery notification of any kind.

Unfortunately, my server discards spam for me, but always sends an error message by email. Even for obvious spammers, despite of the following rule in my script:

if address :is ["from", "sender"][
"[email protected]",
"[email protected]",
"[email protected]",
"[email protected]",
"[email protected]",
"[email protected]",
"[email protected]",
"[email protected]",
"[email protected]",
"[email protected]",
]{ discard; }

What am I doing wrong?

Such replies are quite dangerous because they quote URLs and other spam stuff.
------------------------------------------
Cyrus: Info
Permalink: https://cyrus.topicbox.com/groups/info/T91870e1183531c30-M0074d7f0883a17223ce4d0cb
Delivery options: https://cyrus.topicbox.com/groups/info/subscription
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.