OSEC

Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com
Re: Can't find local recipient table in postconf

From: Andreas Winkelmann (mlawinkelmann.de)
Date: Tue Aug 14 2007 - 13:05:25 CDT


On Tuesday 14 August 2007 18:57, Dan Slimmon wrote:
> Hi everybody -
>
> I'm trying to implement a restriction on this CentOS mail server to compare
> a message's envelope sender with the local recipient table if the sender's
> domain has this server as an MX.
>
> This should be simple, but I can't *find* the list of valid local
> recipients! I didn't set this server up, so I'm not sure where the
> previous admin hid the relevant lists. I assume it's some combination of
> unix:passwd.byname and hash:/etc/aliases, but:
>
> # postconf -n | grep alias
> newaliases_path = /usr/bin/newaliases
> # postconf -n | grep local_recip
> unknown_local_recipient_reject_code = 450
> # postconf -n | grep passwd
> #
>
> I know for a fact that the server is reliably rejecting mail to local
> recipients not listed in /etc/passwd or /etc/aliases.db, so where is
> Postfix getting this information, and what maps do I need to use in my new
> restriction?

# postconf local_recipient_maps

http://www.postfix.org/postconf.5.html#local_recipient_maps

Check the default.

--
        Andreas