Re: check_recipient_access and transport maps question
>> I have a postfix-2.9.5 install on fc16 which manages mail for a fewOkay, I have done this. Are the domains with the preceding period not
>> domains. The server just relays mail for a few domains and doesn't
>> deliver any mail locally.
>> The question I have is regarding precedence. Is the
>> smtpd_recipient_restrictions consulted before transport_maps?
>> I have a few check_recipient_access, listing each user that exists on
>> the remote system, so as to reject any mail for non-existent users.
>> However, I've noticed that one of my check_recipient_access maps is
>> missing, yet there doesn't appear to be any mail bouncing. Does this
>> mean it is all being forwarded to the remote system?
>> The transport map looks like this:
>> mail01.myserver.com local:
>> example.com smtp:[188.8.131.52]
>> cs.example.com smtp:[184.108.40.206]
>> .cs.example.com smtp:[220.127.116.11]
>> mail1.prop.example.com smtp:[18.104.22.168]
>> prop.example.com smtp:[22.214.171.124]
>> .prop.example.com smtp:[126.96.36.199]
>> Is it possible to even specify just mail for the
>> mail1.prop.example.com host to be forwarded to a separate host when
>> I've also specified the entire domain be forwarded to a different
> be specific in your configuration
> avoid .domain.tld
> mail1.prop.example.com smtp:[188.8.131.52]
> prop.example.com smtp:[184.108.40.206]
> works, for postfix these are two completly different domains
> .prop.example.com smtp:[220.127.116.11]
> is additionally to mouch
necessary because mail to any specific host in that domain would go
directly to the host itself, and never pass through this server
I'm trying to test a new host to receive mail from this relay. I'm
trying to figure out if it's possible to use a transport map to send
mail for specific users to this new test system,
mail1.prop.example.com. Can this be done?
In other words, using a sender at aol.com for example, I'd like to do this:
user@... -> user1@... managed by relayhost ->
user@... -> user2@... managed by relayhost ->
mail2 is the current production server where all mail from the
relayhost is currently forwarded. It's the prop.example.com in the
transport map above.
The only other way for me to test whether mail1.prop.example.com can
successfully receive mail is to send mail to it directly, which is not
a true test.