postfix sending to wrong address

Aharon Schkolnik aharon at kayote.com
Sun May 15 16:45:44 CEST 2005


Hi.

I am trying to set up kolab on a server using a private address - 
172.16.254.254

When I execute the following command from root on the machine itself :

echo test | mail -v aharon at it-1.devops.kayote.com

it changes the 
MAIL From: and RCPT To:  headers to  premium.geo.yahoo.akadns.net

as follows:


[root at it-1 kolab]# echo test | mail -v aharon at it-1.devops.kayote.com
aharon at it-1.devops.kayote.com... Connecting to [127.0.0.1] via relay...
220 it-1.devops.kayote.com ESMTP Postfix
>>> EHLO premium.geo.yahoo.akadns.net
250-it-1.devops.kayote.com
250-PIPELINING
250-SIZE 20971520
250-VRFY
250-ETRN
250-STARTTLS
250 8BITMIME
>>> STARTTLS
220 Ready to start TLS
>>> EHLO premium.geo.yahoo.akadns.net
250-it-1.devops.kayote.com
250-PIPELINING
250-SIZE 20971520
250-VRFY
250-ETRN
250-AUTH PLAIN LOGIN
250-AUTH=PLAIN LOGIN
250 8BITMIME
>>> MAIL From:<root at premium.geo.yahoo.akadns.net> SIZE=40 
AUTH=root at premium.geo.yahoo.akadns.net
250 Ok
>>> RCPT To:<aharon at premium.geo.yahoo.akadns.net>
>>> DATA
250 Ok
354 End data with <CR><LF>.<CR><LF>
>>> .
250 Ok: queued as F1894A4011
aharon at it-1.devops.kayote.com... Sent (Ok: queued as F1894A4011)
Closing connection to [127.0.0.1]
>>> QUIT
221 Bye





here is a part of main.cf


#   local host
myhostname = it-1.devops.kayote.com
mydomain = devops.kayote.com
myorigin = $mydomain
relayhost = 

What am I doing wrong ??


-- 
  The day is short, and the work is great,  |  Aharon Schkolnik
  and the laborers are lazy, and the reward |  
  is great, and the Master of the house is  |  aharon at kayote.com
  impatient. - Ethics Of The Fathers Ch. 2  |  052-5560120




More information about the users mailing list