//! Defaults pub const CONFIG_FILE_LOCATION: &str = "/etc/husk/config.toml"; /// If encrypting a mail, the subject is moved into the encrypted body /// and replaced by `SUBJECT_REPLACEMENT` (unless configured otherwise). pub const SUBJECT_REPLACEMENT: &str = "..."; pub const PID_FILE_LOCATION: &str = "/run/husk/pid"; pub const FOOTER: &str = "---\nProcessed by Husk at {date}.\n"; pub const FOOTER_RECIPIENTS: &str = "This mail was also send to {rcpts}.\n"; /// This ID is used when reinjecting an unencrypted mail into the MTA. pub const HELO_REINJECT_ID: &str = "husk.reinject"; /// Default logging configuration. pub const CONSOLE_LOGGING: &str = " [appenders.console] kind = \"console\" [appenders.console.encoder] pattern = \"{d(%Y-%m-%d %H:%M:%S)(local)} {h({l})} [{t}] {m}{n}\" [[appenders.console.filters]] kind = \"threshold\" level = \"debug\" [root] level = \"info\" appenders = [\"console\"] [loggers.\"husk\"] level = \"debug\" ";