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 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 <domains> userbase <userinfo> deliver > to lmtp "/var/run/dovecot/lmtp" rcpt-to > > OpenSMTPD successfully read the .forward file from > 5000:5000:/home/vmail/turin.mrstuudio.ee/reio/.forward > > If you're using multiple domains, then you need a somewhat convoluted > system with virtuals and userbase. > > The trouble is that OpenSMTPD is checking only the user name without the > domain part from userbase. > > Good luck, > Reio > > On 01.09.2018 18:59, Matt Schwartz wrote: > > I am afraid that I am hopelessly confused on the userbase parameter. > > If I were to have the following: > > > > # credentials > > user1 <encrypted_password_goes_here> > > > > # userinfo > > # vmail user is 2000 > > user1 2000:2000:/var/vmail/user1 > > > > # virtuals > > us...@domain1.com vmail > > > > # smtpd.conf > > table credentials file:/etc/mail/credentials > > table virtuals file:/etc/mail/virtuals > > table userinfo file:/etc/mail/userinfo > > > > action "action01" maildir userbase <userinfo> virtuals <virtuals> > > match from any for domain "domain1.com" action "action01" > > > > In theory, shouldn't this deliver email addressed to us...@domain1.com > > to /var/vmail/user1/Maildir/new? > > > > Thanks in advance, > > Matt > > > > > -- > You received this mail because you are subscribed to misc@opensmtpd.org > To unsubscribe, send a mail to: misc+unsubscr...@opensmtpd.org > -- You received this mail because you are subscribed to misc@opensmtpd.org To unsubscribe, send a mail to: misc+unsubscr...@opensmtpd.org