Specify the "From name" portion of the address

Discuss the Scalix Server software

Moderators: ScalixSupport, admin

ajpierson43

Specify the "From name" portion of the address

Postby ajpierson43 » Tue Mar 21, 2006 11:51 am

Hi all,

In my company we need to be able to sned out emails with a customizable from name. What I mean by that is, for example:

when the recipient recieves the email their client should list the address as being <From name> email@domain.com.

With our old server this was never a problem, but now the from name gets replaced with the display name in scalix. I realize I could change the display name in SAC each time, but that would get a little annoying. We send out multiple emails for different companies, all through the same address, and they all want there own name in the "From name" or "display name". I was able to do this just fine if the account wasn't a defined account on the mail server, but I would like to be able to get the non-delivery notices etcetera.

Just as a note, the proram that we use to sent the emails doesn't support SMTP authentication, so I had to change smptd.cfg to allow it to send un-authenticated. If anyone has any Ideas as to how I can do this, please let me know.

-Adam

ScalixSupport
Scalix
Scalix
Posts: 5503
Joined: Thu Mar 25, 2004 8:15 pm

Postby ScalixSupport » Wed Mar 22, 2006 12:19 pm

Hi,

what client are you using to send mail?

Cheers,

Sascha.

ajpierson43

Postby ajpierson43 » Mon Apr 17, 2006 5:46 pm

I apologize for letting this get a little stale, but I have done a bit more research and have narrowed the focus of my question I believe. I think it all has to do with re-writing message headers. The client I used for this specific example is phpmailer (some scripts written in PHP to do email, but I think that the client is irrelevant. This is what I found.

Here are the message headers as sent from phpmailer to the scalix smtp server.

Date: Mon, 17 Apr 2006 14:56:45 -0600
To: Message To Adam at Populus
Cc: CC To Adam at Populus
From: Test name
Reply-to: adam@populus.com
Subject: TESTPHPmailer6.php
Message-ID: <25a57469bf146e6208a9616d975e54c2@seatdev.populus.com>
X-Priority: 3
X-Mailer: PHPMailer [version 1.73]
Disposition-Notification-To:
MIME-Version: 1.0
Content-Transfer-Encoding: 8bit
Content-Type: text/plain; charset="iso-8859-1"
Return-Path: survey@populus.com

The headers on the message recieved by the client

Return-Path: <survey@populus.com>
Received: from seatdev.populus.com (sandbox.populus.com 192.168.5.25)
by mail.populus.com (Scalix SMTP Relay 10.0.0.175)
via ESMTP; Mon, 17 Apr 2006 15:16:11 -0600 (MDT)
Date: Mon, 17 Apr 2006 14:56:45 -0600
From: survey@populus.com
Reply-To: "Adam Pierson" <adam@populus.com>
To: "Adam Pierson" <adam@populus.com>
cc: "Adam Pierson" <adam@populus.com>
Message-ID: <25a57469bf146e6208a9616d975e54c2@seatdev.populus.com>
Subject: TESTPHPmailer6.php
Disposition-Notification-To: <adam@populus.com>
X-Priority: 3
X-Mailer: PHPMailer [version 1.73]
MIME-Version: 1.0
Content-Type: text/plain;
charset="iso-8859-1"
Content-Transfer-Encoding: 8bit
Content-Disposition: inline

Here are the headers of a nearly identical message sent through a postfix smtp server:
Return-Path: <survey@populus.com>
X-Original-To: adam@populus.com
Delivered-To: adam@populus.com
Received: from localhost (localhost [127.0.0.1])
by mail.populus.com (Postfix) with ESMTP id 1BFFD227D18
for <adam@populus.com>; Mon, 17 Apr 2006 15:26:07 -0600 (MDT)
Received: from mail.populus.com ([127.0.0.1])
by localhost (mail.populus.com [127.0.0.1]) (amavisd-new, port 10024)
with ESMTP id 10531-08 for <adam@populus.com>;
Mon, 17 Apr 2006 15:26:06 -0600 (MDT)
Received: from seatdev.populus.com (safeseat.populus.com [192.168.5.25])
by mail.populus.com (Postfix) with ESMTP id D3CAA227D17;
Mon, 17 Apr 2006 15:26:06 -0600 (MDT)
Date: Mon, 17 Apr 2006 15:05:23 -0600
To: Message To Adam at Populus <adam@populus.com>
Cc: CC To Adam at Populus <adam@populus.com>
From: Test name <survey@populus.com>
Reply-To: adam@populus.com
Subject: TESTPHPmailer6.php
Message-ID: <d8d40a93610bae23717e3d02d5de657a@seatdev.populus.com>
X-Priority: 3
X-Mailer: PHPMailer [version 1.73]
Disposition-Notification-To: <adam@populus.com>
MIME-Version: 1.0
Content-Transfer-Encoding: 8bit
Content-Type: text/plain; charset="iso-8859-1"

Does the Scalix smtp server re-write the message headers, and why?

The specific entry in the header I'm wondering about is the "From:"

-Adam


Return to “Scalix Server”



Who is online

Users browsing this forum: No registered users and 12 guests