Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Cannot connect to SMTP server [localhost] [gethost() failed for address 'localhost' [Success]]
- Aug 26 00:14:31 station1 postfix/smtpd[9385]: connect from localhost.localdomain[127.0.0.1]
- Aug 26 00:14:31 station1 postfix/smtpd[9385]: disconnect from localhost.localdomain[127.0.0.1]
- Aug 26 00:15:31 station1 postfix/smtpd[9385]: connect from localhost.localdomain[127.0.0.1]
- Aug 26 00:15:31 station1 postfix/smtpd[9385]: disconnect from localhost.localdomain[127.0.0.1]
- telnet localhost 25
- mail -s "Test mail" mymailid@gmail.com
- SMTP server: localhost
- SMTP helo: localhost
- SMTP email: zabbix@localhost
- 127.0.0.1 localhost.localdomain localhost
- <my-ip-here> station1.lab.mycompany.com station1
- # Default:
- # Server=
- Server=127.0.0.1
- ### Option: Hostname
- # Unique, case sensitive hostname.
- # Required for active checks and must match hostname as configured on the server.
- #
- # Default:
- # Hostname=system.uname
- Hostname=Zabbix server
- ### Option: ListenPort
- # Agent will listen on this port for connections from the server.
- #
- # Mandatory: no
- # Range: 1024-32767
- # Default:
- # ListenPort=10050
- # This is a config file for zabbix_agent
- # To get more information about Zabbix visit http://www.zabbix.com
- ### Option: Server
- # IP address of Zabbix server
- # Connections from other hosts will be denied
- # If IPv6 support is enabled then '127.0.0.1', '::127.0.0.1', '::ffff:127.0.0.1' are treated equally.
- #
- # Mandatory: yes
- # Default:
- # Server=
- Server=127.0.0.1
- ### Option: Timeout
- # Spend no more than Timeout seconds on processing
- #
- # Mandatory: no
- # Range: 1-30
- # Default:
- # Timeout=3
- root@station1:~#hostname
- station1.lab.mycompany.com
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement