View Single Post
Old 8th February 2010, 17:27
merisor merisor is offline
Junior Member
Join Date: Feb 2010
Location: Bucharest, Romania
Posts: 6
Thanks: 0
Thanked 0 Times in 0 Posts

Originally Posted by till View Post
This is no issue with the server, it is the normal way smtp servers work. Your server setup is absolutely fine.
Thank you for the reply!
Actually this answers my first question. I understood by now that the server setup is fine. As a matter of fact I can send/receive mail to/from any domain with an register MX, the server requires auth before sending emails to other domains than declared in "mynetworks", multidomain works fine,etc.

But, regarding the general purpose of ISPConfig to be able to setup multiple domains for different clients on the same server (eg and, it doesn't strike me as normal and recomended configuration when an register user - can send an email anywhere as the for example. And yes, I know this is the way NORMAL SMTP servers are working , but they shouldn't - and this must be configurable/stopped if we want to.

I got the header from one of those emails and. Here I could still see my real SMTP But concerning Gmail, Yahoo and even regular desktop clients, they show by default only the user declared sender address

From - Mon Feb  8 15:13:25 2010
X-Account-Key: account6
X-UIDL: UID28-1265567330
X-Mozilla-Status: 0001
X-Mozilla-Status2: 00000000
Received: from localhost (unknown [])
	by localhost (Postfix) with ESMTP id 80051C4705
	for <>; Mon,  8 Feb 2010 13:12:13 +0000 (UTC)
X-Virus-Scanned: amavisd-new at localhost
Received: from localhost ([])
	by localhost ( []) (amavisd-new, port 10024) with ESMTP
	id TowsyWQRHiDX for <>;
	Mon,  8 Feb 2010 15:12:02 +0200 (EET)
Received: from [] (unknown [])
	(Authenticated sender:
	by localhost (Postfix) with ESMTPSA id 8E40CC4686
	for <>; Mon,  8 Feb 2010 15:12:02 +0200 (EET)
Message-ID: <4B700DD5.3050105@somedomain.dom>
Date: Mon, 08 Feb 2010 15:12:53 +0200
From: My Name <>
User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv: Gecko/20100120 Fedora/3.0.1-1.fc12 Thunderbird/3.0.1
MIME-Version: 1.0
To: Destination <>
Subject: Test for different sender address then authentificated sender
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
To make matter worse, with the default setup, following /etc/Postfix/, an user can send unauthenticated messages to users registered at "mynetworks" . In this case ANYONE can send an email to - using its smtp server - impersonating and to be honets I almost never check the message header when is being push to my mobile or desktop client.

I know this may not be a ISPConfig problem, but it should raise some questions about filtering these mails. That's why I asked for help through the second question.

As dipeshmehta suggested, the answer might be in altering the header through address rewriting which I'm not familiar with. I think one can put a rule that if is not equal with Postfix should not deliver the message to its recipients.

Reply With Quote