Okay So here is what I have done so far and it seems to be doing what it should. including deleting the mail from the hawk host email address once its forwarded to gmail. I think I am doing it right? and incase somebody wants the information..
My solution:
mail.mydomain.com is working for the smtp server, its ssl 465. so thats working fine, from my tests.
then I setup a forwarding from cpanel which forwards the mail to my gmail inbox.
next I setup pop3 in gmail (settings [gearbox symbol] > accounts and import > check mail from other accounts>add email account
[email protected] with relevant details,
then I went to the forwarding and pop/imap setup tab under gmail settings to the right, and enabled pop and selected keep gmails copy in the inbox.
This way as soon as mail is sent to the user@mydomain,.com it comes to my gmail inbox, gmail checks pop likely every other hour, so its faster than pop,
and once gmail checks and syncs with mail in
[email protected] and sees its already present in the gmail inbox, it automatically deletes the mail in the hawkhost/cpanel/webmail/
[email protected] inbox. so every hour/day the mailbox in
[email protected] will be deleted/cleared of emails by gmail.
Now this works great for basic users as myself who may get a few emails every other day, and will work for most people short of maybe the elite power users who get tons and tons a day. But I am sure those type of users will have all dedicated mail systems and all that fancy stuff setup already.
so this is the solution that seems to be working, without needing to do any corn jobs etc, finally I also bought a 100GB google drive space for my gmail inbox so now I an handle both personal and business related mails from the same inbox, also there is an option in gmail to select "send email as original recipients address or something along those lines" this allows you not having to switch every time you want to reply, as in if somebody sends you a private email at
[email protected] then you can reply automatically as
[email protected] but if anybody sends you a message to
[email protected] you dont need to click and change the send as
[email protected], its automatically selected.
there are a few bugs with cookies timing out when login in to the mydomain.com/webmail and takes at least 5 tries (or did when I was testing last night)
So far this is exactly what I was looking for, better than buying a google suit, I get a @mydomain.com email through hawkhost, and still use the gmail interface, use one email login for the two purposes, and on top, I get more space for far less money, google suit is about 30GB for a lot more price when I got 100GB for half as much. So all worked out wonderfully.
hope this helps somebody and if you see any flaws or place of improvements I can make to my current setup, do advise.
Thanks everyone and happy holidays. .