On 5/19/2010 1:45 PM, Phil Howard wrote:
On Wed, May 19, 2010 at 12:10, Noel Jones <njo...@megan.vbhcs.org
<mailto:njo...@megan.vbhcs.org>> wrote:

    While postfix does support wildcard domain > domain rewriting, it is
    highly discouraged because it disables recipient validation -- that
    tends to fill your queue with undeliverable mail and will get you
    blacklisted as a backscatter source.


So it doesn't perform any form of domain-only mapping at RCPT TO time?

What about a regexp form like:

/^(.*)@example\.com$/ $...@example.net <mailto:1...@example.net>

That also defeats recipient validation.


    As an alternative, you may be able to use smtp_generic_maps to
    rewrite the destination domain on the fly during delivery.  See:
    http://www.postfix.org/ADDRESS_REWRITING_README.html#generic


I do want the username checked during SMTP arrival time.  Will it do so
for the virtual_alias_maps if I use regexp: format?

If smtp_generic_maps suit your needs, they will not affect recipient validation, and may be easier to implement.

  -- Noel Jones

Reply via email to