On Wed, 21 Jan 2009, postmas...@klam.ca wrote:

> I am trying to understand sender/recipient names are handled.
> Am I correct in that recipient addresses are "rewritten" according to
> ADDRESS_REWRITING_README before recipient/sender checks are performed.

If by "recipient/sender checks" you refer to smtpd_mumble_restrictions, they
are performed by the smtpd(8) server, which then passes mail to cleanup(8),
at which point the ADDRESS_REWRITING_README applies.

> I ask because I have the following setup
> vdomains
> klam.ca
> klam.com
> klam.biz
> 
> valiases
> x...@klam.biz x...@klam.com
> 
> vmailboxes
> x...@klam.com   klam.com/xyz

This an insufficient description of your setup; please show the output of
'postconf -n' as suggested in the DEBUG_README.

> However, legitimate mail addressed to *...@klam.biz seems to be getting lost.
> Is there a better way of getting email addresses to *.klam.biz to
> x...@klam.com.

Can you define "lost" and show relevant log excerpts?

> I have noticed that there seems to be a fair amount of duplication
> between the Postfix default values and the main.cf entries.
> Is there a simple way, being a lazy sod preferably automated, way of
> cleaning up main.cf.

The postconf(1) manual contains information to help you with that.

-- 
Sahil Tandon <sa...@tandon.net>

Reply via email to