Tom Allison wrote:

> Which leads me to believe that this is slightly screwed up between
> postfix and the local_recipient_map and my aliases files.
> 
> local_recipient_maps = pgsql:/etc/postfix/pgsql-recipients.cf
> alias_maps = hash:/etc/aliases
> alias_database = hash:/etc/aliases
> 
> However, I should point out that there is no 'tom' mentioned in my
> aliases file.  So I'm not confident that this is the problem.  It
> appears that the postfix-local operation is trying to query the
> /etc/passwd file for the username 'tom' and not finding it.
> 
> 
> to quote man local:
>        All delivery decisions are made using the bare recipient name
> (i.e. the
>        address  localpart),  folded  to  lower  case.   See also under
> ADDRESS
>        EXTENSION below for a few exceptions.
> 
> #####################################################
> ## I think this is the core of the problem I'm having.  How do I change the
> ## delivery process from a bare recipient name?
> #####################################################

how about adding an alias map that points to the database?

> 
> And from the postfix website:
> If you use the local delivery agent mailbox_transport or
> fallback_transport features to receive mail for users not in
> /etc/passwd, then you need to list those users under
> local_recipient_maps, or you need to disable the local_recipient_maps
> feature as described below.
> (I'm using local_recipient_maps, this works under LMTP delivery)

That's not the same. Dbmail-lmtpd will do all kinds of tricks to try
deliver the message, that are done differently in postfix.

Unless:

postmap -q tom pgsql:/etc/postfix/pgsql-recipients.cf

returns something, [EMAIL PROTECTED] is not recognized as a local address.



-- 
  ________________________________________________________________
  Paul Stevens                                      paul at nfg.nl
  NET FACILITIES GROUP                     GPG/PGP: 1024D/11F8CD31
  The Netherlands________________________________http://www.nfg.nl

Reply via email to