mirror of
https://github.com/darold/sendmailanalyzer.git
synced 2026-05-15 22:02:32 -06:00
[GH-ISSUE #76] Feature Request for sender/recipient with BATV signatures #62
Labels
No labels
enhancement
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: github-starred/sendmailanalyzer#62
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
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.comNow 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
@darold commented on GitHub (Jun 7, 2020):
Commit
7cd749fmight do the job.@ravensorb commented on GitHub (Jun 7, 2020):
Aswesom!
@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?)
@darold commented on GitHub (Jun 8, 2020):
Ok, I see, new commit
80889eamight 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_PARSEDbefore.@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?
@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.