On Friday, May 28, 2004 10:12 PM
Tyler Hepworth <[EMAIL PROTECTED]> wrote:
>> I have attached a Custom Postmaster module that implements ignoring
>> messages and sending an email to the sender letting them know that
>> the message was ignored and why.  This might be a good thing to put
>> in the doc examples as questions of this type have been asked
>> before.  I know there are procmail/spamassasin solutions to this
>> kind of issue, but I don't have the luxury of either of those items.
>> I have to work with our companies exchange server and thought this
>> might be useful to those in a similar situation.

The easier solution were to set up some sort of reject queues with
specific auto responses set and use a simple PostMasterFilter to feed
them.

But don't let me lower your solution - it may well serve best its
purpose and will surely suit you as a starting point for more advanced
examples. Both solutions have theier dis/advantages, it's up to the user
at last.

One could argue about putting the Bodies into variables that are set via
Config.pm, though.

>> Robert,
>>
>> Would you mind browsing the code and tell me if you think it looks
>> efficient enough or whether I should change it.

My 0.02:
+You do not leave any infomation why the reject note wasn't sent, if it
weren't.
+Additionally, you do not log the error as such to the LogObject, don't
you want to?

Just nothing:
+Debug support would be nice, but isn't necessary.
+Try to stick to 80 chars in comments and general, if possible. Multiple
comment lines are ok.

Good work! I will integrate it in the docs. Tell me when it's ripe.
You're on track.

Robert Kehl

--
((otrs.de)) :: OTRS GmbH :: Norsk-Data-Str. 1 :: 61352 Bad Homburg
         http://www.otrs.de/ :: Tel. +49 (0)6172 4832388

_______________________________________________
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