|
Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com |
Re: Postfix behavior
From: Mike Futerko (mike
LITech.lviv.ua)
Date: Mon Mar 01 2004 - 12:07:02 CST
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Hi Wietse,
Sorry that bother you again, but:
> > 2) When I send mail I see that Postfix checks sender address/domain in the
> > virtual_alias_maps. Why does Postfix do this?
>
> Because by default, virtual_alias_domains = $virtual_alias_maps, for
> backwards compatibility with Postfix 1.1.
Here I mean Postfix checks SENDER address and then SENDER domain in the
virtual_alias_maps, as shown in the logs attached. So why Postfix checks
SENDER address/domain in recipient aliases? What is the reason to check SENDER
address and domain in RECIPIENT aliases?
Strings in log are:
[...snip...]
dict_pgsql_lookup using sql query: SELECT DISTINCT * FROM getForwards('mike
external.net')
dict_pgsql_lookup using sql query: SELECT DISTINCT * FROM getForwards('
external.net')
[...snip...]
The SMTP session follows:
mike
jump> telnet localhost 25
Trying 127.0.0.1...
Connected to localhost.
Escape character is '^]'.
220 jump.internal.com ESMTP Postfix
MAIL FROM:<mike
external.net>
250 Ok
RCPT TO:<mike
internal.com>
250 Ok
DATA
354 End data with <CR><LF>.<CR><LF>
Test
.
250 Ok: queued as 7CB03206C
QUIT
221 Bye
Connection closed by foreign host.
mike
jump>
Note that 127.0.0.1 is excluded from mynetworks (mynetworks = 127.0.0.254).
Many thanks for the time spent for me,
Mike.
- TEXT/PLAIN attachment: postfix.log
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]