On Sat, Sep 01, 2018 at 11:20:37AM -0700, Chris Bennett wrote:
> 
> Thanks, this helps a lot
> 
> Just one more question.
> 
> You reply sounds like I should choose either aliases or virtual, but not
> both. Is this correct?
> 

The option are mutually exclusive, you can't have a mechanism allow some
lookups to produce no result while the other requires lookups to produce
a result.

Note that the aliases and virtual are defined in the action, so you have
the possibility to use aliases and virtuals on different rules. just not
on the same ones.


> What about programs such as femail? Do they work fine with just
> virtuals?
> 

femail and related operate _after_ the end user is resolved:

1- user submits r...@poolp.org in the smtp session
2- aliases/virtuals lookup resolve 'root' into 'gilles'
3- userbase resolves 'gilles' into uid 1000 and homedir /home/gilles
4- THEN femail/fdm/procmail/whatever runs as uid 1000


-- 
Gilles Chehade

https://www.poolp.org                                          @poolpOrg

-- 
You received this mail because you are subscribed to misc@opensmtpd.org
To unsubscribe, send a mail to: misc+unsubscr...@opensmtpd.org

Reply via email to