Postmaster filters, and multiple from values

Moderator: crythias

Locked
BSmithAcu
Znuny newbie
Posts: 4
Joined: 11 Dec 2012, 18:38
Znuny Version: 3.1.7
Real Name: Bryan
Company: Acu-Comp

Postmaster filters, and multiple from values

Post by BSmithAcu »

Hi,

I apologize if this has been asked but I tried to search and couldn't find the answer.

How do I create 1 rule to filter multiple from values?

I am trying to filter by the comapnies domain name, and some of the companies have several domain names. WHen I create multiple from values, it removes one after submitting the changes. Is there an "and" value I can put in here?

Thank you,
Bryan
OTRS 3.1.7 on Ubuntu 12.04 server LTS with My SQL
Running on ESXi 4.1
reneeb
Znuny guru
Posts: 5018
Joined: 13 Mar 2011, 09:54
Znuny Version: 6.0.x
Real Name: Renée Bäcker
Company: Perl-Services.de
Contact:

Re: Postmaster filters, and multiple from values

Post by reneeb »

Combine those domains with "|" in one "From" field:

(\@domain1.tld|\@domain2.tld)

This filters mails where the sender comes from domain1.tld or domain2.tld.
Perl / Znuny development: http://perl-services.de
Free Znuny add ons from the community: http://opar.perl-services.de
Commercial add ons: http://feature-addons.de
Locked