OTRS to ignore certain emails

Hey guys.. Is there a way for OTRS to ignore certain emails? I would want to filter via senders address, such as bob@domain.com - all these get ignored by OTRS. The account that I want OTRS to monitor also has other stuff sent to it that doesn't need a ticket/etc but is important and needs to be kept (preferably on the server - but it really doesn't matter as long as its accessible) Anyone have any ideas? I'm trying to get away from just creating queues for all the un-needed stuff. Thanks!

Hi, On Mon, Oct 13, 2003 at 03:49:28PM -0400, Rogers, Weston wrote:
Is there a way for OTRS to ignore certain emails? I would want to filter via senders address, such as bob@domain.com - all these get ignored by OTRS. The account that I want OTRS to monitor also has other stuff sent to it that doesn't need a ticket/etc but is important and needs to be kept (preferably on the server - but it really doesn't matter as long as its accessible)
Anyone have any ideas? I'm trying to get away from just creating queues for all the un-needed stuff.
I would use procmail (if you use linux/unix). For example, add to the .procmailrc of the otrs user the following: :0 fhw : * !^From.*@example.com | formail -I "X-OTRS-Ignore: yes" and all emails form *@example.com will be ignored by otrs. See also: http://doc.otrs.org/1.1/html/receiving-email-cmd.html and http://cvs.otrs.org/cvsweb.cgi/otrs/doc/X-OTRS-Headers.txt?rev=1.5&content-t...
Thanks!
Martin -- Martin Edenhofer - <martin at edenhofer.de> - http://martin.edenhofer.de/ -- "The number of Unix installations has grown to 10, with more expected." The Unix Programmer's Manual, 2nd Edition, June 1972
participants (2)
-
Martin Edenhofer
-
Rogers, Weston