OSEC

Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com
append_at_myorigin for envelope addresses?

From: Stefan Palme (kleinerhora-obscura.de)
Date: Fri Aug 29 2008 - 04:30:23 CDT


Hi,

the following SMTP sessions works:

----------------------------------------------
> telnet localhost 25
...
EHLO localhost
...
MAIL FROM: root
250 2.1.0 Ok
RCPT TO: root
250 2.1.5 Ok
DATA
354 End data with <CR><LF>.<CR><LF>
To: root
From: root
Subject: test

.
250 2.0.0 Ok: queued as 1FE944A4078
----------------------------------------------

I receive the email in the correct mailbox. My main.cf contains

  append_at_myorigin = yes
  append_dot_mydomain = yes
  local_header_rewrite_clients =

In the received mail the From: and To: headers are indeed only
"root" (and not "rootmydomain.com").

But what makes postfix accept the non-fully-qualified envelope
sender and recipient addresses? I don't want to allow this,
I want to enforce "MAIL FROM: rootmydomain.com" etc...

Thanks and regards
-stefan-