Axel Werner wrote:
Hi Postfix-Experts!
ive got some strange thing going on here..
if ill send a mail (using smtp mailclient or just "mail" on the shell)
my postfix expands the TO Adress from "[EMAIL PROTECTED]" to
"[EMAIL PROTECTED]" for some reason i dont know and i didnt
find within 8h of searching and reading manuals :)
# postconf -e "append_dot_mydomain=no"
http://www.postfix.org/ADDRESS_REWRITING_README.html#standard
the interesting thing about it is.. that postfix WILL NOT EXPAND the
same adress if i use "[EMAIL PROTECTED]" (with no domain! just hostname)
if you saw this, you were running different MTAs (or multiple instances
with different configs).
Does anyone knows where this is coming from and how to stop it from
expanding the "localhost" domain-part ??
SEE HERE:
My Linux Server is Ubuntu 8.04.1 running postfix, cyrus pop/imap,
postgrey, ddclient, bind9, dhcpd etc.. anything up 2 date
As User "root" on the console i type:
[EMAIL PROTECTED]:/etc/bind# ls -la | mail -s "subject" [EMAIL PROTECTED]
[EMAIL PROTECTED]:/etc/bind#
just to send some local mail to a local user/mailbox.
Now see the Log when everything is going fine:
/var/log/mail.log if sending to [EMAIL PROTECTED]
Sep 18 12:47:49 freiburg2 postfix/pickup[12475]: D7F011485BB: uid=0
from=<root>
Sep 18 12:47:49 freiburg2 postfix/cleanup[12564]: D7F011485BB:
message-id=<[EMAIL PROTECTED]>
Sep 18 12:47:49 freiburg2 postfix/qmgr[12192]: D7F011485BB:
from=<[EMAIL PROTECTED]>, size=1702, nrcpt=1 (queue active)
Sep 18 12:47:49 freiburg2 postfix/local[12566]: D7F011485BB:
to=<[EMAIL PROTECTED]>, orig_to=<[EMAIL PROTECTED]>, relay=
Sep 18 12:47:49 freiburg2 postfix/qmgr[12192]: D7F011485BB: removed
do you need coffee or new glasses?
now watch the show if i send the same to "[EMAIL PROTECTED]"
<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<
/var/log/mail.log if sending to [EMAIL PROTECTED]
Sep 18 12:57:06 freiburg2 postfix/pickup[12475]: 6C5871485BB: uid=0
from=<root>
Sep 18 12:57:06 freiburg2 postfix/cleanup[12588]: 6C5871485BB:
message-id=<[EMAIL PROTECTED]>
Sep 18 12:57:06 freiburg2 postfix/qmgr[12192]: 6C5871485BB:
from=<[EMAIL PROTECTED]>, size=1703, nrcpt=1 (queue active)
Sep 18 12:57:06 freiburg2 postfix/smtp[12590]: 6C5871485BB:
*to=<[EMAIL PROTECTED]>, orig_to=<[EMAIL PROTECTED]>*, relay=ma
Sep 18 12:57:06 freiburg2 postfix/qmgr[12192]: 6C5871485BB: removed
(END)
WTF is goin on here ?? Where does it gets the '@localhost.homeip.net' ?
i dont run this domain/hostname .
[snip]
would someone please help me opening my eyes ??
we can't. ask a doctor ;-p