Advertisement
Guest User

Untitled

a guest
Nov 27th, 2014
158
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.63 KB | None | 0 0
  1. Cannot connect to SMTP server [localhost] [gethost() failed for address 'localhost' [Success]]
  2.  
  3. Aug 26 00:14:31 station1 postfix/smtpd[9385]: connect from localhost.localdomain[127.0.0.1]
  4. Aug 26 00:14:31 station1 postfix/smtpd[9385]: disconnect from localhost.localdomain[127.0.0.1]
  5. Aug 26 00:15:31 station1 postfix/smtpd[9385]: connect from localhost.localdomain[127.0.0.1]
  6. Aug 26 00:15:31 station1 postfix/smtpd[9385]: disconnect from localhost.localdomain[127.0.0.1]
  7.  
  8. telnet localhost 25
  9.  
  10. mail -s "Test mail" mymailid@gmail.com
  11.  
  12. SMTP server: localhost
  13. SMTP helo: localhost
  14. SMTP email: zabbix@localhost
  15.  
  16. 127.0.0.1 localhost.localdomain localhost
  17. <my-ip-here> station1.lab.mycompany.com station1
  18.  
  19. # Default:
  20. # Server=
  21.  
  22. Server=127.0.0.1
  23.  
  24. ### Option: Hostname
  25. # Unique, case sensitive hostname.
  26. # Required for active checks and must match hostname as configured on the server.
  27. #
  28. # Default:
  29. # Hostname=system.uname
  30.  
  31. Hostname=Zabbix server
  32.  
  33. ### Option: ListenPort
  34. # Agent will listen on this port for connections from the server.
  35. #
  36. # Mandatory: no
  37. # Range: 1024-32767
  38. # Default:
  39. # ListenPort=10050
  40.  
  41. # This is a config file for zabbix_agent
  42. # To get more information about Zabbix visit http://www.zabbix.com
  43.  
  44. ### Option: Server
  45. # IP address of Zabbix server
  46. # Connections from other hosts will be denied
  47. # If IPv6 support is enabled then '127.0.0.1', '::127.0.0.1', '::ffff:127.0.0.1' are treated equally.
  48. #
  49. # Mandatory: yes
  50. # Default:
  51. # Server=
  52.  
  53. Server=127.0.0.1
  54.  
  55. ### Option: Timeout
  56. # Spend no more than Timeout seconds on processing
  57. #
  58. # Mandatory: no
  59. # Range: 1-30
  60. # Default:
  61. # Timeout=3
  62.  
  63. root@station1:~#hostname
  64. station1.lab.mycompany.com
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement