Script to look an ip from maillog and resolve the location
$10-30 USD
In Progress
Posted over 8 years ago
$10-30 USD
Paid on delivery
I need a custom small script that will look from Exim maillog the last connection to a one certain email address and resolve the IP address location where this connection was made from.
Example log line is usually something like this:
Jan 25 10:17:09 server dovecot: imap-login: Login: user=<[login to view URL]>, method=PLAIN, rip=[login to view URL], lip=[login to view URL], mpid=25748, TLS, session=<72aIKh8qqOF6zX0>
Hello. I am interested in this project.
I would like to use a http request to get the ip loation. May I use wget or curl in the script?
Would you please also tell me the path of the mail log?
Please PM me for discussion.
Thanks.