Re: Pass the environment variable to the smtpd daemon

2022-05-06 Thread postfix-user
https://www.postfix.org/postconf.5.html#import_environment Be sure to augment rather than replace the default set of variables: # postconf -e "import_environment = $(postconf -dh import_environment) SSLKEYLOGFILE=/some/where" you can also update just the smtpd(8) service in master.cf:

Re: Pass the environment variable to the smtpd daemon

2022-05-06 Thread Viktor Dukhovni
> On 7 May 2022, at 12:57 pm, postfix-user wrote: > > Can you please tell me how to pass an environment variable (like > SSLKEYLOGFILE) to the smtpd daemon ? Maybe as an alternative, if the master > process can't allow this, there are examples of running smtpd directly from > systemd ?

Pass the environment variable to the smtpd daemon

2022-05-06 Thread postfix-user
Hi all. Can you please tell me how to pass an environment variable (like SSLKEYLOGFILE) to the smtpd daemon ? Maybe as an alternative, if the master process can't allow this, there are examples of running smtpd directly from systemd ? Thank you.

Re: Restricting MAIL_FROM based on SASL login

2022-05-06 Thread Wietse Venema
Matus UHLAR - fantomas: [ Charset ISO-8859-2 converted... ] > >Am 06.05.22 um 11:04 schrieb V?ctor Rubiella Monfort: > >>Thanks for the proposals, the main problem is accounts names and > >>domains could be totally different. I'm reconsidering this approach > >>to add only selected accounts to

Re: reject_*sender_login_mismatch and "no SASL support"

2022-05-06 Thread Bill Cole
On 2022-05-05 at 13:41:56 UTC-0400 (Thu, 5 May 2022 19:41:56 +0200) Matus UHLAR - fantomas is rumored to have said: [...] > >>> so, reject_known_sender_login_mismatch only handles addresses listed in >>> smtpd_sender_login_maps >>> >>> while reject_sender_login_mismatch handles addresses not

Re: Restricting MAIL_FROM based on SASL login

2022-05-06 Thread Matus UHLAR - fantomas
Am 06.05.22 um 11:04 schrieb Víctor Rubiella Monfort: Thanks for the proposals, the main problem is accounts names and domains could be totally different. I'm reconsidering this approach to add only selected accounts to able to cross domains, simplifing automation and increasing security.

Re: Restricting MAIL_FROM based on SASL login

2022-05-06 Thread Robert Schetterer
Am 06.05.22 um 11:04 schrieb Víctor Rubiella Monfort: Thanks for the proposals, the main problem is accounts names and domains could be totally different. I'm reconsidering this approach to add only selected accounts to able to cross domains, simplifing automation and increasing security.

Re: Restricting MAIL_FROM based on SASL login

2022-05-06 Thread Víctor Rubiella Monfort
Thanks for the proposals, the main problem is accounts names and domains could be totally different. I'm reconsidering this approach to add only selected accounts to able to cross domains, simplifing automation and increasing security. Although it requires more config for client. Thanks a