Hi Justin,

(sorry for the long delay)

On Sat, Jun 14, 2003 at 01:27:32AM -0300, Justin MacLeod wrote:
> It would be nice to enable the POP3 mail checker to do some basic spam checking.
> 
> As an example, we use Spam Assassin, and it automatically puts the following header:
> 
> X-Spam-Flag: YES
> 
> Into any emails that it detects are spam.
> 
> It would be nice if there was a config option somewhere for each pop 
> mailbox, that I could do some basic filtering by headers, subject,
> body message, from/to/etc. to determine if I would like OTRS to accept
> the message or not, and if it does not accept, to just "delete" the
> messge from the POP3 box. Right now, sifting through the spam in our
> new OTRS install is a bit of a pain.
> 
> Any ideas on how to add some basic perl code now to make this work? Or
> perhaps this feature is already implemented?

Hmm.. I would prefere to add a filter api to the bin/PostMasterPOP3.pl
like procmail for bin/PostMaster.pl (see http://doc.otrs.org/ -> 
Receiving emails -> Via command line program and e. g. procmail).

OTRS is able to parse/work with the X-OTRS-Headers (doc/X-OTRS-Headers.txt)
and the filter (like procmail) could add "X-OTRS-Ignore: yes" if
"X-Spam-Flag: YES" exists. -=> So OTRS would ignore this email.

But bin/PostMasterPOP3.pl and procmail isn't possible (procmail configured 
MTA is required :-(). 

Is there a other nice filter program? The filter api to bin/PostMasterPOP3.pl
is implemented fast.

Thanks for feedback.

> Regards,
> Justin MacLeod

  -Martin

--
Martin Edenhofer - <martin at edenhofer.de> - http://martin.edenhofer.de/
--

_______________________________________________
OTRS mailing list: dev - Webpage: http://otrs.org/
Archive: http://lists.otrs.org/pipermail/dev
To unsubscribe: http://lists.otrs.org/cgi-bin/listinfo/dev

Reply via email to