* Lev Serebryakov:

> I need to match all messages sent from some specific domain and all
> its sub-domains.

I prefer using regular expressions for this kind of tests:

  if address :regex "From" "[@.]example\.(com|org)$" {...}

This will match all addresses for example.com, example.org and their
respective subdomains.

-Ralph
_______________________________________________
dovecot mailing list -- dovecot@dovecot.org
To unsubscribe send an email to dovecot-le...@dovecot.org

Reply via email to