mirror of
https://codeberg.org/guix/guix.git
synced 2025-10-02 02:15:12 +00:00
services: opensmtpd: Add logging to a file.
* gnu/services/mail.scm (opensmtpd-configuration): Add log-file field. (opensmtpd-shepherd-service)[start]: Add a command line flag to not daemonize. Drop #:pid-file. Add #:log-file. * doc/guix.texi (Mail Services): Document the additional parameter. Change-Id: I485e040d680ccb39fa62e49d2e6ea916f047972c Signed-off-by: Andreas Enge <andreas@enge.fr>
This commit is contained in:
parent
07c9a42731
commit
6036f1f305
2 changed files with 10 additions and 3 deletions
|
@ -29219,6 +29219,10 @@ it listens on the loopback network interface, and allows for mail from
|
|||
users and daemons on the local machine, as well as permitting email to
|
||||
remote servers. Run @command{man smtpd.conf} for more information.
|
||||
|
||||
@item @code{log-file} (default: @code{"/var/log/mail.log"})
|
||||
The file location for the OpenSMTPD log file. Logging occurs in the
|
||||
foreground via the Shepherd, i.e. OpenSMTPD does not detach.
|
||||
|
||||
@item @code{setgid-commands?} (default: @code{#t})
|
||||
Make the following commands setgid to @code{smtpq} so they can be
|
||||
executed: @command{smtpctl}, @command{sendmail}, @command{send-mail},
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue