
Alex,
I think you can set the customer-maildomain with just one Postmaster Filter as Customer#.
Search for: Header1: From Value: .+@(.+) Perhaps you have to mask the @ as \@
Set as: Header1: X-OTRS-CustomerNo Value: [***]
That's pretty cool - it would be nice to be able to remove the trailing ">" from the mail domain but I think it might be good enough for now -- now I'll investigate the GenericAgent modules ...
I didn't ever try it - perhaps you have to modify it kindly.
If just the mail-domain isn't sufficient for you, you could set @[***] and run a generic agent every x minutes searching for customerno with ^@(.+) and replaces it with the proper company name looked up in the db-table you described. This can be done by a self-written GenericAgent-module.
Bye, Alex
p.s. I never used customer-groups. Check out this stanard-feature of OTRS, but I think it doesn't suit your needs.
Thanks again for your help.
Marcus
Your welcome, Alex _______________________________________________ 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 orr consulting for your OTRS system? => http://www.otrs.com/