Re: Help - How to unwind an SRS address?
Koen Martens <[email protected]> Sat, 20 Nov 2004 12:12:11 +0100
| Newsgroups | gmane.mail.spam.srs.general |
|---|---|
| Message-ID | <[email protected]> |
Hi, There is no regex to do so, since you need to verify the crypthographic cookie. Without the secret key, you won't be able too. Of course you can just rewrite it ignoring the cookie, but that isn't something I advice (depending on the application of course). You can use libsrs or libsrs2 or some perl implementation to do reverse rewrite of an srs address if you know the secret's. If you want to ignore the cryptographic cookie, look at http://www.libsrs2.org/srs/srs.pdf, it clearly states the SRS0 and SRS1 address format: SRS0=HHH=TT=hostname=local-part@local-host So the original address is local-part@hostname SRS1=HHH=first-forwarder==HHH=TT=hostname=local-part@local-host And again, the original address is local-part@hostname There ya go, Koen On Sat, Nov 20, 2004 at 10:00:17PM +1100, Chris Drake wrote: > Hi, > > Please can someone give me a regex or *simple* instructions on how to > reconstruct the real senders email address from an SRS one (pref > without installing anything)? > > And yes - I've looked at the docs, but there's loads and loads of > detail - *so* much that I can't figure out easily how to do this with > any confidence that it's going to work properly or indefinitely! > > Many thanks to anyone who can help! > > Kind Regards, > Chris Drake > > > ------- > To unsubscribe, change your address, or temporarily deactivate your subscription, > please go to http://v2.listbox.com/member/[email protected] -- K.F.J. Martens, Sonologic, http://www.sonologic.nl/ Networking, embedded systems, unix expertise, artificial intelligence. Public PGP key: http://www.metro.cx/pubkey-gmc.asc Wondering about the funny attachment your mail program can't read? Visit http://www.openpgp.org/