Hi,
i got a few postmasters filters that filters out e.g. email from @domain.com move to X queue, now i would like to move all incoming emails from unknown adresses that are not specified to another x queue.
any ideas?
Postfilters
Moderator: crythias
-
- Znuny expert
- Posts: 213
- Joined: 04 Nov 2012, 23:58
- Znuny Version: OTRS 4.x
- Real Name: Esteban
- Company: NORTON DE COLOMBIA
Re: Postfilters
Hi,
i havent worked with postmaster filters that much, but i see that there is a "negate" checkbox, so i assume that if it doesnt match the regex expresion, it will execute the define actions.
so i would test by creating a regex with my "known" from email addresses and negate it... something like this:

i havent worked with postmaster filters that much, but i see that there is a "negate" checkbox, so i assume that if it doesnt match the regex expresion, it will execute the define actions.
so i would test by creating a regex with my "known" from email addresses and negate it... something like this:

-
- Moderator
- Posts: 10170
- Joined: 04 May 2010, 18:38
- Znuny Version: 5.0.x
- Location: SouthWest Florida, USA
- Contact:
Re: Postfilters
Also, this (old) post ... viewtopic.php?t=6586
OTRS 6.0.x (private/testing/public) on Linux with MySQL database.
Please edit your signature to include your OTRS version, Operating System, and database type.
Click Subscribe Topic below to get notifications. Consider amending your topic title to include [SOLVED] if it is so.
Need help? Before you ask
Please edit your signature to include your OTRS version, Operating System, and database type.
Click Subscribe Topic below to get notifications. Consider amending your topic title to include [SOLVED] if it is so.
Need help? Before you ask
-
- Znuny newbie
- Posts: 22
- Joined: 04 Dec 2014, 21:14
- Znuny Version: 4.0.2
- Real Name: Jacob Evans
- Company: Higher Information Group
Re: Postfilters
I HAD an extensive list of post-filters, and separated out customers in queues.
I found it better to add the X-OTRS-CustomerNo field into the (my customers use exchange) transport role.
Now I can better use queues to separate out things like Email issues vs Phone issues, or Tier 1 vs Tier 2 support.
You can set almost any header you like, be sure to TRUST the postmaster mail account or none of the headers will work.
I found it better to add the X-OTRS-CustomerNo field into the (my customers use exchange) transport role.
Code: Select all
New-TransportRule -Name 'X-OTRS-CustomerNo' -Comments 'Assign OTRS Customer Number' -Priority '0' -Enabled $true -SetHeaderName 'X-OTRS-CustomerNo' -SetHeaderValue OTRSCUSTOMERNUMBER -FromScope 'InOrganization' -SentTo 'HelpDesk@mycompany'
You can set almost any header you like, be sure to TRUST the postmaster mail account or none of the headers will work.