Re: Address rewriting v Virtual alias domains

2021-06-15 Thread Viktor Dukhovni
On Tue, Jun 15, 2021 at 04:16:43PM +0200, Mono DHS wrote: > Assuming that I maintain neither local domains nor relay domains, > and only virtual mailbox domains, and that You need an explicit "mydestination =" (empty) for that. Is that the case? > myorigin = $myhostname That should enable

Re: Address rewriting v Virtual alias domains

2021-06-15 Thread Wietse Venema
For practical reaons all Postfix address rewriting table lookups are case-insensitive by default(*), both for the domain and local part, regardless of what the RFCs say. (*) When creating an indexed table, the postmap command folds the input to lowercase before writing to the table, and code that

Re: Unable to get Postfix to respond on port 465

2021-06-15 Thread Matus UHLAR - fantomas
On 15.06.21 09:05, Linda Pagillo wrote: Hey everyone! Problem solved! Ubuntu 20 has switched to nftables and even though iptables is in place; nftables apparently rules -- so even if iptables looks like everything is correct whatever nftables is doing will cause you trouble if you don't know

Address rewriting v Virtual alias domains

2021-06-15 Thread Mono DHS
Hello all, I would like to implement rewriting of envelope recipient addresses as they are recieved by smtpd(8) prior to the respective message being fed into "the queue", based solely on the form of the envelope recipient addresses in question. So far, I was able to figure out that to accomplish

Re: Unable to get Postfix to respond on port 465

2021-06-15 Thread Linda Pagillo
Hey everyone! Problem solved! Ubuntu 20 has switched to nftables and even though iptables is in place; nftables apparently rules -- so even if iptables looks like everything is correct whatever nftables is doing will cause you trouble if you don't know it's there. We discovered this about 10

Re[2]: Mail forward vs duplication

2021-06-15 Thread yuryb
Thanks for the advice, I'll try to figure it out with amavis when I have time! --- Исходное сообщение --- От кого: "Matus UHLAR - fantomas"  Дата: 15 июня 2021, 13:19:19 On 15.06.21 12:14, yuryb wrote: >My content filter adds a disclaimer to the email, and then sends it using >sendmail:

Re: Mail forward vs duplication

2021-06-15 Thread Matus UHLAR - fantomas
On 15.06.21 12:14, yuryb wrote: My content filter adds a disclaimer to the email, and then sends it using sendmail: /usr/sbin/sendmail -oi "$@" < email_with_disclaimer.$$ I can recommend feeding the mail back using LMTP, using port where receive_override_options=no_address_mappings is in

Re[2]: Mail forward vs duplication

2021-06-15 Thread yuryb
My content filter adds a disclaimer to the email, and then sends it using sendmail: /usr/sbin/sendmail -oi "$@" < email_with_disclaimer.$$ But, as I wrote earlier, I completely disabled the content filter, and sent emails in different ways. And I saw that disabling the filter did not change

Re: REDIRECT overrides always_bcc

2021-06-15 Thread Dominic Raferd
On 20/04/2021 10:04, Matus UHLAR - fantomas wrote: On 2021-04-16 12:03, Dominic Raferd wrote: > I have started using a REDIRECT action in a header_checks table > which works but seems to prevent always_bcc from operating - > the email is not bcc'd. On Fri, 16 Apr 2021, 20:07 Rob McGee,

Re: Unable to get Postfix to respond on port 465

2021-06-15 Thread Matus UHLAR - fantomas
On 14.06.21 13:55, Linda Pagillo wrote: I have already verified and reverified with our server host that port 465 is open on their main fw. However, when I do a port scan to 465 from the outside it says it is closed. My server host did the same scan and said that it's not them and it's a

Re: Mail forward vs duplication

2021-06-15 Thread Matus UHLAR - fantomas
On 15.06.21 10:22, yuryb wrote: Sorry, I was wrong about case # 2. I just ran tests and they showed that the second case shows up regardless of the no_address_mappings option! Why it didn’t appear before is not clear. Moreover, I noticed that this problem spontaneously appears and disappears.

Re[2]: Mail forward vs duplication

2021-06-15 Thread yuryb
Sorry, I was wrong about case # 2. I just ran tests and they showed that the second case shows up regardless of the no_address_mappings option! Why it didn’t appear before is not clear. Moreover, I noticed that this problem spontaneously appears and disappears. Yesterday, for example, letters