Re: [exim] exim bulk mail creation

Pàgina inicial
Delete this message
Reply to this message
Autor: Jakob Hirsch
Data:  
A: Mostafa M.Fouad
CC: exim-users
Assumpte: Re: [exim] exim bulk mail creation
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
user@domain for that (with /var/vmail/$domain/$local_part/... as home
directory), though.