opensmtpd-filter-sake/src/main.rs
2023-07-22 18:02:05 +02:00

22 lines
389 B
Rust

use std::process::ExitCode;
mod address;
mod code;
mod config;
mod input;
mod service;
const COMMENT_CHAR: char = '#';
const DEFAULT_SEPARATOR: char = '+';
const KEY_SEPARATOR: char = ':';
const PARAM_SEPARATOR: char = '|';
fn main() -> ExitCode {
match service::start_service() {
Ok(_) => ExitCode::SUCCESS,
Err(e) => {
eprintln!("error: {e:#}");
ExitCode::FAILURE
}
}
}