Hi and thanks for your reply!
Okey so I followed your links. But damn, it doesnt work. Still no mail to hotmail and spam in gmail...
I did this steps:
1. In the /etc/hosts file. It looks like this:
127.0.0.1 localhost.localdomain localhost
127.0.1.1 Akuma.akuma.com Akuma
195.xx.xx.x34 Akuma.akuma.com Akuma
# The following lines are desirable for IPv6 capable hosts
::1 ip6-localhost ip6-loopback
2. sudo sendmailconfig
3. sudo service apache2 restart
I have already a TXT record at my dns provider with: "v=spf1 mx a ip4:193.xx.xx.x34 ~all"
Gmail says that email was sent from Akuma.akuma.com Akuma but it should be sent from my virtual host site mysite.com. I mean, can I setup all my virtualhosts urls connected to the ip in the /etc/hosts, and it automatically check and send the email as the virtualhost? Hope you understand me.
But its strange that hotmail doesnt even get my email...
(Akuma and akuma.com is a dummy name for writing here, but it has the same case format)
Any ideas? Really appreciate your time and help!