[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Sieve Regeln zum Einsortieren



Am Freitag, 11. Januar 2008 10:28:19 schrieb Maik Stubbe:
> Hallo,
>
> ich versuche mich seit einigen Tagen an Sieve. Leider sortiert er die
> Mails nicht richtig ein. Unter anderem möchte ich gerne diese Liste in
...

Hallo,

meine Config  für Cyrus sieht so aus: 


require ["fileinto", "vacation", "reject"];

# Debian ML
if address :is ["From", "To", "Cc"] "debian-user-german@lists.debian.org"
{
	fileinto "Mailinglisten.DebianDE";
	stop;
}



# Debian SA
if address :is ["From", "To", "Cc"] "debian-jobs@lists.debian.org"
{
	fileinto "Mailinglisten.DebianSA";
	stop;
}



# logcheck Mails
if address :is "TO" "Adresse@bla.de"
{
	fileinto "Devnil.Logcheck";
	stop;
}


if header :matches "X-Spam-Level" "\\*\\*\\*\\*+"
{
	fileinto "Spam";
}

if header :matches "X-Spam-Flag" "YES"
{
	fileinto "Spam";
}



if header :matches "Subject" ["*Virus intercepted*"]
{
	fileinto "Virus";
}


if header :matches "Subject" ["*[SNORT] dev-nil.com daily report*"]
{
	fileinto "Devnil.Secureinfo";
}



# 
if address :is "From" "team@valuemail.de"
{
	fileinto "Mailinglisten.IT-Express";
	stop;
}


# 
if address :is "To" "w3c-announce@w3.org"
{
	fileinto "Mailinglisten.W3C";
	stop;
}


evtl ist ja was dabei was du gebrauchen kannst.




-- 
BOFH excuse #217:

The MGs ran out of gas.

Attachment: signature.asc
Description: This is a digitally signed message part.


Reply to: