You are viewing a plain text version of this content. The canonical link for it is here.
Posted to server-user@james.apache.org by Jerry Malcolm <te...@malcolms.com> on 2014/12/01 00:04:13 UTC

Converting BATV address to regular email address?

I received an email through my JAMES server from an address 
"prvs=aakjadsfjasd=user@domain.com".   This my first experience with 
Bounce Address Tag Validation format for email addresses.  As you might 
suspect, my mailets that do things based on the sender's email address 
all crashed and burned on this email.

I figure I can do some string manipulation each time I need the real 
sender address to get the true email address.  But I figured I'd at 
least ask if there are some service routines already existing in 
JavaMail / JAMES to handle BATV email addresses.

Does JAMES or JavaMail deal with BATV-form email addresses?

Thanks.

Jerry

---------------------------------------------------------------------
To unsubscribe, e-mail: server-user-unsubscribe@james.apache.org
For additional commands, e-mail: server-user-help@james.apache.org


Re: Converting BATV address to regular email address?

Posted by Robert Munn <ro...@gmail.com>.
There is the list of BATV deployments at the BATV site:

http://mipassoc.org/batv/deploy/index.html

JavaMail and James are not on the list. Could still be an implementation floating around somewhere, or you could look at one of the other implementations to get ideas for how to deal with it. Here is a good hint about parsing the local-part address from the spec. Check the last paragraph of item 3, Local-Part Meta-Syntax: 

http://mipassoc.org/batv/draft-levine-smtp-batv-01.html:

"This syntax is chosen so that software that needs, for legacy compatibility reasons, to recover the original bounce address can do so by checking for the presence of the tag-type, and if it is present, discarding the local-part up through the second equal sign."

HTH

Robert








On Nov 30, 2014, at 3:04 PM, Jerry Malcolm <te...@malcolms.com> wrote:

> I received an email through my JAMES server from an address "prvs=aakjadsfjasd=user@domain.com".   This my first experience with Bounce Address Tag Validation format for email addresses.  As you might suspect, my mailets that do things based on the sender's email address all crashed and burned on this email.
> 
> I figure I can do some string manipulation each time I need the real sender address to get the true email address.  But I figured I'd at least ask if there are some service routines already existing in JavaMail / JAMES to handle BATV email addresses.
> 
> Does JAMES or JavaMail deal with BATV-form email addresses?
> 
> Thanks.
> 
> Jerry
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: server-user-unsubscribe@james.apache.org
> For additional commands, e-mail: server-user-help@james.apache.org
> 


---------------------------------------------------------------------
To unsubscribe, e-mail: server-user-unsubscribe@james.apache.org
For additional commands, e-mail: server-user-help@james.apache.org