.\" DO NOT MODIFY THIS FILE! It was generated by help2man 1.49.2. .TH MAILFROMD "8" "December 2022" "mailfromd 8.15" "System Administration Utilities" .SH NAME mailfromd \- a general-purpose mail filtering daemon .SH SYNOPSIS .B mailfromd [\fI\,OPTION\/\fR...] [\fI\,var=value\/\fR...][\fI\,SCRIPT\/\fR] .SH DESCRIPTION mailfromd \fB\-\-\fR a general purpose milter daemon .IP Operation modifiers .TP \fB\-\-daemon\fR run in daemon mode (default) .TP \fB\-E\fR preprocess source files and exit .HP \fB\-\-lint\fR, \fB\-\-syntax\-check\fR check syntax and exit .TP \fB\-\-run\fR[=\fI\,FUNC\/\fR] run script and execute function FUNC ("main" if not given) .TP \fB\-\-show\-defaults\fR show compilation defaults .TP \fB\-t\fR, \fB\-\-test\fR[=\fI\,HANDLER\/\fR] run in test mode .IP General options .TP \fB\-\-callout\-socket\fR=\fI\,STRING\/\fR set callout socket .TP \fB\-\-echo\fR[=\fI\,FILE\/\fR] divert output of the "echo" instruction to FILE .TP \fB\-I\fR, \fB\-\-include\-path\fR=\fI\,DIR\/\fR add the directory DIR to the list of directories to be searched for header files .TP \fB\-\-mtasim\fR run in mtasim compatibility mode .TP \fB\-O\fR, \fB\-\-optimize\fR[=\fI\,LEVEL\/\fR] set code optimization level .TP \fB\-P\fR, \fB\-\-module\-path\fR=\fI\,DIR\/\fR add the directory DIR to the list of directories to be searched for MFL module files .TP \fB\-p\fR, \fB\-\-port\fR, \fB\-\-milter\-socket\fR=\fI\,STRING\/\fR set communication socket .TP \fB\-\-relayed\-domain\-file\fR=\fI\,FILE\/\fR read relayed domains from FILE .TP \fB\-\-resolv\-conf\-file\fR=\fI\,FILE\/\fR read resolver configuration from FILE .TP \fB\-v\fR, \fB\-\-variable\fR=\fI\,VAR=VALUE\/\fR assign VALUE to VAR .IP Preprocessor options .TP \fB\-D\fR, \fB\-\-define=NAME\fR[=\fI\,VALUE\/\fR] define a preprocessor symbol NAME as having VALUE, or empty .TP \fB\-\-no\-preprocessor\fR disable the use of external preprocessor .TP \fB\-\-preprocessor\fR[=\fI\,COMMAND\/\fR] use command as external preprocessor .TP \fB\-U\fR, \fB\-\-undefine\fR=\fI\,NAME\/\fR undefine a preprocessor symbol NAME .IP Timeout control .TP \fB\-\-milter\-timeout\fR=\fI\,TIME\/\fR set MTA connection timeout .IP Informational and debugging options .TP \fB\-\-dump\-code\fR dump disassembled code .TP \fB\-\-dump\-grammar\-trace\fR dump grammar traces .TP \fB\-\-dump\-lex\-trace\fR dump lexical analyzer traces .TP \fB\-\-dump\-macros\fR show used Sendmail macros .TP \fB\-\-dump\-tree\fR dump parser tree .TP \fB\-\-gacopyz\-log\fR=\fI\,LEVEL\/\fR set Gacopyz log level .TP \fB\-\-[no\-]location\-column\fR print location column numbers in compiler diagnostics messages .TP \fB\-\-[no\-]stack\-trace\fR enable stack traces on runtime errors .TP \fB\-\-[no\-]trace\fR trace executed actions .TP \fB\-\-trace\-program\fR[=\fI\,MODULES\/\fR] enable filter program tracing .TP \fB\-\-xref\fR, \fB\-\-dump\-xref\fR produce a cross\-reference listing .IP Global debugging settings .TP \fB\-\-debug\-level\fR=\fI\,LEVEL\/\fR set Mailutils debugging level .HP \fB\-\-[no\-]debug\-line\-info\fR show source info with debugging messages .TP \fB\-\-log\-facility\fR=\fI\,FACILITY\/\fR output logs to syslog FACILITY .TP \fB\-M\fR, \fB\-\-mailer\fR=\fI\,MAILER\/\fR use specified URL as the default mailer .IP Server configuration modifiers .TP \fB\-\-foreground\fR stay in foreground .TP \fB\-g\fR, \fB\-\-group\fR=\fI\,NAME\/\fR retain the supplementary group NAME when switching to user privileges .TP \fB\-\-pidfile\fR=\fI\,FILE\/\fR set pidfile name .TP \fB\-S\fR, \fB\-\-source\-ip\fR=\fI\,ADDRESS\/\fR set source address for TCP connections .TP \fB\-\-single\-process\fR run in single\-process mode .TP \fB\-\-state\-directory\fR=\fI\,DIR\/\fR set new program state directory .TP \fB\-u\fR, \fB\-\-user\fR=\fI\,NAME\/\fR switch to this user privileges after startup .IP Logging and debugging options .TP \fB\-d\fR, \fB\-\-debug\fR=\fI\,LEVEL\/\fR set debugging level .TP \fB\-\-log\-tag\fR=\fI\,STRING\/\fR set the identifier used in syslog messages to STRING .TP \fB\-\-logger\fR=\fI\,STREAM\/\fR select logger stream .TP \fB\-\-[no\-]source\-info\fR debug messages include source information .TP \fB\-\-stderr\fR log to stderr .TP \fB\-\-syslog\fR log to syslog (default) .TP \fB\-X\fR, \fB\-\-[no\-]transcript\fR enable transcript of SMTP sessions .IP Configuration handling .TP \fB\-\-config\-file\fR=\fI\,FILE\/\fR load this configuration file; implies \fB\-\-no\-config\fR .TP \fB\-\-config\-lint\fR check configuration file syntax and exit .TP \fB\-\-config\-verbose\fR verbosely log parsing of the configuration files .TP \fB\-\-no\-site\-config\fR, \fB\-\-no\-config\fR do not load site\-wide configuration file .TP \fB\-\-set\fR=\fI\,PARAM=VALUE\/\fR set configuration parameter .IP Informational options .TP \fB\-\-config\-help\fR show configuration file summary .TP \fB\-\-show\-config\-options\fR show compilation options .TP \-?, \fB\-\-help\fR give this help list .TP \fB\-\-usage\fR give a short usage message .TP \fB\-V\fR, \fB\-\-version\fR print program version .PP Mandatory or optional arguments to long options are also mandatory or optional for any corresponding short options. .SH AUTHOR Written by Sergey Poznyakoff. .SH "REPORTING BUGS" Report bugs to . mailfromd home page: .SH COPYRIGHT Copyright \(co 2005\-2022 Sergey Poznyakoff License GPLv3+: GNU GPL version 3 or later .br This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. .SH "SEE ALSO" The full documentation for .B mailfromd is maintained as a Texinfo manual. If the .B info and .B mailfromd programs are properly installed at your site, the command .IP .B info mailfromd .PP should give you access to the complete manual.