Re: Trying to add custom header to messages from a given cloud provider

2020-12-23 Thread Viktor Dukhovni
On Thu, Dec 24, 2020 at 01:13:05AM +, Matthew Selsky wrote: > > No, you can leave mynetworks unchanged if there is more to mynetworks > > than mere relay access. > > Is there any reason not to merge ${cidr}cloud-email-providers.cidr into > mynetworks? I only reference mynetworks in the foll

Re: Trying to add custom header to messages from a given cloud provider

2020-12-23 Thread Matthew Selsky
Hi Viktor, On Mon, Dec 21, 2020 at 11:20:30PM -0500, Viktor Dukhovni wrote: > On Tue, Dec 22, 2020 at 03:23:56AM +, Matthew Selsky wrote: > > > cidr = cidr:${config_directory}/ > > smtpd_recipient_restrictions = > > reject_non_fqdn_recipient > > reject_unknown_recipient_domain > > check

Re: resolve virtual aliases from cmdline

2020-12-23 Thread Wietse Venema
Matus UHLAR - fantomas: > I could probably do it using postconf to get virtual_alias_maps and > "postmap -q" to expand aliases. But I'd like to know order in which they are > expanded by postfix: > > - do I need to query repeatedly, until virtual_alias_expansion_limit is > reached? > (postmap

Re: resolve virtual aliases from cmdline

2020-12-23 Thread Matus UHLAR - fantomas
reviving old thread (hopefully I can get here now) > The "sendmail -bv" can be used by spamass-milter to resolve destination > user and to use that users' spamassassin preferences: > > -x Pass the recipient address through sendmail -bv, which will per? > form virtusertable

Re: Javamail connection

2020-12-23 Thread Wietse Venema
Jaroslaw Rafa: > Dnia 23.12.2020 o godz. 09:32:31 @lbutlr pisze: > > > > The recommendation for years has been to use port 587 (submission) for > > STARTTLS and to never use port 25 for anything but server-to-server > > communication. > > And server-to-server communication nowadays uses STARTTLS,

Re: Javamail connection

2020-12-23 Thread Jaroslaw Rafa
Dnia 23.12.2020 o godz. 09:32:31 @lbutlr pisze: > > The recommendation for years has been to use port 587 (submission) for > STARTTLS and to never use port 25 for anything but server-to-server > communication. And server-to-server communication nowadays uses STARTTLS, doesn't it? -- Regards,

Re: Javamail connection

2020-12-23 Thread @lbutlr
On 22 Dec 2020, at 07:19, James B. Byrne wrote: > it appears to me that > connecting to port 25 with STARTTLS is the accepted practice. The recommendation for years has been to use port 587 (submission) for STARTTLS and to never use port 25 for anything but server-to-server communication. -- W

Re: Filename in main.cf, specifically myorigin = /etc/mailname

2020-12-23 Thread Matus UHLAR - fantomas
>Chris Green: >> Is the use of a filename in main.cf possible for any parameter or is >> it only applicable to myorigin (or just to a few)? >> >> I notice that installing postfix on my laptop from the Ubuntu >> repositories has set myorigin = /etc/mailname in main.cf. >> >> This is handy in relati