Re: Catch-all addresses in virtual aliases

2021-07-25 Thread postfix
You should be checking "postconf" not "postconf -d" to determine what's actually configured on your system. Yes sorry, i checked both and they both showed the same result having $smtpd_sender_login_maps included. For some reason in my brain when writing the email because it was using defaults

Re: Catch-all addresses in virtual aliases

2021-07-25 Thread Viktor Dukhovni
> On 25 Jul 2021, at 4:13 pm, post...@ptld.com wrote: > > Everything in main.cf worked out of the box with proxy:mysql:/ > However when i tried to add it to master.cf for submission i got the error > you talking about. > >127.0.0.1:submissioninetn - n - -

Re: Catch-all addresses in virtual aliases

2021-07-25 Thread postfix
The only other concern is to make sure that the table in question is (typically indirectly) listed in $proxy_read_maps. Everything in main.cf worked out of the box with proxy:mysql:/ However when i tried to add it to master.cf for submission i got the error you talking about. 127.0.0.1:su

Re: Catch-all addresses in virtual aliases

2021-07-25 Thread Viktor Dukhovni
On Sun, Jul 25, 2021 at 03:25:44PM -0400, post...@ptld.com wrote: > > virtual_alias_maps = proxy:mysql:/etc/postfix/mysql_email_aliases > > I read over proxymap(8), mysql_table(5) and DATABASE_README but don't > fully understand how the proxy works. I get the concept, but im curious > on th

Re: Catch-all addresses in virtual aliases

2021-07-25 Thread postfix
The same connection is generally used for related lookups from the same process, but a busy server there are many smtpd(8) and cleanup(8) processes and it is best to use proxyread(8) to consolidate database connections: virtual_alias_maps = proxy:mysql:/etc/postfix/mysql_email_aliases I rea

Re: Catch-all addresses in virtual aliases

2021-07-25 Thread Viktor Dukhovni
On Sun, Jul 25, 2021 at 10:39:21AM -0400, post...@ptld.com wrote: > virtual_alias_maps = mysql:/etc/postfix/mysql_email_aliases > > In the virtual_alias_maps i put a catch all "@example.com" that returns > (right hand side of table) an address "u...@example.com" which is valid > in the vir

Re: Catch-all addresses in virtual aliases

2021-07-25 Thread Wietse Venema
post...@ptld.com: > I am using virtual addresses and delivery. > > virtual_transport = lmtp:unix:private/dovecot-lmtp > virtual_mailbox_domains = mysql:/etc/postfix/mysql_email_domains > virtual_mailbox_maps = mysql:/etc/postfix/mysql_email_addresses > virtual_alias_maps = mysq

Catch-all addresses in virtual aliases

2021-07-25 Thread postfix
I am using virtual addresses and delivery. virtual_transport = lmtp:unix:private/dovecot-lmtp virtual_mailbox_domains = mysql:/etc/postfix/mysql_email_domains virtual_mailbox_maps = mysql:/etc/postfix/mysql_email_addresses virtual_alias_maps = mysql:/etc/postfix/mysql_email_aliase