Advertisement
Guest User

Untitled

a guest
Apr 1st, 2012
60
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.67 KB | None | 0 0
  1. $ nmap 107.22.63.2
  2.  
  3. Starting Nmap 5.21 ( http://nmap.org ) at 2012-04-01 21:07 PKT
  4. Nmap scan report for ec2-107-22-63-2.compute-1.amazonaws.com (107.22.63.2)
  5. Host is up (0.29s latency).
  6. Not shown: 997 filtered ports
  7. PORT STATE SERVICE
  8. 22/tcp open ssh
  9. 25/tcp open smtp
  10. 80/tcp open http
  11.  
  12.  
  13.  
  14.  
  15. # cat /etc/hosts
  16.  
  17. # The following lines are desirable for IPv6 capable hosts
  18. ::1 ip6-localhost ip6-loopback
  19. fe00::0 ip6-localnet
  20. ff00::0 ip6-mcastprefix
  21. ff02::1 ip6-allnodes
  22. ff02::2 ip6-allrouters
  23. ff02::3 ip6-allhosts
  24. 107.22.63.2 ip-10-111-31-180.open-pages.com ip-10-111-31-180
  25. 127.0.0.1 ip-10-111-31-180.ec2.internal ip-10-111-31-180
  26. 127.0.0.1 localhost
  27. # Added by cloud-init
  28. 127.0.1.1 ip-10-111-31-180.ec2.internal ip-10-111-31-180
  29.  
  30.  
  31.  
  32.  
  33. root@ip-10-111-31-180:/var/www/op# cat /etc/hostname
  34. ip-10-111-31-180.open-pages.com
  35.  
  36.  
  37.  
  38.  
  39.  
  40. root@ip-10-111-31-180:/var/www/op# cat /etc/postfix/main.cf
  41. # See /usr/share/postfix/main.cf.dist for a commented, more complete version
  42.  
  43.  
  44. # Debian specific: Specifying a file name will cause the first
  45. # line of that file to be used as the name. The Debian default
  46. # is /etc/mailname.
  47. #myorigin = /etc/mailname
  48.  
  49. smtpd_banner = $myhostname ESMTP $mail_name (Ubuntu)
  50. biff = no
  51.  
  52. # appending .domain is the MUA's job.
  53. append_dot_mydomain = no
  54.  
  55. # Uncomment the next line to generate "delayed mail" warnings
  56. #delay_warning_time = 4h
  57.  
  58. readme_directory = no
  59.  
  60. # TLS parameters
  61. smtpd_tls_cert_file=/etc/ssl/certs/ssl-cert-snakeoil.pem
  62. smtpd_tls_key_file=/etc/ssl/private/ssl-cert-snakeoil.key
  63. smtpd_use_tls=yes
  64. smtpd_tls_session_cache_database = btree:${data_directory}/smtpd_scache
  65. smtp_tls_session_cache_database = btree:${data_directory}/smtp_scache
  66.  
  67. # See /usr/share/doc/postfix/TLS_README.gz in the postfix-doc package for
  68. # information on enabling SSL in the smtp client.
  69.  
  70. myhostname = ip-10-111-31-180.ec2.internal
  71. alias_maps = hash:/etc/aliases
  72. alias_database = hash:/etc/aliases
  73. myorigin = /etc/mailname
  74. mydestination = ip-10-111-31-180.ec2.internal, localhost.ec2.internal, localhost, mail.open-pages.com, open-pages.com
  75. relayhost = 127.0.0.1
  76. mynetworks = 127.0.0.0/8 [::ffff:127.0.0.0]/104 [::1]/128
  77. mailbox_command = procmail -a "$EXTENSION"
  78. mailbox_size_limit = 0
  79. recipient_delimiter =
  80. inet_interfaces = all
  81. default_transport = smtp
  82. relay_transport = smtp
  83. inet_protocols = ipv4
  84.  
  85.  
  86. #smtpd_sasl_auth_enable = yes
  87. #broken_sasl_auth_clients = yes
  88. #smtpd_sasl_authenticated_header = yes
  89.  
  90.  
  91. smtpd_sasl_auth_enable = yes
  92. smtpd_sasl_security_options =
  93. smtpd_sasl_application_name = smtpd
  94. #smtpd_sasl_local_domain = $mydomain
  95. broken_sasl_auth_clients = no
  96. root@ip-10-111-31-180:/var/www/op#
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement