[SOLVED] OTRS and mail filter

Moderator: crythias

Locked
Alukardd
Znuny newbie
Posts: 19
Joined: 03 Jul 2012, 16:03
Znuny Version: 3.1.6
Real Name: Alexey

[SOLVED] OTRS and mail filter

Post by Alukardd »

Hello.

I need to send auto reply for some mails but I don't want to register this mails as a ticket.
I get mails from external mail server via IMAP (by cron calling ~otrs/bin/otrs.PostMasterMailbox.pl).

I don't understand how to pass email throw procmail... I read this documentation page. As I can understand .procmailrc not called if I get mail via IMAP (fetchmail), rather than get it by SMTP as dedicated mail server (postfix, exim, sendmail, etc).

I now that I can use PostMaster Filters to reject mail by setup X-OTRS-Ignore: True header, but how can reply to user that I reject his mail?

How can I resolve this task?

Thanks.
Last edited by Alukardd on 31 Aug 2012, 15:11, 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: OTRS and mail filter

Post by crythias »

There's a reject module in SysConfig, and an autoresponse for reject.
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
Alukardd
Znuny newbie
Posts: 19
Joined: 03 Jul 2012, 16:03
Znuny Version: 3.1.6
Real Name: Alexey

Re: OTRS and mail filter

Post by Alukardd »

Thanks!

I had to look better.
But I can't understand how can I reject multiple senders. This page don't say me how. And adding two "Match" equal "From" don't accept by OTRS — it's save only one.
This is not an obvious point, that I must use PCRE to reject multiple domains... (@gmail.com|@yahoo.com)

Thanks for help!
Locked