Re: Virtual user and domain setup

2020-04-07 Thread Andrew Swartz
Thanks for the follow-up. I was planning on eventually switching to dovecot for delivery. Thank you for figuring out that part! -Andy On 4/7/2020 11:01 AM, Leo Unglaub wrote: Hey, thank you s much for that snippet. I think i finally understood it and it works now. I had to addapt

Re: Virtual user and domain setup

2020-04-07 Thread Leo Unglaub
Hey, thank you s much for that snippet. I think i finally understood it and it works now. I had to addapt your config a little bit but it works now. I use basically your config with the action changed to the following: action "local-lmtp" lmtp "/var/dovecot/lmtp" rcpt-to virtual At

Re: Virtual user and domain setup

2020-04-06 Thread Andrew Swartz
This is one possible configuration which should do that which I think you are describing: - table vdomains   file:/etc/mail/table_vmail_domains table vaddr file:/etc/mail/table_vmail_addresses table vmailstub   {

Re: Virtual user and domain setup

2020-04-05 Thread Kai Stammer
Hi Leo, the userinfo table contains all "virtual users" (respectively usernames of dovecot imap-accounts). See example tables: == userinfo table virtualuser1 1010:1010:/home/vmail virtualuser2 1010:1010:/home/vmail virtualuser3 1010:1010:/home/vmail == == virtuals table i...@mydomain.de

Re: Virtual user and domain setup

2020-04-05 Thread Leo Unglaub
Hey, thank you for your response. I have a question to your workaround. In the userinfo table, did you specify every email address in there that is a virtual address? Or did you define the user that does the LMTP deliver to dovecot? Also, would you mind pasting an example from your

Re: Virtual user and domain setup

2020-04-05 Thread Kai Stammer
Hi all, i have the same problem. My current workaround is to use a userbase-table: action "inbound"  lmtp 127.0.0.1:24 virtual userbase Instead of: action "inbound"  lmtp 127.0.0.1:24 virtual user "vmail" == userinfo table virtualuser1 1010:1010:/home/vmail virtualuser2

Re: Virtual user and domain setup

2020-04-05 Thread Leo Unglaub
Hey, of course i can share my entire config. Its from a fresh start and i keept it as simple as possible. ## ## Queue ## queue compression queue encryption <32 char passphrase> ## ## Tables ## table aliases file:/etc/mail/aliases table passwd file:/etc/mail/yace-passwd ## ## PKI ## pki

Re: Virtual user and domain setup

2020-04-05 Thread Leo Unglaub
Hey, thank you for your help. I am going to describe my goal a little bit different, maybe it gets clearer when i do. I am trying to have a list of email accounts that OpenSMTPD recieves emails for and sends to Dovecot via lmtp without having the email accounts as real system accounts on

Re: Virtual user and domain setup

2020-04-05 Thread Matt Schwartz
Hi Leo, Would you mind sharing your full configuration file? Without this, I am stuck on how to help you. I have done a lot with virtual users and domains so I think I can help. You could also see Gilles Chehade's article,

Re: Virtual user and domain setup

2020-04-05 Thread Tassilo Philipp
I might be misunderstanding what you are trying to achieve, but it sounds to me that you need mail aliases. Check the "alias" option of "action", and also the section "Aliasing tables" in table(5). hth On Sun, Apr 05, 2020 at 02:24:01PM +0200, Leo Unglaub wrote: Hey, first of all i want to