---
Function {
 argument: None,
 arguments: FunctionArguments {
  arguments: [
   FunctionArgument {
    identifier: "pkgs",
    default: None,
   },
   FunctionArgument {
    identifier: "lib",
    default: None,
   },
   FunctionArgument {
    identifier: "config",
    default: None,
   },
  ],
  ellipsis: true,
 },
 definition: With {
  expression: Variable {
   identifier: "lib",
   position: (3, 6),
  },
  target: LetIn {
   bindings: [
    KeyValue(
     AttributePath {
      attributes: [
       Raw {
        content: "cfg",
        position: (5, 3),
       },
      ],
     },
     PropertyAccess {
      expression: Variable {
       identifier: "config",
       position: (5, 9),
      },
      attribute_path: AttributePath {
       attributes: [
        Raw {
         content: "services",
         position: (5, 16),
        },
        Raw {
         content: "clamsmtp",
         position: (5, 25),
        },
       ],
      },
      default: None,
     },
    ),
    KeyValue(
     AttributePath {
      attributes: [
       Raw {
        content: "clamdSocket",
        position: (6, 3),
       },
      ],
     },
     String {
      parts: [
       Raw {
        content: "/run/clamav/clamd.ctl",
        position: (6, 18),
       },
      ],
     },
    ),
   ],
   target: Map {
    bindings: [
     KeyValue(
      AttributePath {
       attributes: [
        Raw {
         content: "options",
         position: (10, 3),
        },
       ],
      },
      Map {
       bindings: [
        KeyValue(
         AttributePath {
          attributes: [
           Raw {
            content: "services",
            position: (11, 5),
           },
           Raw {
            content: "clamsmtp",
            position: (11, 14),
           },
          ],
         },
         Map {
          bindings: [
           KeyValue(
            AttributePath {
             attributes: [
              Raw {
               content: "enable",
               position: (12, 7),
              },
             ],
            },
            FunctionApplication {
             function: Variable {
              identifier: "mkOption",
              position: (12, 16),
             },
             arguments: [
              Map {
               bindings: [
                KeyValue(
                 AttributePath {
                  attributes: [
                   Raw {
                    content: "type",
                    position: (13, 9),
                   },
                  ],
                 },
                 PropertyAccess {
                  expression: Variable {
                   identifier: "types",
                   position: (13, 16),
                  },
                  attribute_path: AttributePath {
                   attributes: [
                    Raw {
                     content: "bool",
                     position: (13, 22),
                    },
                   ],
                  },
                  default: None,
                 },
                ),
                KeyValue(
                 AttributePath {
                  attributes: [
                   Raw {
                    content: "default",
                    position: (14, 9),
                   },
                  ],
                 },
                 Variable {
                  identifier: "false",
                  position: (14, 19),
                 },
                ),
                KeyValue(
                 AttributePath {
                  attributes: [
                   Raw {
                    content: "description",
                    position: (15, 9),
                   },
                  ],
                 },
                 String {
                  parts: [
                   Raw {
                    content: "Whether to enable clamsmtp.",
                    position: (15, 24),
                   },
                  ],
                 },
                ),
               ],
               recursive: false,
               position: (12, 25),
              },
             ],
            },
           ),
           KeyValue(
            AttributePath {
             attributes: [
              Raw {
               content: "instances",
               position: (18, 7),
              },
             ],
            },
            FunctionApplication {
             function: Variable {
              identifier: "mkOption",
              position: (18, 19),
             },
             arguments: [
              Map {
               bindings: [
                KeyValue(
                 AttributePath {
                  attributes: [
                   Raw {
                    content: "description",
                    position: (19, 9),
                   },
                  ],
                 },
                 String {
                  parts: [
                   Raw {
                    content: "Instances of clamsmtp to run.",
                    position: (19, 24),
                   },
                  ],
                 },
                ),
                KeyValue(
                 AttributePath {
                  attributes: [
                   Raw {
                    content: "type",
                    position: (20, 9),
                   },
                  ],
                 },
                 FunctionApplication {
                  function: PropertyAccess {
                   expression: Variable {
                    identifier: "types",
                    position: (20, 16),
                   },
                   attribute_path: AttributePath {
                    attributes: [
                     Raw {
                      content: "listOf",
                      position: (20, 22),
                     },
                    ],
                   },
                   default: None,
                  },
                  arguments: [
                   FunctionApplication {
                    function: PropertyAccess {
                     expression: Variable {
                      identifier: "types",
                      position: (20, 30),
                     },
                     attribute_path: AttributePath {
                      attributes: [
                       Raw {
                        content: "submodule",
                        position: (20, 36),
                       },
                      ],
                     },
                     default: None,
                    },
                    arguments: [
                     Map {
                      bindings: [
                       KeyValue(
                        AttributePath {
                         attributes: [
                          Raw {
                           content: "options",
                           position: (20, 48),
                          },
                         ],
                        },
                        Map {
                         bindings: [
                          KeyValue(
                           AttributePath {
                            attributes: [
                             Raw {
                              content: "action",
                              position: (21, 11),
                             },
                            ],
                           },
                           FunctionApplication {
                            function: Variable {
                             identifier: "mkOption",
                             position: (21, 20),
                            },
                            arguments: [
                             Map {
                              bindings: [
                               KeyValue(
                                AttributePath {
                                 attributes: [
                                  Raw {
                                   content: "type",
                                   position: (22, 13),
                                  },
                                 ],
                                },
                                FunctionApplication {
                                 function: PropertyAccess {
                                  expression: Variable {
                                   identifier: "types",
                                   position: (22, 20),
                                  },
                                  attribute_path: AttributePath {
                                   attributes: [
                                    Raw {
                                     content: "enum",
                                     position: (22, 26),
                                    },
                                   ],
                                  },
                                  default: None,
                                 },
                                 arguments: [
                                  List {
                                   elements: [
                                    String {
                                     parts: [
                                      Raw {
                                       content: "bounce",
                                       position: (22, 34),
                                      },
                                     ],
                                    },
                                    String {
                                     parts: [
                                      Raw {
                                       content: "drop",
                                       position: (22, 43),
                                      },
                                     ],
                                    },
                                    String {
                                     parts: [
                                      Raw {
                                       content: "pass",
                                       position: (22, 50),
                                      },
                                     ],
                                    },
                                   ],
                                   position: (22, 31),
                                  },
                                 ],
                                },
                               ),
                               KeyValue(
                                AttributePath {
                                 attributes: [
                                  Raw {
                                   content: "default",
                                   position: (23, 13),
                                  },
                                 ],
                                },
                                String {
                                 parts: [
                                  Raw {
                                   content: "drop",
                                   position: (23, 24),
                                  },
                                 ],
                                },
                               ),
                               KeyValue(
                                AttributePath {
                                 attributes: [
                                  Raw {
                                   content: "description",
                                   position: (24, 13),
                                  },
                                 ],
                                },
                                String {
                                 parts: [
                                  Raw {
                                   content: "Action to take when a virus is detected.\n\nNote that viruses often spoof sender addresses, so bouncing is\nin most cases not a good idea.\n",
                                   position: (26, 1),
                                  },
                                 ],
                                },
                               ),
                              ],
                              recursive: false,
                              position: (21, 29),
                             },
                            ],
                           },
                          ),
                          KeyValue(
                           AttributePath {
                            attributes: [
                             Raw {
                              content: "header",
                              position: (33, 11),
                             },
                            ],
                           },
                           FunctionApplication {
                            function: Variable {
                             identifier: "mkOption",
                             position: (33, 20),
                            },
                            arguments: [
                             Map {
                              bindings: [
                               KeyValue(
                                AttributePath {
                                 attributes: [
                                  Raw {
                                   content: "type",
                                   position: (34, 13),
                                  },
                                 ],
                                },
                                PropertyAccess {
                                 expression: Variable {
                                  identifier: "types",
                                  position: (34, 20),
                                 },
                                 attribute_path: AttributePath {
                                  attributes: [
                                   Raw {
                                    content: "str",
                                    position: (34, 26),
                                   },
                                  ],
                                 },
                                 default: None,
                                },
                               ),
                               KeyValue(
                                AttributePath {
                                 attributes: [
                                  Raw {
                                   content: "default",
                                   position: (35, 13),
                                  },
                                 ],
                                },
                                String {
                                 parts: [],
                                },
                               ),
                               KeyValue(
                                AttributePath {
                                 attributes: [
                                  Raw {
                                   content: "example",
                                   position: (36, 13),
                                  },
                                 ],
                                },
                                String {
                                 parts: [
                                  Raw {
                                   content: "X-Virus-Scanned: ClamAV using ClamSMTP",
                                   position: (36, 24),
                                  },
                                 ],
                                },
                               ),
                               KeyValue(
                                AttributePath {
                                 attributes: [
                                  Raw {
                                   content: "description",
                                   position: (37, 13),
                                  },
                                 ],
                                },
                                String {
                                 parts: [
                                  Raw {
                                   content: "A header to add to scanned messages. See clamsmtpd.conf(5) for\nmore details. Empty means no header.\n",
                                   position: (39, 1),
                                  },
                                 ],
                                },
                               ),
                              ],
                              recursive: false,
                              position: (33, 29),
                             },
                            ],
                           },
                          ),
                          KeyValue(
                           AttributePath {
                            attributes: [
                             Raw {
                              content: "keepAlives",
                              position: (44, 11),
                             },
                            ],
                           },
                           FunctionApplication {
                            function: Variable {
                             identifier: "mkOption",
                             position: (44, 24),
                            },
                            arguments: [
                             Map {
                              bindings: [
                               KeyValue(
                                AttributePath {
                                 attributes: [
                                  Raw {
                                   content: "type",
                                   position: (45, 13),
                                  },
                                 ],
                                },
                                PropertyAccess {
                                 expression: Variable {
                                  identifier: "types",
                                  position: (45, 20),
                                 },
                                 attribute_path: AttributePath {
                                  attributes: [
                                   Raw {
                                    content: "int",
                                    position: (45, 26),
                                   },
                                  ],
                                 },
                                 default: None,
                                },
                               ),
                               KeyValue(
                                AttributePath {
                                 attributes: [
                                  Raw {
                                   content: "default",
                                   position: (46, 13),
                                  },
                                 ],
                                },
                                Int {
                                 value: 0,
                                 position: (46, 23),
                                },
                               ),
                               KeyValue(
                                AttributePath {
                                 attributes: [
                                  Raw {
                                   content: "description",
                                   position: (47, 13),
                                  },
                                 ],
                                },
                                String {
                                 parts: [
                                  Raw {
                                   content: "Number of seconds to wait between each NOOP sent to the sending\nserver. 0 to disable.\n\nThis is meant for slow servers where the sending MTA times out\nwaiting for clamd to scan the file.\n",
                                   position: (49, 1),
                                  },
                                 ],
                                },
                               ),
                              ],
                              recursive: false,
                              position: (44, 33),
                             },
                            ],
                           },
                          ),
                          KeyValue(
                           AttributePath {
                            attributes: [
                             Raw {
                              content: "listen",
                              position: (57, 11),
                             },
                            ],
                           },
                           FunctionApplication {
                            function: Variable {
                             identifier: "mkOption",
                             position: (57, 20),
                            },
                            arguments: [
                             Map {
                              bindings: [
                               KeyValue(
                                AttributePath {
                                 attributes: [
                                  Raw {
                                   content: "type",
                                   position: (58, 13),
                                  },
                                 ],
                                },
                                PropertyAccess {
                                 expression: Variable {
                                  identifier: "types",
                                  position: (58, 20),
                                 },
                                 attribute_path: AttributePath {
                                  attributes: [
                                   Raw {
                                    content: "str",
                                    position: (58, 26),
                                   },
                                  ],
                                 },
                                 default: None,
                                },
                               ),
                               KeyValue(
                                AttributePath {
                                 attributes: [
                                  Raw {
                                   content: "example",
                                   position: (59, 13),
                                  },
                                 ],
                                },
                                String {
                                 parts: [
                                  Raw {
                                   content: "127.0.0.1:10025",
                                   position: (59, 24),
                                  },
                                 ],
                                },
                               ),
                               KeyValue(
                                AttributePath {
                                 attributes: [
                                  Raw {
                                   content: "description",
                                   position: (60, 13),
                                  },
                                 ],
                                },
                                String {
                                 parts: [
                                  Raw {
                                   content: "Address to wait for incoming SMTP connections on. See\nclamsmtpd.conf(5) for more details.\n",
                                   position: (62, 1),
                                  },
                                 ],
                                },
                               ),
                              ],
                              recursive: false,
                              position: (57, 29),
                             },
                            ],
                           },
                          ),
                          KeyValue(
                           AttributePath {
                            attributes: [
                             Raw {
                              content: "quarantine",
                              position: (67, 11),
                             },
                            ],
                           },
                           FunctionApplication {
                            function: Variable {
                             identifier: "mkOption",
                             position: (67, 24),
                            },
                            arguments: [
                             Map {
                              bindings: [
                               KeyValue(
                                AttributePath {
                                 attributes: [
                                  Raw {
                                   content: "type",
                                   position: (68, 13),
                                  },
                                 ],
                                },
                                PropertyAccess {
                                 expression: Variable {
                                  identifier: "types",
                                  position: (68, 20),
                                 },
                                 attribute_path: AttributePath {
                                  attributes: [
                                   Raw {
                                    content: "bool",
                                    position: (68, 26),
                                   },
                                  ],
                                 },
                                 default: None,
                                },
                               ),
                               KeyValue(
                                AttributePath {
                                 attributes: [
                                  Raw {
                                   content: "default",
                                   position: (69, 13),
                                  },
                                 ],
                                },
                                Variable {
                                 identifier: "false",
                                 position: (69, 23),
                                },
                               ),
                               KeyValue(
                                AttributePath {
                                 attributes: [
                                  Raw {
                                   content: "description",
                                   position: (70, 13),
                                  },
                                 ],
                                },
                                String {
                                 parts: [
                                  Raw {
                                   content: "Whether to quarantine files that contain viruses by leaving them\nin the temporary directory.\n",
                                   position: (72, 1),
                                  },
                                 ],
                                },
                               ),
                              ],
                              recursive: false,
                              position: (67, 33),
                             },
                            ],
                           },
                          ),
                          KeyValue(
                           AttributePath {
                            attributes: [
                             Raw {
                              content: "maxConnections",
                              position: (77, 11),
                             },
                            ],
                           },
                           FunctionApplication {
                            function: Variable {
                             identifier: "mkOption",
                             position: (77, 28),
                            },
                            arguments: [
                             Map {
                              bindings: [
                               KeyValue(
                                AttributePath {
                                 attributes: [
                                  Raw {
                                   content: "type",
                                   position: (78, 13),
                                  },
                                 ],
                                },
                                PropertyAccess {
                                 expression: Variable {
                                  identifier: "types",
                                  position: (78, 20),
                                 },
                                 attribute_path: AttributePath {
                                  attributes: [
                                   Raw {
                                    content: "int",
                                    position: (78, 26),
                                   },
                                  ],
                                 },
                                 default: None,
                                },
                               ),
                               KeyValue(
                                AttributePath {
                                 attributes: [
                                  Raw {
                                   content: "default",
                                   position: (79, 13),
                                  },
                                 ],
                                },
                                Int {
                                 value: 64,
                                 position: (79, 23),
                                },
                               ),
                               KeyValue(
                                AttributePath {
                                 attributes: [
                                  Raw {
                                   content: "description",
                                   position: (80, 13),
                                  },
                                 ],
                                },
                                String {
                                 parts: [
                                  Raw {
                                   content: "Maximum number of connections to accept at once.",
                                   position: (80, 28),
                                  },
                                 ],
                                },
                               ),
                              ],
                              recursive: false,
                              position: (77, 37),
                             },
                            ],
                           },
                          ),
                          KeyValue(
                           AttributePath {
                            attributes: [
                             Raw {
                              content: "outAddress",
                              position: (83, 11),
                             },
                            ],
                           },
                           FunctionApplication {
                            function: Variable {
                             identifier: "mkOption",
                             position: (83, 24),
                            },
                            arguments: [
                             Map {
                              bindings: [
                               KeyValue(
                                AttributePath {
                                 attributes: [
                                  Raw {
                                   content: "type",
                                   position: (84, 13),
                                  },
                                 ],
                                },
                                PropertyAccess {
                                 expression: Variable {
                                  identifier: "types",
                                  position: (84, 20),
                                 },
                                 attribute_path: AttributePath {
                                  attributes: [
                                   Raw {
                                    content: "str",
                                    position: (84, 26),
                                   },
                                  ],
                                 },
                                 default: None,
                                },
                               ),
                               KeyValue(
                                AttributePath {
                                 attributes: [
                                  Raw {
                                   content: "description",
                                   position: (85, 13),
                                  },
                                 ],
                                },
                                String {
                                 parts: [
                                  Raw {
                                   content: "Address of the SMTP server to send email to once it has been\nscanned.\n",
                                   position: (87, 1),
                                  },
                                 ],
                                },
                               ),
                              ],
                              recursive: false,
                              position: (83, 33),
                             },
                            ],
                           },
                          ),
                          KeyValue(
                           AttributePath {
                            attributes: [
                             Raw {
                              content: "tempDirectory",
                              position: (92, 11),
                             },
                            ],
                           },
                           FunctionApplication {
                            function: Variable {
                             identifier: "mkOption",
                             position: (92, 27),
                            },
                            arguments: [
                             Map {
                              bindings: [
                               KeyValue(
                                AttributePath {
                                 attributes: [
                                  Raw {
                                   content: "type",
                                   position: (93, 13),
                                  },
                                 ],
                                },
                                PropertyAccess {
                                 expression: Variable {
                                  identifier: "types",
                                  position: (93, 20),
                                 },
                                 attribute_path: AttributePath {
                                  attributes: [
                                   Raw {
                                    content: "str",
                                    position: (93, 26),
                                   },
                                  ],
                                 },
                                 default: None,
                                },
                               ),
                               KeyValue(
                                AttributePath {
                                 attributes: [
                                  Raw {
                                   content: "default",
                                   position: (94, 13),
                                  },
                                 ],
                                },
                                String {
                                 parts: [
                                  Raw {
                                   content: "/tmp",
                                   position: (94, 24),
                                  },
                                 ],
                                },
                               ),
                               KeyValue(
                                AttributePath {
                                 attributes: [
                                  Raw {
                                   content: "description",
                                   position: (95, 13),
                                  },
                                 ],
                                },
                                String {
                                 parts: [
                                  Raw {
                                   content: "Temporary directory that needs to be accessible to both clamd\nand clamsmtpd.\n",
                                   position: (97, 1),
                                  },
                                 ],
                                },
                               ),
                              ],
                              recursive: false,
                              position: (92, 36),
                             },
                            ],
                           },
                          ),
                          KeyValue(
                           AttributePath {
                            attributes: [
                             Raw {
                              content: "timeout",
                              position: (102, 11),
                             },
                            ],
                           },
                           FunctionApplication {
                            function: Variable {
                             identifier: "mkOption",
                             position: (102, 21),
                            },
                            arguments: [
                             Map {
                              bindings: [
                               KeyValue(
                                AttributePath {
                                 attributes: [
                                  Raw {
                                   content: "type",
                                   position: (103, 13),
                                  },
                                 ],
                                },
                                PropertyAccess {
                                 expression: Variable {
                                  identifier: "types",
                                  position: (103, 20),
                                 },
                                 attribute_path: AttributePath {
                                  attributes: [
                                   Raw {
                                    content: "int",
                                    position: (103, 26),
                                   },
                                  ],
                                 },
                                 default: None,
                                },
                               ),
                               KeyValue(
                                AttributePath {
                                 attributes: [
                                  Raw {
                                   content: "default",
                                   position: (104, 13),
                                  },
                                 ],
                                },
                                Int {
                                 value: 180,
                                 position: (104, 23),
                                },
                               ),
                               KeyValue(
                                AttributePath {
                                 attributes: [
                                  Raw {
                                   content: "description",
                                   position: (105, 13),
                                  },
                                 ],
                                },
                                String {
                                 parts: [
                                  Raw {
                                   content: "Time-out for network connections.",
                                   position: (105, 28),
                                  },
                                 ],
                                },
                               ),
                              ],
                              recursive: false,
                              position: (102, 30),
                             },
                            ],
                           },
                          ),
                          KeyValue(
                           AttributePath {
                            attributes: [
                             Raw {
                              content: "transparentProxy",
                              position: (108, 11),
                             },
                            ],
                           },
                           FunctionApplication {
                            function: Variable {
                             identifier: "mkOption",
                             position: (108, 30),
                            },
                            arguments: [
                             Map {
                              bindings: [
                               KeyValue(
                                AttributePath {
                                 attributes: [
                                  Raw {
                                   content: "type",
                                   position: (109, 13),
                                  },
                                 ],
                                },
                                PropertyAccess {
                                 expression: Variable {
                                  identifier: "types",
                                  position: (109, 20),
                                 },
                                 attribute_path: AttributePath {
                                  attributes: [
                                   Raw {
                                    content: "bool",
                                    position: (109, 26),
                                   },
                                  ],
                                 },
                                 default: None,
                                },
                               ),
                               KeyValue(
                                AttributePath {
                                 attributes: [
                                  Raw {
                                   content: "default",
                                   position: (110, 13),
                                  },
                                 ],
                                },
                                Variable {
                                 identifier: "false",
                                 position: (110, 23),
                                },
                               ),
                               KeyValue(
                                AttributePath {
                                 attributes: [
                                  Raw {
                                   content: "description",
                                   position: (111, 13),
                                  },
                                 ],
                                },
                                String {
                                 parts: [
                                  Raw {
                                   content: "Enable clamsmtp's transparent proxy support.",
                                   position: (111, 28),
                                  },
                                 ],
                                },
                               ),
                              ],
                              recursive: false,
                              position: (108, 39),
                             },
                            ],
                           },
                          ),
                          KeyValue(
                           AttributePath {
                            attributes: [
                             Raw {
                              content: "virusAction",
                              position: (114, 11),
                             },
                            ],
                           },
                           FunctionApplication {
                            function: Variable {
                             identifier: "mkOption",
                             position: (114, 25),
                            },
                            arguments: [
                             Map {
                              bindings: [
                               KeyValue(
                                AttributePath {
                                 attributes: [
                                  Raw {
                                   content: "type",
                                   position: (115, 13),
                                  },
                                 ],
                                },
                                With {
                                 expression: Variable {
                                  identifier: "types",
                                  position: (115, 25),
                                 },
                                 target: FunctionApplication {
                                  function: Variable {
                                   identifier: "nullOr",
                                   position: (115, 32),
                                  },
                                  arguments: [
                                   Variable {
                                    identifier: "path",
                                    position: (115, 39),
                                   },
                                  ],
                                 },
                                 position: (115, 20),
                                },
                               ),
                               KeyValue(
                                AttributePath {
                                 attributes: [
                                  Raw {
                                   content: "default",
                                   position: (116, 13),
                                  },
                                 ],
                                },
                                Variable {
                                 identifier: "null",
                                 position: (116, 23),
                                },
                               ),
                               KeyValue(
                                AttributePath {
                                 attributes: [
                                  Raw {
                                   content: "description",
                                   position: (117, 13),
                                  },
                                 ],
                                },
                                String {
                                 parts: [
                                  Raw {
                                   content: "Command to run when a virus is found. Please see VIRUS ACTION in\nclamsmtpd(8) for a discussion of this option and its safe use.\n",
                                   position: (119, 1),
                                  },
                                 ],
                                },
                               ),
                              ],
                              recursive: false,
                              position: (114, 34),
                             },
                            ],
                           },
                          ),
                          KeyValue(
                           AttributePath {
                            attributes: [
                             Raw {
                              content: "xClient",
                              position: (124, 11),
                             },
                            ],
                           },
                           FunctionApplication {
                            function: Variable {
                             identifier: "mkOption",
                             position: (124, 21),
                            },
                            arguments: [
                             Map {
                              bindings: [
                               KeyValue(
                                AttributePath {
                                 attributes: [
                                  Raw {
                                   content: "type",
                                   position: (125, 13),
                                  },
                                 ],
                                },
                                PropertyAccess {
                                 expression: Variable {
                                  identifier: "types",
                                  position: (125, 20),
                                 },
                                 attribute_path: AttributePath {
                                  attributes: [
                                   Raw {
                                    content: "bool",
                                    position: (125, 26),
                                   },
                                  ],
                                 },
                                 default: None,
                                },
                               ),
                               KeyValue(
                                AttributePath {
                                 attributes: [
                                  Raw {
                                   content: "default",
                                   position: (126, 13),
                                  },
                                 ],
                                },
                                Variable {
                                 identifier: "false",
                                 position: (126, 23),
                                },
                               ),
                               KeyValue(
                                AttributePath {
                                 attributes: [
                                  Raw {
                                   content: "description",
                                   position: (127, 13),
                                  },
                                 ],
                                },
                                String {
                                 parts: [
                                  Raw {
                                   content: "Send the XCLIENT command to the receiving server, for forwarding\nclient addresses and connection information if the receiving\nserver supports this feature.\n",
                                   position: (129, 1),
                                  },
                                 ],
                                },
                               ),
                              ],
                              recursive: false,
                              position: (124, 30),
                             },
                            ],
                           },
                          ),
                         ],
                         recursive: false,
                         position: (20, 58),
                        },
                       ),
                      ],
                      recursive: false,
                      position: (20, 46),
                     },
                    ],
                   },
                  ],
                 },
                ),
               ],
               recursive: false,
               position: (18, 28),
              },
             ],
            },
           ),
          ],
          recursive: false,
          position: (11, 25),
         },
        ),
       ],
       recursive: false,
       position: (10, 13),
      },
     ),
     KeyValue(
      AttributePath {
       attributes: [
        Raw {
         content: "config",
         position: (140, 3),
        },
       ],
      },
      LetIn {
       bindings: [
        KeyValue(
         AttributePath {
          attributes: [
           Raw {
            content: "configfile",
            position: (141, 5),
           },
          ],
         },
         Function {
          argument: Some(
           "conf",
          ),
          arguments: FunctionArguments {
           arguments: [],
           ellipsis: false,
          },
          definition: FunctionApplication {
           function: PropertyAccess {
            expression: Variable {
             identifier: "pkgs",
             position: (141, 24),
            },
            attribute_path: AttributePath {
             attributes: [
              Raw {
               content: "writeText",
               position: (141, 29),
              },
             ],
            },
            default: None,
           },
           arguments: [
            String {
             parts: [
              Raw {
               content: "clamsmtpd.conf",
               position: (141, 40),
              },
             ],
            },
            String {
             parts: [
              Raw {
               content: "Action: ",
               position: (143, 1),
              },
              Expression {
               expression: PropertyAccess {
                expression: Variable {
                 identifier: "conf",
                 position: (143, 19),
                },
                attribute_path: AttributePath {
                 attributes: [
                  Raw {
                   content: "action",
                   position: (143, 24),
                  },
                 ],
                },
                default: None,
               },
              },
              Raw {
               content: "\nClamAddress: ",
               position: (143, 31),
              },
              Expression {
               expression: Variable {
                identifier: "clamdSocket",
                position: (144, 24),
               },
              },
              Raw {
               content: "\nHeader: ",
               position: (144, 36),
              },
              Expression {
               expression: PropertyAccess {
                expression: Variable {
                 identifier: "conf",
                 position: (145, 19),
                },
                attribute_path: AttributePath {
                 attributes: [
                  Raw {
                   content: "header",
                   position: (145, 24),
                  },
                 ],
                },
                default: None,
               },
              },
              Raw {
               content: "\nKeepAlives: ",
               position: (145, 31),
              },
              Expression {
               expression: FunctionApplication {
                function: Variable {
                 identifier: "toString",
                 position: (146, 23),
                },
                arguments: [
                 PropertyAccess {
                  expression: Variable {
                   identifier: "conf",
                   position: (146, 32),
                  },
                  attribute_path: AttributePath {
                   attributes: [
                    Raw {
                     content: "keepAlives",
                     position: (146, 37),
                    },
                   ],
                  },
                  default: None,
                 },
                ],
               },
              },
              Raw {
               content: "\nListen: ",
               position: (146, 48),
              },
              Expression {
               expression: PropertyAccess {
                expression: Variable {
                 identifier: "conf",
                 position: (147, 19),
                },
                attribute_path: AttributePath {
                 attributes: [
                  Raw {
                   content: "listen",
                   position: (147, 24),
                  },
                 ],
                },
                default: None,
               },
              },
              Raw {
               content: "\nQuarantine: ",
               position: (147, 31),
              },
              Expression {
               expression: IfThenElse {
                predicate: PropertyAccess {
                 expression: Variable {
                  identifier: "conf",
                  position: (148, 26),
                 },
                 attribute_path: AttributePath {
                  attributes: [
                   Raw {
                    content: "quarantine",
                    position: (148, 31),
                   },
                  ],
                 },
                 default: None,
                },
                then: String {
                 parts: [
                  Raw {
                   content: "on",
                   position: (148, 48),
                  },
                 ],
                },
                else_: String {
                 parts: [
                  Raw {
                   content: "off",
                   position: (148, 58),
                  },
                 ],
                },
                position: (148, 23),
               },
              },
              Raw {
               content: "\nMaxConnections: ",
               position: (148, 63),
              },
              Expression {
               expression: FunctionApplication {
                function: Variable {
                 identifier: "toString",
                 position: (149, 27),
                },
                arguments: [
                 PropertyAccess {
                  expression: Variable {
                   identifier: "conf",
                   position: (149, 36),
                  },
                  attribute_path: AttributePath {
                   attributes: [
                    Raw {
                     content: "maxConnections",
                     position: (149, 41),
                    },
                   ],
                  },
                  default: None,
                 },
                ],
               },
              },
              Raw {
               content: "\nOutAddress: ",
               position: (149, 56),
              },
              Expression {
               expression: PropertyAccess {
                expression: Variable {
                 identifier: "conf",
                 position: (150, 23),
                },
                attribute_path: AttributePath {
                 attributes: [
                  Raw {
                   content: "outAddress",
                   position: (150, 28),
                  },
                 ],
                },
                default: None,
               },
              },
              Raw {
               content: "\nTempDirectory: ",
               position: (150, 39),
              },
              Expression {
               expression: PropertyAccess {
                expression: Variable {
                 identifier: "conf",
                 position: (151, 26),
                },
                attribute_path: AttributePath {
                 attributes: [
                  Raw {
                   content: "tempDirectory",
                   position: (151, 31),
                  },
                 ],
                },
                default: None,
               },
              },
              Raw {
               content: "\nTimeOut: ",
               position: (151, 45),
              },
              Expression {
               expression: FunctionApplication {
                function: Variable {
                 identifier: "toString",
                 position: (152, 20),
                },
                arguments: [
                 PropertyAccess {
                  expression: Variable {
                   identifier: "conf",
                   position: (152, 29),
                  },
                  attribute_path: AttributePath {
                   attributes: [
                    Raw {
                     content: "timeout",
                     position: (152, 34),
                    },
                   ],
                  },
                  default: None,
                 },
                ],
               },
              },
              Raw {
               content: "\nTransparentProxy: ",
               position: (152, 42),
              },
              Expression {
               expression: IfThenElse {
                predicate: PropertyAccess {
                 expression: Variable {
                  identifier: "conf",
                  position: (153, 32),
                 },
                 attribute_path: AttributePath {
                  attributes: [
                   Raw {
                    content: "transparentProxy",
                    position: (153, 37),
                   },
                  ],
                 },
                 default: None,
                },
                then: String {
                 parts: [
                  Raw {
                   content: "on",
                   position: (153, 60),
                  },
                 ],
                },
                else_: String {
                 parts: [
                  Raw {
                   content: "off",
                   position: (153, 70),
                  },
                 ],
                },
                position: (153, 29),
               },
              },
              Raw {
               content: "\nUser: clamav\n",
               position: (153, 75),
              },
              Expression {
               expression: FunctionApplication {
                function: Variable {
                 identifier: "optionalString",
                 position: (155, 11),
                },
                arguments: [
                 BinaryOperation {
                  operator: NotEqualTo,
                  operands: [
                   PropertyAccess {
                    expression: Variable {
                     identifier: "conf",
                     position: (155, 27),
                    },
                    attribute_path: AttributePath {
                     attributes: [
                      Raw {
                       content: "virusAction",
                       position: (155, 32),
                      },
                     ],
                    },
                    default: None,
                   },
                   Variable {
                    identifier: "null",
                    position: (155, 47),
                   },
                  ],
                  position: (155, 44),
                 },
                 String {
                  parts: [
                   Raw {
                    content: "VirusAction: ",
                    position: (155, 54),
                   },
                   Expression {
                    expression: PropertyAccess {
                     expression: Variable {
                      identifier: "conf",
                      position: (155, 69),
                     },
                     attribute_path: AttributePath {
                      attributes: [
                       Raw {
                        content: "virusAction",
                        position: (155, 74),
                       },
                      ],
                     },
                     default: None,
                    },
                   },
                  ],
                 },
                ],
               },
              },
              Raw {
               content: "\nXClient: ",
               position: (155, 88),
              },
              Expression {
               expression: IfThenElse {
                predicate: PropertyAccess {
                 expression: Variable {
                  identifier: "conf",
                  position: (156, 23),
                 },
                 attribute_path: AttributePath {
                  attributes: [
                   Raw {
                    content: "xClient",
                    position: (156, 28),
                   },
                  ],
                 },
                 default: None,
                },
                then: String {
                 parts: [
                  Raw {
                   content: "on",
                   position: (156, 42),
                  },
                 ],
                },
                else_: String {
                 parts: [
                  Raw {
                   content: "off",
                   position: (156, 52),
                  },
                 ],
                },
                position: (156, 20),
               },
              },
              Raw {
               content: "\n",
               position: (156, 57),
              },
             ],
            },
           ],
          },
          position: (141, 18),
         },
        ),
       ],
       target: FunctionApplication {
        function: Variable {
         identifier: "mkIf",
         position: (159, 5),
        },
        arguments: [
         PropertyAccess {
          expression: Variable {
           identifier: "cfg",
           position: (159, 10),
          },
          attribute_path: AttributePath {
           attributes: [
            Raw {
             content: "enable",
             position: (159, 14),
            },
           ],
          },
          default: None,
         },
         Map {
          bindings: [
           KeyValue(
            AttributePath {
             attributes: [
              Raw {
               content: "assertions",
               position: (160, 7),
              },
             ],
            },
            List {
             elements: [
              Map {
               bindings: [
                KeyValue(
                 AttributePath {
                  attributes: [
                   Raw {
                    content: "assertion",
                    position: (161, 11),
                   },
                  ],
                 },
                 PropertyAccess {
                  expression: Variable {
                   identifier: "config",
                   position: (161, 23),
                  },
                  attribute_path: AttributePath {
                   attributes: [
                    Raw {
                     content: "services",
                     position: (161, 30),
                    },
                    Raw {
                     content: "clamav",
                     position: (161, 39),
                    },
                    Raw {
                     content: "daemon",
                     position: (161, 46),
                    },
                    Raw {
                     content: "enable",
                     position: (161, 53),
                    },
                   ],
                  },
                  default: None,
                 },
                ),
                KeyValue(
                 AttributePath {
                  attributes: [
                   Raw {
                    content: "message",
                    position: (162, 11),
                   },
                  ],
                 },
                 String {
                  parts: [
                   Raw {
                    content: "clamsmtp requires clamav to be enabled",
                    position: (162, 22),
                   },
                  ],
                 },
                ),
               ],
               recursive: false,
               position: (161, 9),
              },
             ],
             position: (160, 20),
            },
           ),
           KeyValue(
            AttributePath {
             attributes: [
              Raw {
               content: "systemd",
               position: (166, 7),
              },
              Raw {
               content: "services",
               position: (166, 15),
              },
             ],
            },
            FunctionApplication {
             function: Variable {
              identifier: "listToAttrs",
              position: (166, 26),
             },
             arguments: [
              FunctionApplication {
               function: Variable {
                identifier: "imap1",
                position: (166, 39),
               },
               arguments: [
                Function {
                 argument: Some(
                  "i",
                 ),
                 arguments: FunctionArguments {
                  arguments: [],
                  ellipsis: false,
                 },
                 definition: Function {
                  argument: Some(
                   "conf",
                  ),
                  arguments: FunctionArguments {
                   arguments: [],
                   ellipsis: false,
                  },
                  definition: FunctionApplication {
                   function: Variable {
                    identifier: "nameValuePair",
                    position: (167, 9),
                   },
                   arguments: [
                    String {
                     parts: [
                      Raw {
                       content: "clamsmtp-",
                       position: (167, 24),
                      },
                      Expression {
                       expression: FunctionApplication {
                        function: Variable {
                         identifier: "toString",
                         position: (167, 35),
                        },
                        arguments: [
                         Variable {
                          identifier: "i",
                          position: (167, 44),
                         },
                        ],
                       },
                      },
                     ],
                    },
                    Map {
                     bindings: [
                      KeyValue(
                       AttributePath {
                        attributes: [
                         Raw {
                          content: "description",
                          position: (168, 11),
                         },
                        ],
                       },
                       String {
                        parts: [
                         Raw {
                          content: "ClamSMTP instance ",
                          position: (168, 26),
                         },
                         Expression {
                          expression: FunctionApplication {
                           function: Variable {
                            identifier: "toString",
                            position: (168, 46),
                           },
                           arguments: [
                            Variable {
                             identifier: "i",
                             position: (168, 55),
                            },
                           ],
                          },
                         },
                        ],
                       },
                      ),
                      KeyValue(
                       AttributePath {
                        attributes: [
                         Raw {
                          content: "wantedBy",
                          position: (169, 11),
                         },
                        ],
                       },
                       List {
                        elements: [
                         String {
                          parts: [
                           Raw {
                            content: "multi-user.target",
                            position: (169, 25),
                           },
                          ],
                         },
                        ],
                        position: (169, 22),
                       },
                      ),
                      KeyValue(
                       AttributePath {
                        attributes: [
                         Raw {
                          content: "script",
                          position: (170, 11),
                         },
                        ],
                       },
                       String {
                        parts: [
                         Raw {
                          content: "exec ",
                          position: (170, 21),
                         },
                         Expression {
                          expression: PropertyAccess {
                           expression: Variable {
                            identifier: "pkgs",
                            position: (170, 28),
                           },
                           attribute_path: AttributePath {
                            attributes: [
                             Raw {
                              content: "clamsmtp",
                              position: (170, 33),
                             },
                            ],
                           },
                           default: None,
                          },
                         },
                         Raw {
                          content: "/bin/clamsmtpd -f ",
                          position: (170, 42),
                         },
                         Expression {
                          expression: FunctionApplication {
                           function: Variable {
                            identifier: "configfile",
                            position: (170, 62),
                           },
                           arguments: [
                            Variable {
                             identifier: "conf",
                             position: (170, 73),
                            },
                           ],
                          },
                         },
                        ],
                       },
                      ),
                      KeyValue(
                       AttributePath {
                        attributes: [
                         Raw {
                          content: "after",
                          position: (171, 11),
                         },
                        ],
                       },
                       List {
                        elements: [
                         String {
                          parts: [
                           Raw {
                            content: "clamav-daemon.service",
                            position: (171, 22),
                           },
                          ],
                         },
                        ],
                        position: (171, 19),
                       },
                      ),
                      KeyValue(
                       AttributePath {
                        attributes: [
                         Raw {
                          content: "requires",
                          position: (172, 11),
                         },
                        ],
                       },
                       List {
                        elements: [
                         String {
                          parts: [
                           Raw {
                            content: "clamav-daemon.service",
                            position: (172, 25),
                           },
                          ],
                         },
                        ],
                        position: (172, 22),
                       },
                      ),
                      KeyValue(
                       AttributePath {
                        attributes: [
                         Raw {
                          content: "serviceConfig",
                          position: (173, 11),
                         },
                         Raw {
                          content: "Type",
                          position: (173, 25),
                         },
                        ],
                       },
                       String {
                        parts: [
                         Raw {
                          content: "forking",
                          position: (173, 33),
                         },
                        ],
                       },
                      ),
                      KeyValue(
                       AttributePath {
                        attributes: [
                         Raw {
                          content: "serviceConfig",
                          position: (174, 11),
                         },
                         Raw {
                          content: "PrivateTmp",
                          position: (174, 25),
                         },
                        ],
                       },
                       String {
                        parts: [
                         Raw {
                          content: "yes",
                          position: (174, 39),
                         },
                        ],
                       },
                      ),
                      KeyValue(
                       AttributePath {
                        attributes: [
                         Raw {
                          content: "unitConfig",
                          position: (175, 11),
                         },
                         Raw {
                          content: "JoinsNamespaceOf",
                          position: (175, 22),
                         },
                        ],
                       },
                       String {
                        parts: [
                         Raw {
                          content: "clamav-daemon.service",
                          position: (175, 42),
                         },
                        ],
                       },
                      ),
                     ],
                     recursive: false,
                     position: (167, 48),
                    },
                   ],
                  },
                  position: (166, 49),
                 },
                 position: (166, 46),
                },
                PropertyAccess {
                 expression: Variable {
                  identifier: "cfg",
                  position: (177, 9),
                 },
                 attribute_path: AttributePath {
                  attributes: [
                   Raw {
                    content: "instances",
                    position: (177, 13),
                   },
                  ],
                 },
                 default: None,
                },
               ],
              },
             ],
            },
           ),
          ],
          recursive: false,
          position: (159, 21),
         },
        ],
       },
       position: (140, 12),
      },
     ),
     KeyValue(
      AttributePath {
       attributes: [
        Raw {
         content: "meta",
         position: (180, 3),
        },
        Raw {
         content: "maintainers",
         position: (180, 8),
        },
       ],
      },
      With {
       expression: PropertyAccess {
        expression: Variable {
         identifier: "lib",
         position: (180, 27),
        },
        attribute_path: AttributePath {
         attributes: [
          Raw {
           content: "maintainers",
           position: (180, 31),
          },
         ],
        },
        default: None,
       },
       target: List {
        elements: [
         Variable {
          identifier: "ekleog",
          position: (180, 46),
         },
        ],
        position: (180, 44),
       },
       position: (180, 22),
      },
     ),
    ],
    recursive: false,
    position: (8, 1),
   },
   position: (4, 1),
  },
  position: (3, 1),
 },
 position: (1, 1),
}