Hi all,

Finally, I've managed to make a filter to do what I really wanted.
I'm on a Linux platform using CPanel server, that uses Exim MTA.
Procmail and all won't work, so my best bet was to make an Exim filter, but
I was too lazy to learn that, and mess up the Exim config... So I decided to
make a PHP filter script that receives the mailpipe from Exim and then
decide what to do with it.

For me, I wanted that only valid customer users that has been created to be
able to send in requests via e-mail. I don't want other people mailing
support helpdesk and especially not SPAM! :p

So I made Exim pipe the mail data into my PHP script, and let me PHP script
queries the OTRS mysql database for a valid user in the database for that
mail sender. If found, the mail will then be piped to PostMaster.pl, if not,
it is discarded.

Well, at least it solved my spam issue :p
I've attached the script with sufficient information inside on how to use...
You can always e-mail me or reply to this topic on the mailing list (grr, I
hate mailing lists! Prefer forums!) if you need help to use it or customise
it.. I'll try my best... Since I'm on 2 months break :p

Best regards,
Au Yong

Attachment: otrsfilter.php
Description: Binary data

_______________________________________________
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/

Reply via email to