View Single Post
  #4  
Old 18th March 2010, 08:30
djmixx07 djmixx07 is offline
Junior Member
 
Join Date: Mar 2010
Posts: 29
Thanks: 1
Thanked 0 Times in 0 Posts
Default

I did telnet localhost 25, these are the results:

Trying 127.0.0.1...
Connected to localhost.
Escape character is '^]'.
220 mail.immigration.gov.ph ESMTP Postfix (2.4.5)
421 4.4.2 mail.immigration.gov.ph Error: timeout exceeded
Connection closed by foreign host.

-----------------------------------
And these are for main.cf:

mynetworks = 127.0.0.0/8, 124.6.144.0/29
alias_maps = hash:/etc/aliases
alias_database = hash:/etc/postfix/aliases
virtual_maps = hash:/etc/postfix/virtual
smtpd_banner = mail.immigration.gov.ph ESMTP Postfix ($mail_version)
home_mailbox=
mail_spool_directory = /var/mail
myhostname = mail.immigration.gov.ph
mydomain = immigration.gov.ph
inet_interfaces = all
default_transport = smtp
myorigin = immigration.gov.ph
mydestination = immigration.gov.ph

smtp_sasl_local_domain =
smtp_sasl_auth_enable = yes
smtp_sasl_security_options = noanonymous
broken_sasl_auth_clients = yes
smtpb_recipient_restrictions = permit_sasl_authenticated,permit_mynetworks,check_ relay_domains
smtpd_tls_auth_only = no
smtpd_recipient_restrictions = permit_sasl_authenticated,permit_mynetworks,check_ relay_domains
smtpd_sasl_security_options = noanonymous
smtpd_sasl_auth_enable = yes
smtpd_sasl_local_domain =
smtpd_use_tls = yes
smtp_use_tls = yes
smtpd_tls_note_starttls_offer = yes
smtpd_tls_key_file = /etc/postfix/ssl/smtpd.key
smtpd_tls_cert_file = /etc/postfix/ssl/smtpd.crt
smtpd_tls_CAfile = /etc/postfix/ssl/cacert.pem
smtpd_tlsloglevel = 1
smtpd_tls_loglevel = 1
smtpd_tls_received_header = yes
smtpd_tls_session_cache_timeout = 3600s
smtp_tls_note_starttls_offer = yes
tls_random_source = dev:/dev/urandom
inet_protocols = ipv4

Hope this helps. Thanks
Reply With Quote