Re: Getting localhost put in my From field

2009-02-10 Thread Wietse Venema
Xn Nooby:
 I have been trying to figure out how to get Postfix to not append
 localhost in to the From: field. I am sending email mostly between
 two local users, using RHEL5/Squirrelmail/Postfix/Dovecot.
 
 When I send an email from
 
   user_...@schoolretail.local
 
 to
 
   user_...@schoolretail.local
 
 it arrives from
 
   user_...@localhost.schoolretail.local

Why do you believe that Postfix does this? Please do not confuse
the messenger (Postfix) with the news itself (a broken address).

Wietse


Re: Getting localhost put in my From field

2009-02-10 Thread Xn Nooby
On Tue, Feb 10, 2009 at 8:05 AM, Wietse Venema wie...@porcupine.org wrote:
 Xn Nooby:
 I have been trying to figure out how to get Postfix to not append
 localhost in to the From: field. I am sending email mostly between
 two local users, using RHEL5/Squirrelmail/Postfix/Dovecot.

 When I send an email from

   user_...@schoolretail.local

 to

   user_...@schoolretail.local

 it arrives from

   user_...@localhost.schoolretail.local

 Why do you believe that Postfix does this? Please do not confuse
 the messenger (Postfix) with the news itself (a broken address).

Wietse


You were correct, I had to set the site name in squirrelmail!

thanks!


Re: Getting localhost put in my From field

2009-02-09 Thread Victor Duchovni
On Mon, Feb 09, 2009 at 09:43:49PM -0500, Xn Nooby wrote:

 I have been trying to figure out how to get Postfix to not append
 localhost in to the From: field. I am sending email mostly between
 two local users, using RHEL5/Squirrelmail/Postfix/Dovecot.
 
 When I send an email from
 
   user_...@schoolretail.local
 
 to
 
   user_...@schoolretail.local
 
 it arrives from
 
   user_...@localhost.schoolretail.local

What version of Postfix is this? Does the mail ever leave the Postfix
system, or is just delivered to a local mailbox?

Where are the logs for the delivery and the Received headers?

 mydestination = $mydomain, $myhostname, localhost.$mydomain
 mydomain = schoolretail.local
 myhostname = schoolmail.schoolretail.local
 mynetworks = 127.0.0.0/8
 myorigin = schoolretail.local
 relayhost = 192.168.1.16

This should result in a local delivery with no rewriting.

-- 
Viktor.

Disclaimer: off-list followups get on-list replies or get ignored.
Please do not ignore the Reply-To header.

To unsubscribe from the postfix-users list, visit
http://www.postfix.org/lists.html or click the link below:
mailto:majord...@postfix.org?body=unsubscribe%20postfix-users

If my response solves your problem, the best way to thank me is to not
send an it worked, thanks follow-up. If you must respond, please put
It worked, thanks in the Subject so I can delete these quickly.