Is procmail still used when fetching mail from POP3 accounts from within OTRS?
I'm dealing with the same problem :) - Mark On Wed, 19 Feb 2003 15:59:33 +0100 Stefan Schmidt <[EMAIL PROTECTED]> wrote: > Hi, > > On Wednesday 19 February 2003 15:13, Marc Scheuffler wrote: > > Is the following procedure possible? (because of statistic > > reasons) > > > > Email is coming into otrs -> pool x or y or z > > GenericAgent looks for: from, subject or header > > If from is [EMAIL PROTECTED] or subject contains "*** spam ***" then > > forward to queue SPAM > > > > I know this is normally done by procmail (like in our system) but > > procmail is the fronttool > > and the mail never gets into otrs (which is normaly ok). > > But we would like to count such mails for statistic reasons. > > Of course it can be done by procmail, you simply add an additional > header to the mail, and OTRS sorts it directly into the SPAM-Queue: > .procmail > === > # -- > # presort mails if spamassassin marks the incoming mail as spam > # -- > :0 fhw : > * ^X-Spam-Status: Yes > | formail -I "X-OTRS-Queue: Spam" > === > (this or smth. the like should be in /opt/otrs/.procmail anyway, but > commented out). > The drwaback is, that yuou have to close them manually, which is > terrible ;-) > > > Marc > > Stefan > -- > Stefan Schmidt Email: [EMAIL PROTECTED] _______________________________________________ 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