> > * Is it useful/desirable to parse the message-id field (into left and
> > right parts)?

Pretty low on my priority list.

> > * Is it useful/desirable to parse the Received field into name/value
> > pairs?

If you can, yes.  Otherwise, we would have to do some on our own.  I've used
regex to do it for specific cases, e.g., (from some old code):

  if (checkRelays) try
  {
    matcher = new Perl5Matcher();
    pattern = new Perl5Compiler().compile("(from|FROM)
.*[\\(\\[]([0-9]{1,3}\\.[0-9]{1,3}\\.[0-9]{1,3}\\.[0-9]{1,3})[\\]\\)]");
  }

The intent was to pull IP addresses from intermediate servers.

        --- Noel


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

  • RE: Mime4J Noel J. Bergman

Reply via email to