Hello!

  I need to match all messages sent from some specific domain and all its 
sub-domains. I can achieve this with:

  if address :match :domain "From" [ "domain.com", "*.domain.com" ] { ... }

  But it looks ugly, especially if repeated for 5-6 domains.

  Is here way better?  `:match ["*domain.com"]` will match "notdomain.com" and `:is [ 
"domain.com" ] doesn't match sub-domains.

  I understand, that it is (slightly?) off-topic, but I can not find any 
sieve-specific resources (all google find ins questions about PronotMail and 
FastMail filters, and these questions are very basic).

Thank you.

--
// Black Lion AKA Lev Serebryakov
_______________________________________________
dovecot mailing list -- dovecot@dovecot.org
To unsubscribe send an email to dovecot-le...@dovecot.org

Reply via email to