Advertisement
diabliyo

stuff_test_postfix

May 9th, 2013
208
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 4.89 KB | None | 0 0
  1. Escanie desde fuera mi servidor y tiene abiertos:
  2. 22/tcp open ssh
  3. 53/tcp open domain
  4. 80/tcp open http
  5. 110/tcp open pop3
  6. 143/tcp open imap
  7. 993/tcp open imaps
  8. 995/tcp open pop3s
  9.  
  10. Al enviar un correo, recibo esto en el Log (maillog):
  11.  
  12. May 9 19:48:52 server postfix/pickup[24744]: 4AB933EE1: uid=48 from=<contacto@crver.net>
  13. May 9 19:48:52 server postfix/cleanup[24855]: 4AB933EE1: message-id=<20130510004852.4AB933EE1@server.crver.net>
  14. May 9 19:48:52 server postfix/qmgr[24745]: 4AB933EE1: from=<contacto@crver.net>, size=804, nrcpt=1 (queue active)
  15. May 9 19:49:22 server postfix/smtp[24857]: connect to gmail-smtp-in.l.google.com[173.194.77.26]:25: Connection timed out
  16. May 9 19:49:52 server postfix/smtp[24857]: connect to alt1.gmail-smtp-in.l.google.com[74.125.130.26]:25: Connection timed out
  17. May 9 19:50:22 server postfix/smtp[24857]: connect to alt2.gmail-smtp-in.l.google.com[173.194.74.26]:25: Connection timed out
  18. May 9 19:50:52 server postfix/smtp[24857]: connect to alt3.gmail-smtp-in.l.google.com[173.194.73.26]:25: Connection timed out
  19. May 9 19:51:22 server postfix/smtp[24857]: connect to alt4.gmail-smtp-in.l.google.com[173.194.67.26]:25: Connection timed out
  20. May 9 19:51:23 server postfix/smtp[24857]: 4AB933EE1: to=<darkdiabliyo@gmail.com>, relay=none, delay=151, delays=0.13/0.07/151/0, dsn=4.4.1, status=deferred (connect to alt4.gmail-smtp-in.l.google.com[173.194.67.26]:25: Connection timed out)
  21.  
  22. Mis Configuracion:
  23.  
  24. shell# postconf -n
  25. alias_database = hash:/etc/aliases
  26. alias_maps = hash:/etc/aliases
  27. broken_sasl_auth_clients = yes
  28. command_directory = /usr/sbin
  29. config_directory = /etc/postfix
  30. daemon_directory = /usr/libexec/postfix
  31. data_directory = /var/lib/postfix
  32. debug_peer_level = 2
  33. home_mailbox = Maildir/
  34. html_directory = no
  35. inet_interfaces = all
  36. mail_owner = postfix
  37. mailbox_command =
  38. mailq_path = /usr/bin/mailq.postfix
  39. manpage_directory = /usr/share/man
  40. mydestination = $myhostname, $mydomain, localhost.$mydomain, localhost, /etc/postfix/dominios.cf
  41. mydomain = crver.net
  42. myhostname = server.crver.net
  43. mynetworks = 127.0.0.0/8
  44. newaliases_path = /usr/bin/newaliases.postfix
  45. queue_directory = /var/spool/postfix
  46. readme_directory = /usr/share/doc/postfix-2.6.6/README_FILES
  47. relay_domains = #mydestination
  48. sample_directory = /usr/share/doc/postfix-2.6.6/samples
  49. sendmail_path = /usr/sbin/sendmail.postfix
  50. setgid_group = postdrop
  51. smtp_connect_timeout = 0
  52. smtp_tls_note_starttls_offer = yes
  53. smtp_use_tls = yes
  54. smtpd_banner = $myhostname ESMTP
  55. smtpd_error_sleep_time = 0
  56. smtpd_helo_required = yes
  57. smtpd_recipient_restrictions = permit_sasl_authenticated,permit_mynetworks,reject_unauth_destination
  58. smtpd_sasl_auth_enable = yes
  59. smtpd_sasl_authenticated_header = yes
  60. smtpd_sasl_local_domain =
  61. smtpd_sasl_security_options = noanonymous
  62. smtpd_tls_CAfile = /etc/postfix/ssl/cacert.pem
  63. smtpd_tls_auth_only = no
  64. smtpd_tls_cert_file = /etc/postfix/ssl/smtpd.crt
  65. smtpd_tls_key_file = /etc/postfix/ssl/smtpd.key
  66. smtpd_tls_loglevel = 1
  67. smtpd_tls_received_header = yes
  68. smtpd_tls_security_level = may
  69. smtpd_tls_session_cache_timeout = 3600s
  70. smtpd_use_tls = yes
  71. strict_rfc821_envelopes = yes
  72. tls_random_source = dev:/dev/urandom
  73. unknown_local_recipient_reject_code = 550
  74.  
  75. shell# cat master.cf
  76. smtp inet n - n - - smtpd -v
  77. pickup fifo n - n 60 1 pickup
  78. cleanup unix n - n - 0 cleanup
  79. qmgr fifo n - n 300 1 qmgr
  80. tlsmgr unix - - n 1000? 1 tlsmgr
  81. rewrite unix - - n - - trivial-rewrite
  82. bounce unix - - n - 0 bounce
  83. defer unix - - n - 0 bounce
  84. trace unix - - n - 0 bounce
  85. verify unix - - n - 1 verify
  86. flush unix n - n 1000? 0 flush
  87. proxymap unix - - n - - proxymap
  88. proxywrite unix - - n - 1 proxymap
  89. smtp unix - - n - - smtp
  90. relay unix - - n - - smtp
  91. -o smtp_fallback_relay=
  92. showq unix n - n - - showq
  93. error unix - - n - - error
  94. retry unix - - n - - error
  95. discard unix - - n - - discard
  96. local unix - n n - - local
  97. virtual unix - n n - - virtual
  98. lmtp unix - - n - - lmtp
  99. anvil unix - - n - 1 anvil
  100. scache unix - - n - 1 scache
  101. maildrop unix - n n - - pipe
  102. flags=DRhu user=vmail argv=/usr/local/bin/maildrop -d ${recipient}
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement