|
I was wondering if there was a way or convention to add comments to the configuration text files on an individual line basis? In particular, we use a modified web interface for our employees to check their blocked emails. We would like to automate some of the permiting of from email addresses (and from domains), and periodic cleaning of the setup files?
For example, if mailto:JaneDoe@somewhere.com - JaneDoe@somewhere.com sends an email that was blocked by the spam filter that was from mailto:JohnSmith@outthere.org - JohnSmith@outthere.org which was blocked because of an invalid MX record for ip 10.20.30.40. I would like to update the AllowedFromEmails.txt to something like a few variations below,
mailto:JohnSmith@outthere.org - JohnSmith@outthere.org , Invalid MX record, 10.20.30.40, mailto:JaneDoe@somewhere.org - JaneDoe@somewhere.org , 01/10/2006
mailto:JohnSmith@outthere.org//Invalid - JohnSmith@outthere.org//Invalid MX record, 10.20.30.40, mailto:JaneDoe@somewhere.org - JaneDoe@somewhere.org , 01/10/2006
mailto:JohnSmith@outthere.org<--Invalid - JohnSmith@outthere.org<--Invalid MX record, 10.20.30.40, mailto:JaneDoe@somewhere.org - JaneDoe@somewhere.org , 01/10/2006-->
mailto:JohnSmith@outthere.org'Invalid - JohnSmith@outthere.org'Invalid MX record, 10.20.30.40, mailto:JaneDoe@somewhere.org - JaneDoe@somewhere.org , 01/10/2006'
or any other format that makes sense?
A few of the reasons we would like to keep track of this information is: -Timely updates of blocked allowedfromemails -Ability to quickly identify commonly blocked emailsfrom, and move to alloweddomains. -Ability to Purge allowedfromemails after ~90 days (hopefully the reason for the block has been cleared up) -Reduce the size of the allowedfromemails.
Thanks,
Jeff
|