Quoting Mostafa M.Fouad:

Please quote properly and don't top post (see mailing list etiquette and
e.g. http://www.netmeister.org/news/learn2quote.html).

> execuse me
> can u please show me example

if $acl_m_spam_score contains "(++++++++++" # 10
 then seen finish
elif $acl_m_spam_score contains "(+++++"    # 5
 then save .crap.spam.filtered/
...
elif $h_List-Id ends "<exim-users.exim.org>"
 then save .ml.exim/
...
endif

> i'm not failiar much about system filters...and by the way
> my mail system use the a single uid and gid for all users
> it's virtual system ... so i guess a system filter will try to use the uid 
> and gid of the user from the transport user and group options

not necessarily. The path and filename is specified in a redirect
router's "file" option. Mine is:

vuser_filter:
  driver = redirect
  domains = +local_domains
  condition = ${if def:address_data}
  file = /var/spool/vmail/$address_data/.exim-filter
  allow_filter
  user = vmail
  directory_transport = vdeliver
  file_transport = vdeliver
  no_verify
  check_ancestor

address_data is set in a router before to the virtual user. Most use the
[EMAIL PROTECTED] for that (with /var/vmail/$domain/$local_part/... as home
directory), though.


-- 
## List details at http://www.exim.org/mailman/listinfo/exim-users 
## Exim details at http://www.exim.org/
## Please use the Wiki with this list - http://www.exim.org/eximwiki/

Reply via email to