Zimbra offers Open Source email server software and shared calendar for Linux and the Mac
Go Back   Zimbra :: Forums > Other > International > Italian

Welcome to the Zimbra :: Forums!
Welcome, if you would like to post a comment please register. We also encourage you to explore all things Zimbra with our team and members of the community.

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 05-14-2010, 08:52 AM
Beginner Member
 
Posts: 1
Default Integrazione regex sui filtri

Salve,

Sto cercando di migrare alcuni filtri Sieve dal vecchio server di posta basato su Cyrus,

ho dei filtri che controllano l'ora ed utilizzano il plugin regex es:


require ["regex"];\
\n# Helpdesk \
\nif allof (header :regex "date" "(17|18|19|20|21|22|23|24|00|01|02|03|04|05|06|07| 08):..:..", not header :regex "date" "(sat|sun)")\
\n{\
\n redirect "un.indirizzo@dodo.it";\
\n stop;\
\n}\
'

sembra che zimbraMailSieveScript non supporta regex

avete suggerimenti ?

Grazie.
Reply With Quote
  #2 (permalink)  
Old 06-15-2010, 02:31 AM
Starter Member
 
Posts: 2
Default

Ciao,
purtroppo anche io ho dei problemi nel filtrare la posta.
Comunque ti consiglio di leggerti la documentazione di postfix riguardo gli header_check, che servono appunto a controllare gli header delle e-mail, e funzionano proprio con le regex o pcre, l'unico inconveniente pare essere che il controllo venga fatto riga per riga e che quindi non si possano fare ricerche multiple su pił righe, ma spero che qualcuno mi smentisca :-)

Ciao e in bocca al lupo
Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes


Similar Threads

Why Join?

Registering let's you ask questions, makes it easier to search, displays any files attached to posts, and notifies you about replies.

blog.zimbra.com




 

SEO by vBSEO ©2011, Crawlability, Inc.