Hi All

I would like to create a matcher for James2.3.2 .

The matcher only to separate incoming and outgoing only .

So if it's incoming email I want to execute mailet a , if it's outgoing
email I wan to execute mailet b.

I'm thinking of getting the sender/recipient address as string and then
get the domain name . But my concern is if one day I change my domain
name then I also will have to change my source code.

So does any of you have any advice how to do this in more "elegant" way
? maybe an attributes that will provide more accurate information to
differentiate incoming / outgoing mail ?

Thanks and regards
Kevin

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to