Two servers, dns, e-mail apache problem

5 posts / 0 new
Last post
#1 Sat, 03/13/2010 - 06:55
jonkristian

Two servers, dns, e-mail apache problem

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.

Sat, 03/13/2010 - 08:34
andreychek

Howdy,

You may want to check this wiki entry out regarding the "FH_DATE_PAST_20XX" spam rule that's being triggered:

http://wiki.apache.org/spamassassin/Rules/FH_DATE_PAST_20XX

I'd recommend doing the following:

  1. Run sa-update from the command line

If you still have the problem, add this to SpamAssassin's local.cf (in /etc):

score FH_DATE_PAST_20XX 0.0

Then restart SpamAssassin.

-Eric

Sat, 03/13/2010 - 11:07
jonkristian

Thank you so much! This seems to be resolved now:)

Are there any issues i should be careful of when using a different server for serving websites? Apart from the CentOS server running virtualmin I have a windows server, what i do now is just add domain.com and www.domain.com as A-records with the ip of the windows server.

Also, with these site's i am handling all e-mail on the CentOS server, so enabling Apache Website seems a little bloated just to get the webmail interface.

Sat, 03/13/2010 - 11:56
jonkristian

For instance, webmail.domain.com doesn't work for that domain now, I can only assume it's because the A record domain.com is pointing to a different server.

Sat, 03/13/2010 - 21:45
andreychek

Yeah, if you want webmail.domain.com to redirect to some sort of webmail program, I believe you would need to have the Apache feature enabled for that domain.

An alternative would be to use one particular domain on your server as a "primary domain", and have your users use that in order to get to their webmail.

-Eric

Topic locked