On Wed, 21 Jan 2009, [email protected] 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
> [email protected] [email protected]
> 
> vmailboxes
> [email protected]   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 *[email protected] seems to be getting lost.
> Is there a better way of getting email addresses to *.klam.biz to
> [email protected].

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 <[email protected]>

Reply via email to