[SOLVED] Postmaster filter on sending server

Moderator: crythias

Locked
gob
Znuny newbie
Posts: 49
Joined: 18 Jan 2011, 15:45
Znuny Version: 3.0.4

[SOLVED] Postmaster filter on sending server

Post by gob »

Hi

I have been using the postmaster filter successfully to drop new incoming emails into their respective queues based on the sending email domain.
We now have a scenario whereby one email domain is used by several offices but we need to drop each office's emails into a different queue.
I am trying to avoid using a different OTRS mailbox and email address for the individual offices so I wondered if it is possible to filter based on the sending SMTP server.
Looking at the incoming email headers there is a line:

Received: from smtpserver.mycompany.com

Is it possible to refer to that in a postmaster filter?

thanks
Gordon
Last edited by gob on 16 Oct 2013, 16:24, edited 1 time in total.
crythias
Moderator
Posts: 10170
Joined: 04 May 2010, 18:38
Znuny Version: 5.0.x
Location: SouthWest Florida, USA
Contact:

Re: Postmaster filter on sending server

Post by crythias »

Edit Config Settings in Ticket -> Core::PostMaster
PostmasterX-Header
(+) Received
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
gob
Znuny newbie
Posts: 49
Joined: 18 Jan 2011, 15:45
Znuny Version: 3.0.4

Re: Postmaster filter on sending server

Post by gob »

Result!
Works perfectly.

Thanks crythias.
Locked