I need to move all e-mail with some header to spam forder of account. Example:
user [email protected] -> have some header -> move to spam folder of [email protected]
user [email protected] -> have some header -> move to spam folder of [email protected]
Is possible to do that in anyway or use global filter of e-mails /etc/vfilter/domain.com and mode email from user account?
Because one of domain has this code in /etc/vfilter this content:
if
$header_subject: contains "{vpara}"
then
deliver "\"domain+spam\""
endif
The problem of that is all mail that subject contains {vpara} is moved to spam folder of default account, not the account that received that e-mail.
Is possible to use some variable to move the e-mail to the account that received that e-mail?
Or do that with any other way?
Thanks.
user [email protected] -> have some header -> move to spam folder of [email protected]
user [email protected] -> have some header -> move to spam folder of [email protected]
Is possible to do that in anyway or use global filter of e-mails /etc/vfilter/domain.com and mode email from user account?
Because one of domain has this code in /etc/vfilter this content:
if
$header_subject: contains "{vpara}"
then
deliver "\"domain+spam\""
endif
The problem of that is all mail that subject contains {vpara} is moved to spam folder of default account, not the account that received that e-mail.
Is possible to use some variable to move the e-mail to the account that received that e-mail?
Or do that with any other way?
Thanks.