Wietse Venema thank you >Only if localhost is listed in $mydestination. but localhost is listed in $mydestination ... it seems ignoring my list in /etc/postfix/userlist !!?
On Fri, Sep 2, 2016 at 4:07 PM, Wietse Venema <wie...@porcupine.org> wrote: > Mohammad Ghobadi: > > i trying figure out how local_recipient_maps work ... > > As documented local_recipient_maps lists the users for the domains > in $mydestination (and some stuff with $inet_interfaces that is > not relevant for your question). > > > local_recipient_maps = hash:/etc/postfix/userlist > > and > > postmap hash:/etc/postfix/userlist > > service postfix restart > > > > /etc/postfix/userlist : > > alex exists > > amin exists > > > > i expect that mail for alex@localhost. and amin@localhost. delivered to > > /var/spool/mail and mail's to other user's of my system (like root or > test) > > bounced (or rejected) > > Only if localhost is listed in $mydestination. > > Wietse >