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 ? htt

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.