SHARE
TWEET

Untitled

a guest Apr 6th, 2015 77 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. #------------------------------------------------------------------------------
  2. #
  3. # /etc/mail/sendmail.conf
  4. #
  5. # Copyright (c) 2001-2010 Richard Nelson.  All Rights Reserved.
  6. # Version:        8.14.4
  7. # Time-stamp: <2013-02-11 11:12:33 cowboy>
  8. #
  9. # Parameter file for sendmail (sourced by /usr/share/sendmail/sendmail)
  10. # Make all changes herein, instead of altering /etc/init.d/sendmail.
  11. #
  12. # After making changes here, you'll need to run /usr/sbin/sendmailconfig
  13. # or /usr/share/sendmail/update_conf to have the changes take effect -
  14. # If you change DAEMON_MODE, QUEUE_MODE, or QUEUE_INTERVAL, you'll also
  15. # need to run /etc/init.d/sendmail restart.
  16. #
  17. # Changes made herein will be kept across upgrades - except for comments!
  18. # Some comment lines have special significance ...
  19. #
  20. # **** **** **** **** DO NOT EDIT THE COMMENTS **** **** **** ****
  21. #
  22. # Supported parameters (and defaults) are listed herein.
  23. #
  24. # Notes:
  25. #       * This setup allows sendmail to run in several modes:
  26. #         - listener and queue runner..DAEMON_MODE="daemon".QUEUE_MODE="daemon"
  27. #         - listener only..............DAEMON_MODE="daemon".QUEUE_MODE="none"
  28. #         - queue runner only..........DAEMON_MODE="none"...QUEUE_MODE="daemon"
  29. #         - *NOTHING* ?!?..............DAEMON_MODE="none"...QUEUE_MODE="none"
  30. #
  31. #       * You can also run the listener from inetd:
  32. #         - listener and queue runner..DAEMON_MODE="inetd"..QUEUE_MODE="daemon"
  33. #         - listener only..............DAEMON_MODE="inetd"..QUEUE_MODE="none"
  34. #
  35. #       * You can also run the queue runner from cron:
  36. #         - listener and queue runner..DAEMON_MODE="....."..QUEUE_MODE="cron"
  37. #         - queue runner only..........DAEMON_MODE="none"...QUEUE_MODE="cron"
  38. #
  39. #       * _PARMS entries herein are shown in precedence order, any later _PARMS
  40. #         field will, if applicable, override any previous _PARMS fields.
  41. #
  42. #       * Values *MUST* be surrounded with double quotes ("), single quotes
  43. #         will *NOT* work !
  44. #
  45. #------------------------------------------------------------------------------
  46. #                               SMTP Listener Configuration
  47. #
  48. # DAEMON_NETMODE="Static";  Keyword  SMTP network mode
  49. #       static:  Do not monitor any network interfaces for changes
  50. #       dynamic: Monitor one or more interfaces for changes
  51. #
  52. DAEMON_NETMODE="Static";
  53. #
  54. # DAEMON_NETIF="eth0";  string SMTP interface(s)
  55. #       This parameter defines the network interface(s) that the daemon
  56. #       will monitor for status changes (via ppp, dhcp, ifup/down hooks).
  57. #
  58. # NOTES:
  59. #       1) Only list more than one interfaces if they only used for fallback,
  60. #          otherwise the daemon will wind up ping-ponging between interfaces.
  61. #       2) Do not use 'lo' unless your daemon only listens on the localhost.
  62. #
  63. DAEMON_NETIF="eth0";
  64. #
  65. # DAEMON_MODE="Daemon";  Keyword        SMTP listener
  66. #       daemon:  Run as standalone daemon
  67. #       inetd:   Run from inet supervisor (forks for each mail)
  68. #       none:    No listener (ie, nullclient/smarthost)
  69. #
  70. # NOTE: If you choose "none", mail will build up in the MSP queues
  71. #       and you will not receive any mail from external sites.
  72. #
  73. DAEMON_MODE="Daemon";
  74. #
  75. # DAEMON_PARMS="";  String  Listener parms
  76. #       Any parameters here will be ignored when run from cron.
  77. #       Note that {QUEUE,MISC,CRON}_PARMS, if applicable, will override
  78. #       anything declared herein.
  79. #
  80. DAEMON_PARMS="";
  81. #
  82. # DAEMON_HOSTSTATS="No";  Boolean       Listener stats
  83. #       This parameter determines whether or not host stats are collected
  84. #       and available for the `hoststat` command to display.    There will
  85. #       be a (minor) performance hit, as files will be created/updated for each
  86. #       sendmail delivery attempt.      The files are fixed in size, and small,
  87. #       but there can be many of them.
  88. #
  89. DAEMON_HOSTSTATS="No";
  90. #
  91. # DAEMON_MAILSTATS="No";  Boolean       Listener stats
  92. #       This parameter determines whether or not mailer stats are collected
  93. #       and available for the `mailstats` command to display.  There will
  94. #       be a (minor) performance hit, as this file will be updated for each
  95. #       item coming into, or out of, sendmail.  The file is fixed in size,
  96. #       and small, so there's no need to rotate it.
  97. #
  98. DAEMON_MAILSTATS="No";
  99. #
  100. #------------------------------------------------------------------------------
  101. #                               SMTP MTA Queue Runner Configuration
  102. #
  103. # QUEUE_MODE="${DAEMON_MODE}";  Keyword  SMTP queue runner
  104. #       daemon:  Run as standalone daemon
  105. #       cron:    Run from crontab
  106. #       none:    No queue runner (ie, nullclient/smarthost)
  107. #
  108. QUEUE_MODE="${DAEMON_MODE}";
  109. #
  110. # QUEUE_INTERVAL="10m";  Timespec (p?digits+w|d|h|m|s)
  111. #       Interval at which to run the MTA queues.  What interval should you use?
  112. #       The amount of time that is acceptable before retrying delivery on
  113. #       mail that couldn't be delivered in one run, or how long an item can
  114. #       set in the queue before having the first delivery attempt done.
  115. #
  116. # NOTE: To use persistent queue-runners use this form:  p120m
  117. #
  118. # NOTE: If you leave this field blank, You get *NO* queue runners !!!
  119. #
  120. QUEUE_INTERVAL="10m";
  121. #
  122. # QUEUE_PARMS="";  String  queue parameters
  123. #       Any parameters here are also used when run from cron.
  124. #       Note that MISC_PARMS and CRON_PARMS, if applicable, will override
  125. #       anything declared herein.
  126. #
  127. QUEUE_PARMS="";
  128. #
  129. #------------------------------------------------------------------------------
  130. #                               SMTP - MSP Queue Runner Configuration
  131. #
  132. # MSP_MODE="Cron";  Keyword  MSP queue runner mode
  133. #       daemon:  Run as standalone daemon
  134. #       cron:    Run from crontab
  135. #       none:    No queue runner (ie, nullclient/smarthost)
  136. #
  137. # NOTE:  If QUEUE_MODE="cron" & MSP_MODE="none", the MSP queue will
  138. #                be run as part of the MTA queue running process.
  139. #
  140. MSP_MODE="Cron";
  141. #
  142. # MSP_INTERVAL="20m";  Timespec (digits+w|d|h|m|s)
  143. #       Interval at which to run the MSP queues.  What interval should you use?
  144. #       The amount of time that is acceptable before retrying delivery on
  145. #       mail that couldn't be accepted by the MTA, and was therefore left
  146. #       in the message submission queue.  The MTA shouldn't be down that often
  147. #       so this can be larger than QUEUE_INTERVAL.
  148. #
  149. # NOTE: If you leave this field blank, The MSP queue will *NOT* be run !!!
  150. #
  151. MSP_INTERVAL="20m";
  152. #
  153. # MSP_PARMS="";  String  queue parameters
  154. #       Any parameters here are also used when run from cron.
  155. #       Note that MISC_PARMS and CRON_PARMS, if applicable, will override
  156. #       anything declared herein.
  157. #
  158. MSP_PARMS="";
  159. #
  160. # MSP_MAILSTATS="${DAEMON_MAILSTATS}";  Boolean Listener stats
  161. #       This parameter determines whether or not mailer stats are collected
  162. #       and available for the `mailstats` command to display.  There will
  163. #       be a (minor) performance hit, as this file will be updated for each
  164. #       item coming into, or out of, sendmail.  The file is fixed in size,
  165. #       and small, so there's no need to rotate it.
  166. #
  167. MSP_MAILSTATS="${DAEMON_MAILSTATS}";
  168. #
  169. #------------------------------------------------------------------------------
  170. #                               Miscellaneous Confguration
  171. #
  172. # MISC_PARMS="";  String  miscellaneous parameters
  173. #       Miscellaneous parameters - applied to any sendmail invocation.
  174. #       Any parameters here are also used when run from cron.
  175. #       Applied after {DAEMON,QUEUE}_PARMS, and can therefore override them
  176. #       if need be (in which case why did use them?)
  177. #       Note that CRON_PARMS, if applicable, will override anything
  178. #       declared herein.
  179. #
  180. #       Here is where'd you setup and debugging or special parms that you
  181. #       want shared betwixt the possibly separate listener/queue-runner
  182. #       processes.
  183. #
  184. MISC_PARMS="";
  185. #
  186. #------------------------------------------------------------------------------
  187. #                               Cron Job Configuration
  188. #
  189. # CRON_MAILTO="root";  String  cronjob output
  190. #       Recipient of *rare* cronjob output.  Some cronjobs will be running
  191. #       under user `mail`, so any problems encountered would probably be missed
  192. #       so define a user who actually (hopefully) checks email now and again.
  193. #
  194. CRON_MAILTO="root";
  195. #
  196. # CRON_PARMS="";  String  cron specific parmeters
  197. #       Cron parameters - applied *only* when sendmail queue running is done
  198. #       via a cronjob. Applied after QUEUE_PARMS and MISC_PARMS, and can
  199. #       therefore override them if need be.
  200. #
  201. CRON_PARMS="";
  202. #
  203. #------------------------------------------------------------------------------
  204. #                               Other stuff
  205. # LOG_CMDS="No"; Binary command logging flag
  206. #       Will cause syslog entries for many of the sendmail related commands
  207. #       like runq, mailq, etc - you'll also see cron jobs (if enabled).
  208. #
  209. LOG_CMDS="No";
  210. #
  211. # HANDS_OFF="No"; Binary  Do *NOT* touch the configuration
  212. #       Set this *ONLY* if you are going to be fully responsible for the entire
  213. #       setup of sendmail - the directories, permissions, databases, etc.  With
  214. #       this variable set to "Yes", nothing will be done for you during updates.
  215. #
  216. #       In other words, "The blood be upon your hands" if you set this...
  217. #       My ability to help with problems will be greatly reduced !
  218. #
  219. #       "Well, a pet peeve of mine is people who directly edit the
  220. #       .cf file instead of using the m4 configuration files.
  221. #       Don't do it! [laughs] I treat the .cf file as a binary
  222. #       file - you should too."
  223. #               --  Eric Allman 1999/10/18
  224. #               http://www.dotcomeon.com/allman_sendmail_qa.html
  225. #
  226. HANDS_OFF="No";
  227. #      
  228. #------------------------------------------------------------------------------
  229. #                               Queue Aging Configuration
  230. #
  231. #       Why would you want to age your queues?  On every queue-run interval,
  232. #       sendmail will try *every* file in the queue...  If a site is down
  233. #       for a while, considerable time can be wasted each interval in retrying
  234. #       it.  The scheme supported allows aging by time, and can move the older
  235. #       files to another (less frequently run queue), thereby reducing overal
  236. #       system impact - and providing better mail throughput.
  237. #
  238. #       Note that this support is completely separate from QUEUE_MODE=cron,
  239. #       you can age queues even if you're running QUEUE_MODE=daemon.
  240. #
  241. #       There are four parts to the queue aging support, and these parts
  242. #       may be repeated, to operate on multiple queues.
  243. #
  244. #       1. Interval at which to age the queues (in minutes).
  245. #          What interval should you use?  Roughly twice the normal queue
  246. #          interval, so that messages are tried twice in each successively
  247. #          slower queue.
  248. #
  249. #          NOTE: some values just wont work, due to crontab pecularities
  250. #          a value of 90 minutes will actually be run at every x:30 !
  251. #          Please check /etc/cron.d/sendmail to make sure it is doing what
  252. #          you thought it should !
  253. #
  254. #       2. Criteria (optional and defaults to interval).  This is the
  255. #          specification of which files to move.  It defaults moving
  256. #          files whose age in the queues exceeds the interval.
  257. #          This field, if specified can be very complex - supporting
  258. #          aging by just about anything! see qtool(8) for details.
  259. #
  260. #       3. To queue.  This is the queue to which files will be moved.
  261. #          It may be fully qualified, or relative to /var/spool/mqueue.
  262. #
  263. #       4. From queue.  This is the queue from which files will be moved.
  264. #          It may be fully qualified, or relative to /var/spool/mqueue.
  265. #
  266. #       Samples:
  267. #       AGE_DATA="[['25m', '', 'hourly', 'main']]";
  268. #               Every 25 minutes, move any file older than 25 minutes from
  269. #               /var/spool/mqueue/main to /var/spool/mqueue/hourly
  270. #
  271. #       AGE_DATA="[['25m',      '', 'hourly', 'main'],\
  272. #               ['120m', '', 'daily',  'hourly']]";
  273. #               Same as the above, but also move files from the hourly queue
  274. #               to the daily queue after 120 minutes in the hourly queue.
  275. #
  276. #       AGE_DATA="[['25m',\
  277. #               '-e \'$msg{message}[0] == /Deferred: 452 4.2.2 Over quota/\'',\
  278. #               'overquota', 'main']]";
  279. #               Every 25 minutes, move all files deferred because of quota
  280. #               violations from /var/spool/mqueue/main to
  281. #               /var/spool/mqueue/overquota where they can be processed on
  282. #               a different interval, or by some other means.
  283. #
  284. #       If the above samples suggest Perl arrays, well, they are...
  285. #
  286. # AGE_DATA="";  Perl array  Queue aging data
  287. #
  288. AGE_DATA="";
  289. #
  290. #------------------------------------------------------------------------------
  291. #                               Dependant variables (set according to other variables)
  292. #
  293. #
  294. #------------------------------------------------------------------------------
  295. #                               Hidden variables (the blood be upon your hands)
  296. #
  297. DAEMON_RUNASUSER="No";
  298. #
  299. #------------------------------------------------------------------------------
  300. #                               Deprecated variables (kept for reference)
  301. #
  302. DAEMON_STATS="${DAEMON_MAILSTATS}";
  303. MSP_STATS="${MSP_MAILSTATS}";
  304. #
  305. #------------------------------------------------------------------------------
  306. #                               Unknown variables (kept for reference)
  307. #
  308. #------------------------------------------------------------------------------
  309. #
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top