Don’t think it’s a dns problem though, here’s the deal. I have two A record’s set up for a domain.com and www.domain.com that goes to a different server (Windows server) which only hosts the website. I also have mail accounts on that domain that goes to the server running virtualmin (The one everything is set up on). Google e-mail get bounced and treated as spam, only if i hit reply on google it will get through. I can’t access webmail, receiving mail sent from other mail accounts works.
any ideas?
Mar 13 13:32:35 ns1 postfix/smtpd[1272]: connect from mail-ww0-f43.google.com[74.125.82.43]
Mar 13 13:32:35 ns1 postfix/smtpd[1272]: DB4D81BC899: client=mail-ww0-f43.google.com[74.125.82.43]
Mar 13 13:32:36 ns1 postfix/cleanup[1275]: DB4D81BC899: message-id=96dfad1e1003130441j65cbca9dpea245121437b2066@mail.gmail.com
Mar 13 13:32:36 ns1 postfix/qmgr[767]: DB4D81BC899: from=XXX@gmail.com, size=2005, nrcpt=1 (queue active)
Mar 13 13:32:36 ns1 spamd[5934]: spamd: connection from ns1.domain.com [127.0.0.1] at port 45510
Mar 13 13:32:36 ns1 spamd[5934]: spamd: setuid to name.domain succeeded
Mar 13 13:32:36 ns1 spamd[5934]: spamd: processing message 96dfad1e1003130441j65cbca9dpea245121437b2066@mail.gmail.com for name.domain:532
Mar 13 13:32:36 ns1 spamd[5934]: spamd: identified spam (5.8/5.0) for name.domain:532 in 0.2 seconds, 2133 bytes.
Mar 13 13:32:36 ns1 spamd[5934]: spamd: result: Y 5 - AWL,FH_DATE_PAST_20XX,HTML_MESSAGE,TVD_SPACE_RATIO scantime=0.2,size=2133,user=name.domain,uid=532,required_score=5.0,rhost=ns1.domain.com,raddr=127.0.0.1,rport=45510,mid=96dfad1e1003130441j65cbca9dpea245121437b20662@mail.gmail.com,autolearn=no
Also, it botheres me that we have to active apache to get webmail, I am sure there could be better ways to do this, having apache directives for every account that only uses mail is kinda bloated imho.