[GH-ISSUE #76] Feature Request for sender/recipient with BATV signatures #62

Closed
opened 2026-05-05 15:03:14 -06:00 by gitea-mirror · 6 comments
Owner

Originally created by @ravensorb on GitHub (Jun 6, 2020).
Original GitHub issue: https://github.com/darold/sendmailanalyzer/issues/76

I have a lot of mail addresses are seen in BATV format in my log (have "prvs=" prefix) for example prvs=8407575794=someuser@mydomain.com Now the number after prvs changes, however the someuser@mydomain.com is consistent. Is there anyway for sendmailanalyzer to collapse these into the same sender/recipient?

For reference: https://en.wikipedia.org/wiki/Bounce_Address_Tag_Validation

Originally created by @ravensorb on GitHub (Jun 6, 2020). Original GitHub issue: https://github.com/darold/sendmailanalyzer/issues/76 I have a lot of mail addresses are seen in BATV format in my log (have "prvs=" prefix) for example ```prvs=8407575794=someuser@mydomain.com``` Now the number after prvs changes, however the someuser@mydomain.com is consistent. Is there anyway for sendmailanalyzer to collapse these into the same sender/recipient? For reference: https://en.wikipedia.org/wiki/Bounce_Address_Tag_Validation
Author
Owner

@darold commented on GitHub (Jun 7, 2020):

Commit 7cd749f might do the job.

<!-- gh-comment-id:640166515 --> @darold commented on GitHub (Jun 7, 2020): Commit 7cd749f might do the job.
Author
Owner

@ravensorb commented on GitHub (Jun 7, 2020):

Aswesom!

<!-- gh-comment-id:640190674 --> @ravensorb commented on GitHub (Jun 7, 2020): Aswesom!
Author
Owner

@ravensorb commented on GitHub (Jun 7, 2020):

Hmm, I applied the update and I am still seeing the prvs= address in the senders report. I even deleted all of the data an reprocessed 3 years of mail logs (not only 3 months seem to be in the report -- can I force it to go back and process older ones?)

<!-- gh-comment-id:640232595 --> @ravensorb commented on GitHub (Jun 7, 2020): Hmm, I applied the update and I am still seeing the prvs= address in the senders report. I even deleted all of the data an reprocessed 3 years of mail logs (not only 3 months seem to be in the report -- can I force it to go back and process older ones?)
Author
Owner

@darold commented on GitHub (Jun 8, 2020):

Ok, I see, new commit 80889ea might fix the remaining problem. If the problem persist please post some lines of your log file to reproduce the issue.

If you want to force sendmailanalyzer to analyze old files you have to remove file /usr/local/sendmailanalyzer/data/LAST_PARSED before.

<!-- gh-comment-id:640370927 --> @darold commented on GitHub (Jun 8, 2020): Ok, I see, new commit 80889ea might fix the remaining problem. If the problem persist please post some lines of your log file to reproduce the issue. If you want to force sendmailanalyzer to analyze old files you have to remove file `/usr/local/sendmailanalyzer/data/LAST_PARSED` before.
Author
Owner

@ravensorb commented on GitHub (Jun 8, 2020):

That seems to have done it -- note its possible there was a user error on my part. I was updating the version in /usr/local/sendmailanalyzer and I found I had a 2nd copy in /usr/bin - i remove the /usr/bin and setup a symbolic link :)

One last question -- if I change the file format to RSYSLOG_FileFormat (this include the UTC date format as the first colum), will your script be able to handle it?

<!-- gh-comment-id:640566712 --> @ravensorb commented on GitHub (Jun 8, 2020): That seems to have done it -- note its possible there was a user error on my part. I was updating the version in /usr/local/sendmailanalyzer and I found I had a 2nd copy in /usr/bin - i remove the /usr/bin and setup a symbolic link :) One last question -- if I change the file format to RSYSLOG_FileFormat (this include the UTC date format as the first colum), will your script be able to handle it?
Author
Owner

@darold commented on GitHub (Jun 8, 2020):

I don't remember, let's try it. If it don't work or give inconsistent data post one line or two of the log file so that I can update the regexp.

<!-- gh-comment-id:640574714 --> @darold commented on GitHub (Jun 8, 2020): I don't remember, let's try it. If it don't work or give inconsistent data post one line or two of the log file so that I can update the regexp.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: github-starred/sendmailanalyzer#62
No description provided.