Re: very confused on userbase parameter

2018-09-01 Thread Gilles Chehade
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

Re: very confused on userbase parameter

2018-09-01 Thread Chris Bennett
On Sat, Sep 01, 2018 at 05:50:27PM +, Gilles Chehade wrote: > > I'll describe how things work in this mail so it serves as reference for > future questions regarding aliases, virtual and userbase: > > Aliases and virtuals are mutually exclusive features that operate at the > same level,

Re: very confused on userbase parameter

2018-09-01 Thread Matt Schwartz
Thanks Gilles. I puzzled it out and it's working great now. On Sat, Sep 1, 2018 at 1:50 PM Gilles Chehade wrote: > > On Sat, Sep 01, 2018 at 11:59:20AM -0400, Matt Schwartz wrote: > > I am afraid that I am hopelessly confused on the userbase parameter. > > If I were to have the following: > > > >

Re: very confused on userbase parameter

2018-09-01 Thread Gilles Chehade
On Sat, Sep 01, 2018 at 11:59:20AM -0400, Matt Schwartz wrote: > I am afraid that I am hopelessly confused on the userbase parameter. > If I were to have the following: > > # credentials > user1 > > # userinfo > # vmail user is 2000 > user1 2000:2000:/var/vmail/user1 > > # virtuals >

Re: very confused on userbase parameter

2018-09-01 Thread Matt Schwartz
Here is my complete smtpd.conf. I actually don't use lmtp because I need to take advantage of spam checking. I use rspamd for spam checking. You can see that I use multiple domains as well. Gilles was kind enough to suggest using a wrapper and boy did it make things much more easy to read. pki

Re: very confused on userbase parameter

2018-09-01 Thread Matt Schwartz
Thanks but I finally figured it out and wrote up a little something that could hopefully benefit others. It's nice being able to use the .forward feature. On Sat, Sep 1, 2018 at 12:45 PM Reio Remma wrote: > > Hello! > > Are you using multiple domains? I just tested it in its simplest form > (in

Re: very confused on userbase parameter

2018-09-01 Thread Reio Remma
Hello! Are you using multiple domains? I just tested it in its simplest form (in 6.0.3) with one domain and it worked without virtuals. table userinfo { reio = 5000:5000:/home/vmail/turin.mrstuudio.ee/reio } accept tagged Filtered for domain userbase deliver to lmtp