# mcp.conf # Copyright (c) 2004 Sendmail, Inc. and its suppliers. # $Id: mcp.conf,v 1.22 2005/04/21 21:31:00 ca Exp $ # # Example configuration file for MCP. # # Reminder: if the format changes, change misc/sm.setup.sh # entries are (currently) started in reverse order lmtp { socket { name = lmtpsock; umask = 007; user = root; group = smxc; } protocol = tcp; mcp_type = nostartaccept; min_processes = 1; max_processes = 8; user = root; path = /usr/local/bin/procmail; arguments = "procmail -z+"; } smtps { port = 25; protocol = tcp; mcp_type = pass; pass_fd_socket = smtps/smtpsfd; user = smxs; path = ../smtps/smtps; arguments = "smtps -w 4 -d 3 -v 12 -g 262 -O 60 -i -l . -L smtps/smtpsfd"; } ## to run two servers different names and different sockets must be used: ## moreover, restartdependencies for qmgr and smar must be changed too. #smtps MSA { # port = 587; # protocol = tcp; # mcp_type = pass; # pass_fd_socket = smtps/msafd; # user = smxs; # path = ../smtps/smtps; # arguments = "smtps -I 1 -w 4 -d 3 -v 12 -g 262 -O 60 -i -l . -L smtps/msafd"; #} # #smtps MTA { # port = 25; # protocol = tcp; # mcp_type = pass; # pass_fd_socket = smtps/mtafd; # user = smxs; # path = ../smtps/smtps; # arguments = "smtps -I 0 -w 4 -d 3 -v 12 -g 262 -O 60 -i -l . -L smtps/mtafd"; #} ## smtpc { mcp_type = wait; user = smxc; path = "../smtpc/smtpc"; arguments = "smtpc -w 4 -O 60 -P 25 -d 4 -v 12 -i -l ."; } # must be previous to last in the list: started after smar qmgr { mcp_type = wait; user = smxq; restartdependencies = { smtps,smtpc,smar, }; path = "../qmgr/qmgr"; arguments = "qmgr -w 4 -W 4 -T 259200 -D 60 -B 256 -A 512 -d 5 -v 12"; } # must be last in the list: started first smar { mcp_type = wait; user = smxm; restartdependencies = { smtps,qmgr }; path = "../smar/smar"; arguments = "smar -i 127.0.0.1 -d 3 -v 12"; }