OSEC

Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com
 
Re: Address Verification before delivery

From: Sandy Drobic (postfix-usersjapantest.homelinux.com)
Date: Tue Nov 07 2006 - 10:49:07 CST


TERRALINK - Supporto Tecnico wrote:
> Greetins,
> I have a postfix box that is the MX record for a lot of domains. I
> created a transport map that force postfix to deliver the incoming mail for
> a specific domain to another mail server in my DMZ.
>
> Example:
>
> 1) Postfix Primary host MX for domain1.com and domain2.com
> transport_map:
> domain1.com smtp:internal.host1
> domain2.com smtp:internal.host2
>
> This situation works correctly. Postfix accept the incomping mails for each
> domain and delivers them to the correct internal host.
>
> My problem is that Postfix accept every mail for a specific domain and if
> the recipient is unknow on the internal host it ,tries to send back a bounce
> message to the sender recipient.
> Is it possible to set postifx making a verification before accepting the
> incoming ?
> Example
>
> 1) Source Host connect to my postfix box passing "rcpt to: userdomain1.com"
> 2) Postifx very that the recipient exist a internal.host1
> 3) If the recipient exsit Postfix accepts the message
> if the recipient doesn't exist Postfix sends back "unknow user" directly
> on the smtp transaction without accepting the message

http://www.postfix.org/ADDRESS_VERIFICATION_README.html#recipient

Please also read the caveats of address verification and consider to cache
the results.

Sandy
--
List replies only please!
Please address PMs to: news-reply2 () japantest (.) homelinux (.) com