The relevant part is:
:0 :: * ^To:[EMAIL PROTECTED]@.*|^(CC|Cc):[EMAIL PROTECTED] * !^Subject:.*\[Tkt: 1[0-9].*\] | (formail -t -r -k -p "> " -I "Reply-To: <reply address>"; cat /path/to/rejection/message) | sendmail -t
You will obviously have to customise the subject match to correspond to your ticket number format. Replace <reply address> with the address you want replies to go to should customers reply to the rejection message - unless you want them arriving back in the ticket system, in which case remove the -I option.
it works perfectly, thanks ! now that we have the basic procmail building blocks, we'll try to extend this ruleset to do cool things like blacklisting stupid customers, forbid HTML content, etc.
-- S�bastien Guilbaud _______________________________________________ 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/
