(Solved) PostMaster Filter

Moderator: crythias

Locked
otresi
Znuny newbie
Posts: 84
Joined: 02 Sep 2014, 10:49
Znuny Version: OTRS 5.0.8

(Solved) PostMaster Filter

Post by otresi »

I have an issue with Postmaster Filters and wondered if anyone had seen a similar issues or knew why it was doing this...

On the POP3 configuration "Trusted" is set to "Yes" and "Dispatching"is set to "by selected queue Queiu: "All".

I have a filter setup which looks at the "From" address for test@gmail.com and then sets the X-OTRS--Queue to "Test".

That is working as expected, but the other email is never placed in the "All" queue, it stays in the postmaster "Test" queue.
You do not have the required permissions to view the files attached to this post.
Last edited by otresi on 22 Jun 2015, 15:27, edited 7 times in total.
OTRS 5 /
EXG133
Znuny expert
Posts: 217
Joined: 06 Aug 2012, 18:12
Znuny Version: 3.1.7 & 4.04

Re: PostMaster Filter

Post by EXG133 »

You can check your /var/log/messages, there's a line for every filter that matched an email:

Jun 8 11:24:07 servername OTRS-otrs.PostMasterMailbox.pl-1[31789]: [Notice][Kernel::System::PostMaster::Filter::MatchDBSource::Run] Filter: 'yourfiltername' Set param 'X-OTRS-Queue' to 'Main::Queue'

If there's no line your filter didn't match. In that case post a screenshot of your postmaster filter.
otresi
Znuny newbie
Posts: 84
Joined: 02 Sep 2014, 10:49
Znuny Version: OTRS 5.0.8

Re: PostMaster Filter

Post by otresi »

any other help?
OTRS 5 /
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 Filter

Post by reneeb »

As you checked the "negate" checkbox, it moves everything *but* the mails from test@gmail.com to the Queue Test
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
akash
Znuny newbie
Posts: 2
Joined: 17 Jan 2015, 11:50
Znuny Version: 3.3.10
Real Name: Akash
Company: fosteringlinux.com

Re: PostMaster Filter

Post by akash »

Image
Locked