Ticket #3261 (closed defect: Not Reproducible)
Mailprocessor.py DNS lookup failes due to last char truncated in "From:" field
| Reported by: | zenoss | Owned by: | kkearney |
|---|---|---|---|
| Priority: | 3 - Medium | Milestone: | Blue Crab |
| Component: | ZenEvents | Version: | 2.1.3 |
| Keywords: | zenoss-2.2.1-proposed | Cc: | |
| Community Patch Attached: | Deployed @ Customer: | ||
| Installer: | Any/All | Maintenance Target: | |
| Specific ZenPack: | Maintenance Status: | ||
| Documentation Note?: | Not required | Regression: |
Description
Last char of "From:" being stripped causing DNS lookup of
hostname to fail entire script
/usr/local/zenoss/Products/ZenEvents/MailProcessor.py", line 64
orig: fromAddr = message.get('From').split('@')[1][:-1]
change: fromAddr = message.get('From').split('@')[1]
I have tested fix, works well for me :)
PJP13
Attachments
Change History
Note: See
TracTickets for help on using
tickets.