You could also use the RemoteAddrInNetwork (if you know all outgoing source addresses) or SMTPAuthSuccessful (if you require authentication for all outgoing mail).

-Mike Bryant

On May 24, 2007, at 4:35 PM, Norman Maurer wrote:

Hi,

maybe you can use the "HostIsLocal" matcher. See:

http://james.apache.org/server/2.3.1/provided_matchers.html

bye
Norman

ketanbparekh schrieb:
Hi all,

I am using james 2.3.0 along with jsieve to filter mails. We will be using two sieve script files one for filtering incoming mails(for detecing spam content and other such stuffs) and one for outgoing mails(to check whether
any confidential information is not going out for enterprise).


How can it be determined whether the mail is incoming or outgoing so as the
corresponding filter will be invoked.?

Also what to do for scenarios if mail is sent to some users of local domain
while some of remote domain.?

Thanks in Advance,
Ketan.B.Parekh




---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to