Recently I changed my server domain. Now squirrelmail emails are classified as spam - "From SPF protected domain over unauthorized server". Roundcube emails are not classified as spam. The squirrelmail emails still show the old domain.
Here is the header of a squirrelmail email:
Delivered-To: Emailprovider delivery to email@example.com
Received: (qmail invoked by alias); 17 May 2008 10:13:44 -0000
Received: from mail.newdomain.tld (EHLO mail.newdomain.tld) [xxx.xxx.xxx.xxx]
by mx0.emailprovider.tld (mx002) with SMTP; 17 May 2008 12:13:44 +0200
Received: from www.olddomain.tld (localhost [127.0.0.1])
by mail.newdomain.tld (Postfix) with ESMTP id 196621E94153
for <firstname.lastname@example.org>; Sat, 17 May 2008 12:13:44 +0200 (CEST)
Received: from yyy.yyy.yyy.yyy
(SquirrelMail authenticated user username)
by www.olddomain.tld with HTTP;
Sat, 17 May 2008 12:13:44 +0200 (CEST)
Message-ID: <email@example.com domain.tld>
Date: Sat, 17 May 2008 12:13:44 +0200 (CEST)
Subject: squirrelmail test
From: "Test" <email@domain_added_through_ispc.tld>
X-Emailprovider-Antivirus: -1 (not scanned, may not use virus scanner)
X-Emailprovider-Antispam: 4 (From SPF protected domain over unauthorized server)
I was sending a test email from an email address created by ispconfig (email@...) to a freemail account (emailaccount@...).
olddomain = domain used during "Perfect server setup - Debian Etch", ispconfig, roundcube plugin and squirrelmail plugin install.
newdomain = new domain for the dns and mail server
domain_added_through_ispconfig = this domain has been added through ispconfig
xxx.xxx.xxx.xxx = my server ip
yyy.yyy.yyy.yyy = my dynamic ip at home
Does anyone know where I can change those old entries?
I just used the dns manager. Although I did not change anything - I just saved the existing settings of the domain_added_through_ispc -, roundcube emails now show the old domain, too:
Received: from server1.olddomain.tld (EHLO mail.newdomain.tld) [xxx.xxx.xxx.xxx]
Which file did I forget to change?
Edit 2: I have only restarted the server and now all emails go into the inbox. Roundcube header shows the new domain. Squirrelmail still shows the same header as above, but it is not classified as spam.
I tried to reproduce the problem with the dns manager, but this time the server name does not change.
Still I don' t like the fact that squirrelmail shows the old domain. Moreover I don' t like that the ispconfig account username is shown in the header.