Re: Virtual users with postfix and dovecot

2022-01-13 Thread Phil Biggs
Just a follow-up to correct a couple of things in case anyone is reading this in future: main.cf includes: # Route inbound for valid recipients to dovecot virtual_transport = lmtp:unix:/var/spool/postfix/private/dovecot-lmtp lmtp_use_tls = no virtual_mailbox_domains = pjb.cc

Re: Virtual users with postfix and dovecot

2022-01-11 Thread Phil Biggs
Wednesday, January 12, 2022, 5:10:05 PM, Viktor Dukhovni wrote: > On Wed, Jan 12, 2022 at 05:03:35PM +1100, Phil Biggs wrote: >> Yes, I did have the content of two files mixed up. Apologies for that. >> >> vmailbox contains: >> @pjb.cc all > You can leave $virtual_mailbox_maps empty, since you

Re: Virtual users with postfix and dovecot

2022-01-11 Thread Viktor Dukhovni
On Wed, Jan 12, 2022 at 05:03:35PM +1100, Phil Biggs wrote: > Yes, I did have the content of two files mixed up. Apologies for that. > > vmailbox contains: > @pjb.cc all You can leave $virtual_mailbox_maps empty, since your virtual_alias_maps table suffices for recipient validation. But you can

Re: Virtual users with postfix and dovecot

2022-01-11 Thread Phil Biggs
Wednesday, January 12, 2022, 11:53:39 AM, Viktor Dukhovni wrote: > On Wed, Jan 12, 2022 at 11:09:02AM +1100, Phil Biggs wrote: >> Here's what I have so far. >> >> main.cf includes: >> >> # Route inbound for valid recipients to dovecot >> virtual_transport = lmtp:unix:/var/spool/postfix/private

Re: Virtual users with postfix and dovecot

2022-01-11 Thread Viktor Dukhovni
On Wed, Jan 12, 2022 at 04:51:41PM +1100, raf wrote: > The other main difference is that I have the large number of address > in /etc/postfix/virtual pointing to a small number of entries in > /etc/postfix/virtual_mailbox_maps. So the addresses go in virtual, and > the accounts go in vmailbox. Tha

Re: Virtual users with postfix and dovecot

2022-01-11 Thread raf
On Wed, Jan 12, 2022 at 11:09:02AM +1100, Phil Biggs wrote: > Hello all, > > I have a lot of email addresses of the form mbYYMMDD@ (just like the one I'm > sending from here). They're unique to a specific site/purpose and have > accumulated over nearly 20 years. > > My current windows-based

Re: Virtual users with postfix and dovecot

2022-01-11 Thread Viktor Dukhovni
On Wed, Jan 12, 2022 at 11:09:02AM +1100, Phil Biggs wrote: > Here's what I have so far. > > main.cf includes: > > # Route inbound for valid recipients to dovecot > virtual_transport = lmtp:unix:/var/spool/postfix/private/dovecot-lmtp > virtual_mailbox_maps = hash:/usr/local/etc/postfix/vmailbox

Virtual users with postfix and dovecot

2022-01-11 Thread Phil Biggs
Hello all, I have a lot of email addresses of the form mbYYMMDD@ (just like the one I'm sending from here). They're unique to a specific site/purpose and have accumulated over nearly 20 years. My current windows-based MSA allows the MUA user "ml-postfix-users" to login and receive emails usin