I am working on a command line batch script for linux, that is aimed at logging in to a GroupWise WebAccess server.
I want todo this to verify the status of the Agent that reports it being up/ok, while it does not always neccesarily mean just that when its through the WebAccess portion of our mail system.
I've already made a script thats able to DL and check for the proper front page, however, I am unable to log in to WebAccess this way. I've tried using both WGET and CURL to DL the cookies, they still end up blank.
# These are the code snippets I've used while trying to DL the cookie:
--save-cookies ~/webmailcookie \
--post-data "User.id=******&User.password=*******" \
-O - \
--cookie-jar ~/webmailcookie \
--data "User.id=****&User.password=*******" \