dhumphryes

Untitled

Apr 18th, 2011
231
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 4.80 KB | None | 0 0
  1. root@humphryes:/home/david# telnet localhost 2525
  2. Trying ::1...
  3. Trying 127.0.0.1...
  4. Connected to localhost.
  5. Escape character is '^]'.
  6. 220 humphryes.net ESMTP Sendmail 8.14.3/8.14.3/Debian-9.2ubuntu1; Mon, 18 Apr 2011 21:24:55 -0500; (No UCE/UBE) logging access from: localhost(OK)-localhost [127.0.0.1]
  7.  
  8.  
  9.  
  10.  
  11.  
  12. divert(-1)dnl
  13. #-----------------------------------------------------------------------------
  14. # $Sendmail: debproto.mc,v 8.14.3 2010-08-03 06:56:05 cowboy Exp $
  15. #
  16. # Copyright (c) 1998-2009 Richard Nelson. All Rights Reserved.
  17. #
  18. # cf/debian/sendmail.mc. Generated from sendmail.mc.in by configure.
  19. #
  20. # sendmail.mc prototype config file for building Sendmail 8.14.3
  21. #
  22. # Note: the .in file supports 8.7.6 - 9.0.0, but the generated
  23. # file is customized to the version noted above.
  24. #
  25. # This file is used to configure Sendmail for use with Debian systems.
  26. #
  27. # If you modify this file, you will have to regenerate /etc/mail/sendmail.cf
  28. # by running this file through the m4 preprocessor via one of the following:
  29. # * make (or make -C /etc/mail)
  30. # * sendmailconfig
  31. # * m4 /etc/mail/sendmail.mc > /etc/mail/sendmail.cf
  32. # The first two options are preferred as they will also update other files
  33. # that depend upon the contents of this file.
  34. #
  35. # The best documentation for this .mc file is:
  36. # /usr/share/doc/sendmail-doc/cf.README.gz
  37. #
  38. #-----------------------------------------------------------------------------
  39. divert(0)dnl
  40. #
  41. # Copyright (c) 1998-2005 Richard Nelson. All Rights Reserved.
  42. #
  43. # This file is used to configure Sendmail for use with Debian systems.
  44. #
  45. define(`_USE_ETC_MAIL_')dnl
  46. include(`/usr/share/sendmail/cf/m4/cf.m4')dnl
  47. VERSIONID(`$Id: sendmail.mc, v 8.14.3-9.2ubuntu1 2010-08-03 06:56:05 cowboy Exp $')
  48. OSTYPE(`debian')dnl
  49. DOMAIN(`debian-mta')dnl
  50. dnl # Items controlled by /etc/mail/sendmail.conf - DO NOT TOUCH HERE
  51. undefine(`confHOST_STATUS_DIRECTORY')dnl #DAEMON_HOSTSTATS=
  52. dnl # Items controlled by /etc/mail/sendmail.conf - DO NOT TOUCH HERE
  53. dnl define(`SMART_HOST',`smtp.gmail.com:465')
  54. define(`confAUTH_MECHANISMS', `EXTERNAL GSSAPI DIGEST-MD5 CRAM-MD5 LOGIN PLAIN')dnl
  55. FEATURE(`authinfo',`hash /etc/mail/auth/client-info')dnl
  56. dnl #
  57. dnl # General defines
  58. dnl #
  59. dnl # SAFE_FILE_ENV: [undefined] If set, sendmail will do a chroot()
  60. dnl # into this directory before writing files.
  61. dnl # If *all* your user accounts are under /home then use that
  62. dnl # instead - it will prevent any writes outside of /home !
  63. dnl # define(`confSAFE_FILE_ENV', `')dnl
  64. dnl #
  65. dnl # Daemon options - restrict to servicing LOCALHOST ONLY !!!
  66. dnl # Remove `, Addr=' clauses to receive from any interface
  67. dnl # If you want to support IPv6, switch the commented/uncommentd lines
  68. dnl #
  69. FEATURE(`no_default_msa')dnl
  70. dnl DAEMON_OPTIONS(`Family=inet6, Name=MTA-v6, Port=2525, Addr=::1')dnl
  71. DAEMON_OPTIONS(`Family=inet, Name=MTA-v4, Port=2525')dnl
  72. dnl DAEMON_OPTIONS(`Family=inet6, Name=MSP-v6, Port=submission, M=Ea, Addr=::1')dnl
  73. dnl DAEMON_OPTIONS(`Family=inet, Name=MSP-v4, Port=submission, M=Ea, Addr=192.168.1.128')dnl
  74. dnl DAEMON_OPTIONS(`fAMILY=inet6, Name=MTA-Ipv6, Port=2525, Addr=::1')dnl
  75. dnl #
  76. dnl # Be somewhat anal in what we allow
  77. define(`confPRIVACY_FLAGS',dnl
  78. `needmailhelo,needexpnhelo,needvrfyhelo,restrictqrun,restrictexpand,nobodyreturn,authwarnings')dnl
  79. dnl #
  80. dnl # Define connection throttling and window length
  81. define(`confCONNECTION_RATE_THROTTLE', `15')dnl
  82. define(`confCONNECTION_RATE_WINDOW_SIZE',`10m')dnl
  83. dnl #
  84. dnl # Features
  85. dnl #
  86. dnl # use /etc/mail/local-hosts-names
  87. FEATURE(`use_cw_file')dnl
  88. dnl #
  89. dnl # The access db is the basis for most of sendmail's checking
  90. FEATURE(`access_db', , `skip')dnl
  91. dnl #
  92. dnl # The greet_pause feature stops some automail bots - but check the
  93. dnl # provided access db for details on excluding localhosts...
  94. FEATURE(`greet_pause', `1000')dnl 1 seconds
  95. dnl #
  96. dnl # Delay_checks allows sender<->recipient checking
  97. FEATURE(`delay_checks', `friend', `n')dnl
  98. dnl #
  99. dnl # If we get too many bad recipients, slow things down...
  100. define(`confBAD_RCPT_THROTTLE',`3')dnl
  101. dnl #
  102. dnl # Stop connections that overflow our concurrent and time connection rates
  103. FEATURE(`conncontrol', `nodelay', `terminate')dnl
  104. FEATURE(`ratecontrol', `nodelay', `terminate')dnl
  105. dnl #
  106. dnl # If you're on a dialup link, you should enable this - so sendmail
  107. dnl # will not bring up the link (it will queue mail for later)
  108. dnl define(`confCON_EXPENSIVE',`True')dnl
  109. dnl #
  110. dnl # Dialup/LAN connection overrides
  111. dnl #
  112. dnl include(`/etc/mail/m4/dialup.m4')dnl
  113. dnl include(`/etc/mail/m4/provider.m4')dnl
  114. dnl #
  115. dnl # Masquerading options
  116. FEATURE(`always_add_domain')dnl
  117. MASQUERADE_AS(`humphryes.net')dnl
  118. FEATURE(`allmasquerade')dnl
  119. FEATURE(`masquerade_envelope')dnl
  120. dnl # Default Mailer setup
  121. MAILER_DEFINITIONS
  122. MAILER(`smtp')dnl
  123. MAILER(`local')dnl
Advertisement
Add Comment
Please, Sign In to add comment