View Single Post
Old 17th May 2008, 16:05
Dennis Dennis is offline
Junior Member
Join Date: Sep 2007
Posts: 22
Thanks: 7
Thanked 2 Times in 2 Posts
Unhappy dns/mail server domain change -> squirrelmail emails still with old domain -> spam

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:
Return-Path: <email@domain_added_though_ispc.tld>
X-Flags: 1001
Delivered-To: Emailprovider delivery to emailaccaount@emailprovider.tld
Received: (qmail invoked by alias); 17 May 2008 10:13:44 -0000
Received: from mail.newdomain.tld (EHLO mail.newdomain.tld) []
by mx0.emailprovider.tld (mx002) with SMTP; 17 May 2008 12:13:44 +0200
Received: from www.olddomain.tld (localhost [])
by mail.newdomain.tld (Postfix) with ESMTP id 196621E94153
for <emailaccount@emailprovider.tld>; 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: <54833.yyy.yyy.yyy.yyy.1211019224.squirrel@www.old domain.tld>

Date: Sat, 17 May 2008 12:13:44 +0200 (CEST)
Subject: squirrelmail test
From: "Test" <email@domain_added_through_ispc.tld>
To: emailaccount@emailprovider.tld
Reply-To: email@domain_added_through_ispc.tld
User-Agent: SquirrelMail/1.5.1
MIME-Version: 1.0
Content-Type: text/plain;charset=iso-8859-1
Content-Transfer-Encoding: 8bit
X-Emailprovider-Antivirus: -1 (not scanned, may not use virus scanner)
X-Emailprovider-Htest: 0.6899999999999999
X-Emailprovider-Antispam: 4 (From SPF protected domain over unauthorized server)
X-Emailprovider-UID: 65gcebFrIyd196J5QWdrp5laa2FkZlWC
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 = 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) []
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.

Last edited by Dennis; 17th May 2008 at 19:19.
Reply With Quote
Sponsored Links