Hi all, hope you can help me.
I need a script which will be obtaining and IP address from a hostname imap.gmail.com and then updating the email server.
I know it should look something like
:local emailip
:set emailip 127.0.0.1
:log info ("Updating email server with: $emailip")
:tool e-mail set address="$emailip"
I cannnot however parse the actual imap.gmail.com IP address to the $emailip variable.
I tried to use PING address=imap.gmail.com but have no idea how to gather just the HOST part of it.