Re: Postfix behavior

From: Mike Futerko (no email)
Date: Mon Mar 01 2004 - 13:07:02 EST


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('')
dict_pgsql_lookup using sql query: SELECT DISTINCT * FROM getForwards('@external.net')
[...snip...]

The SMTP session follows:

mike at jump> telnet localhost 25
Trying 127.0.0.1...
Connected to localhost.
Escape character is '^]'.
220 jump.internal.com ESMTP Postfix
MAIL FROM:<>
250 Ok
RCPT TO:<>
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 at 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.










Hosted Email Solutions

Invaluement Anti-Spam DNSBLs



Powered By FreeBSD   Powered By FreeBSD