# # Configuration file for mailprocd. # # See mailprocd.conf(5) for details. Note that the trailing "/" is important # in directory path settings. # # Maximum number of concurrent worker processes. max-workers = 50 # Background cleanup check interval (seconds). cleanup-interval = 30 # Temporary safety net. Treat permanent errors as temporary ones soft-fail = no # "Home directory" for mailprocd home = "/var/spool/postfix/var/mailprocd/" # Path to the MTA databases mailbox-db = "/etc/postfix/mailbox" uid-db = "/etc/postfix/uid" gid-db = "/etc/postfix/gid" rules-db = "/etc/postfix/rules" lists-db = "/etc/postfix/lists" # PID file for mailprocd master pid-file = "/var/run/mailprocd.pid" # Directory for mailprocd sockets socket-dir = "/var/run/mailprocd/" # Set $PATH to this value in mail-to-command safe-path = "/bin:/usr/bin:/usr/local/bin:/sbin:/usr/sbin:/usr/local/sbin:/mail/bin" # Shell used for executing mail-to-command directives containing sh escapes safe-shell = "/bin/sh" # # Queue Management # # Path to mailprocd's internal queue directory qmgr.path = "/var/spool/postfix/var/mailprocd/queue/" # Maximum idle time for queue "worker" processes (seconds) qmgr.max-idle = 30 # # SMTP Service # smtp.enable = yes smtp.host = "localhost" smtp.port = "2525" smtp.listen-backlog = 10 smtp.max-clients = 100 # # LMTP Service (requires --enable-lmtp) # lmtp.enable = no lmtp.listen-backlog = 10 lmtp.socket-path = "/var/spool/postfix/var/mailprocd/lmtp" lmtp.max-clients = 100 # # Postfix Policy Server (requires --enable-policy) # pol.enable = no pol.listen-backlog = 10 pol.socket-path = "/var/spool/postfix/var/mailprocd/policy" # pol.socket-owner = "_postfix" # # Mailprocd Control Socket (requires --enable-control) # ctl.enable = no ctl.listen-backlog = 10 ctl.socket-path = "/var/run/mailprocd/.control.sock" ctl.max-clients = 30 # # Local Delivery Settings # # Path to sendmail(8) binary (for forwarding) #local.sendmail-path = "/usr/local/sbin/sendmail" local.sendmail-path = "/usr/sbin/sendmail" # SMTP relay address (for forwarding) local.relay-addr = "127.0.0.1" local.relay-port = "425" # Insert header with rule information local.rule-header = "X-Csoft-Rule: " # Name of header inserted for mail-to-command loop detection local.loop-header = "X-Csoft-Pipe: " # Emulate qmail environment variables and behavior in mail-to-command local.emul-qmail = yes # Disable mail-to-command when a user's shell is set to this value local.susp-shell = "/bin/suspended" # Return a permanent failure for mail-to-command deliveries to suspended users local.susp-bounce = yes # # Mailing List Processing # # Enable mailing list processing lists.enable = yes # Check for spam to the "post" address of mailing lists, and threshold # for rejection of messages lists.spam-check = yes lists.spam-threshold = 8.0 # Maximum post size in bytes (overridable in lists database) lists.post-max-default = 3000000 # Mailing list processor (only "mailman" is currently implemented) lists.processor = "mailman" # Path to mailman binary and group we need to chgrp() to before executing it # lists.mailman.path = "/usr/local/lib/mailman/mail/mailman" # lists.mailman.group = "_mailman" # # Spam Filtering Settings # # Automatically learn from all messages sa.learning = yes # Maximum message size for filtering in bytes (0 = disable) sa.max-size = 3000000 # Directory in $HOME containing SpamAssassin configuration sa.user-conf-dir = "/.spamassassin" # Backlog for spamcheck sockets sa.socket-backlog = 20 # Spamcheck processes must terminate after this many messages (0 = no limit) sa.max-proc-msgs = 100 # Maximum idle time for a spamcheck process before it terminates (seconds) sa.max-idle = 60 # Report spamcheck results to the given mailblockd server. sa.mbd-report = no sa.mbd-host = "localhost" sa.mbd-port = "925" sa.mbd-pass = "secret" # Force spam filtering to specified domains (comma-separated). sa.force-filter-domains = "gmail.com,googlemail.com,aol.com,comcast.net,hotmail.com,msn.com,outlook.com,live.com" sa.force-filter-threshold = 5.0