aboutsummaryrefslogtreecommitdiff
path: root/services/opensmtpd.scm
blob: 1b1e58fb3f6ebca6cadc425e1bc908cc98160415 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
(use-modules (gnu)
             (gnu services mail))

(operating-system
  (host-name "mail")
  (timezone "UTC")
  (locale "en_US.utf8")
  (bootloader (bootloader-configuration
               (bootloader grub-bootloader)
               (targets (list "/dev/sdX"))))
  (file-systems %base-file-systems)
  (users %base-user-accounts)
  (packages %base-packages)

  (services (cons
             (service opensmtpd-service-type
                      (opensmtpd-configuration
                       (config-file %default-opensmtpd-config-file
                       ; (config-file (local-file "./my-smtpd.conf")))
                                    )))
             %base-services)))