
For some reason, fetchmail works and it delivers it to the correct queue,
but even without a .procmailrc it does that, and anything I add in my
.procmailrc doesn't seem to work.
If I enable this line :
# Remove all X-OTRS Header (allow this only for trusted email) # e. g. from
*@example.com # -- #:0 fhw :
#* !^From.*@uslec.net
#| grep -vi '^X-OTRS-'
Anything that gets sent from @uslec.net doesn't show up in OTRS at all.
Isn't that backwards? And the ignore line doesn't ignore.. It just gets
delivered to OTRS like normal.
Thanks for all the help..
Weston Rogers
Data Applications Engineer
USLec Corp.
704.319.1332
-----Original Message-----
From: Rogers, Weston
Sent: Tuesday, October 14, 2003 11:56 AM
To: 'User questions and discussions about OTRS.'
Subject: RE: [otrs] OTRS to ignore certain emails
Oops.. Correction.. Its not ignoring the emails, heres my .procmailrc
# --
# .procmailrc - procmailrc of the OTRS user
# Copyright (C) 2001-2002 Martin Edenhofer
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 ype=text/x-cvsweb-markup
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 _______________________________________________ OTRS mailing list: otrs - Webpage: http://otrs.org/ Archive: http://lists.otrs.org/pipermail/otrs To unsubscribe: http://lists.otrs.org/cgi-bin/listinfo/otrs Support oder Consulting für Ihr OTRS System? => http://www.otrs.de/ _______________________________________________ OTRS mailing list: otrs - Webpage: http://otrs.org/ Archive: http://lists.otrs.org/pipermail/otrs To unsubscribe: http://lists.otrs.org/cgi-bin/listinfo/otrs Support oder Consulting für Ihr OTRS System? => http://www.otrs.de/ _______________________________________________ OTRS mailing list: otrs - Webpage: http://otrs.org/ Archive: http://lists.otrs.org/pipermail/otrs To unsubscribe: http://lists.otrs.org/cgi-bin/listinfo/otrs Support oder Consulting für Ihr OTRS System? => http://www.otrs.de/

Hi Rogers, On Tue, Oct 14, 2003 at 02:53:46PM -0400, Rogers, Weston wrote:
For some reason, fetchmail works and it delivers it to the correct queue, but even without a .procmailrc it does that, and anything I add in my .procmailrc doesn't seem to work. [...] Anything that gets sent from @uslec.net doesn't show up in OTRS at all. Isn't that backwards? And the ignore line doesn't ignore.. It just gets delivered to OTRS like normal.
Ignored emails will be ignored (and not spooled anywhere). Take care that your MTA is configured with procmail. It doesn't looks so.
Thanks for all the help.. Weston Rogers Data Applications Engineer USLec Corp. 704.319.1332
Martin -- Martin Edenhofer - <martin at edenhofer.de> - http://martin.edenhofer.de/ -- esanta: 9:23pm an 53 Tage 22:40, 9 Benutzer, Durchschnittslast: 0,21, 0,18, 0,12
participants (2)
-
Martin Edenhofer
-
Rogers, Weston