Apple Xserve Up Mac OS X Server Dokumentacja Strona 210

  • Pobierz
  • Dodaj do moich podręczników
  • Drukuj
  • Strona
    / 329
  • Spis treści
  • BOOKMARKI
  • Oceniono. / 5. Na podstawie oceny klientów
Przeglądanie stron 209
210 Chapter 12 Managing Mail Service
# If it's from my mom...
if header ["From"] :contains ["Mom"]{
# send it to my home email account
redirect "[email protected]";
}
#
# If the subject line has a certain keyword...
else if header "Subject" :contains "daffodil" {
# forward it to the postmaster
}
#
# If the junk mail filter has marked this as junk...
else if header :contains ["X-Spam-Flag"] ["YES"]{
# throw it out
discard;
}
#
# If the junk mail filter thinks this is probably junk
else if header :contains ["X-Spam-Level"] ["***"]{
# put it in my junkmail box for me to check
fileinto "INBOX.JunkMail";
}
#
# for all other cases...
else {
# put it in my inbox
fileinto "INBOX";
}
# End of script
Sieve Scripting Resources
Sieves complete syntax, commands, and arguments are found in IETF RFC 3028,
located at www.ietf.org/rfc/rfc3028.txt?number=3028.
Przeglądanie stron 209
1 2 ... 205 206 207 208 209 210 211 212 213 214 215 ... 328 329

Komentarze do niniejszej Instrukcji

Brak uwag