Please Help :( Mail Server Cannot send to external domain

Discussion in 'Server Operation' started by aamakhfudh, May 17, 2012.

  1. aamakhfudh

    aamakhfudh New Member

    Somebody please help me, i create an mail server with postfix, dovecot using this tutorial http://wiki.centos.org/HowTos/postfix

    i can send and receive email from local domain but a can't send email to my gmail account, when i try to send it from the gmail account email sent and i can open it from my outlook

    somebody please guide me to solve the problem, i must solve it this day cause it's been 2 days late from the deadline


    this is the output of postconf -n :
    Code:
    alias_database = hash:/etc/aliases
    alias_maps = hash:/etc/aliases
    broken_sasl_auth_clients = yes
    command_directory = /usr/sbin
    config_directory = /etc/postfix
    daemon_directory = /usr/libexec/postfix
    debug_peer_level = 2
    home_mailbox = Maildir/
    html_directory = no
    inet_interfaces = all
    mail_owner = postfix
    mailq_path = /usr/bin/mailq.postfix
    manpage_directory = /usr/share/man
    mydestination = $myhostname, localhost.$mydomain, localhost, $mydomain
    mydomain = sumacorp.co.id
    myhostname = mail.sumacorp.co.id
    myorigin = $mydomain
    newaliases_path = /usr/bin/newaliases.postfix
    queue_directory = /var/spool/postfix
    readme_directory = /usr/share/doc/postfix-2.3.3/README_FILES
    sample_directory = /usr/share/doc/postfix-2.3.3/samples
    sendmail_path = /usr/sbin/sendmail.postfix
    setgid_group = postdrop
    smtp_tls_note_starttls_offer = yes
    smtp_use_tls = yes
    smtpd_recipient_restrictions = permit_sasl_authenticated,permit_mynetworks,reject_unauth_destination
    smtpd_sasl_auth_enable = yes
    smtpd_sasl_local_domain =
    smtpd_sasl_security_options = noanonymous
    smtpd_tls_CAfile = /etc/postfix/ssl/cacert.pem
    smtpd_tls_auth_only = no
    smtpd_tls_cert_file = /etc/postfix/ssl/smtpd.crt
    smtpd_tls_key_file = /etc/postfix/ssl/smtpd.key
    smtpd_tls_loglevel = 1
    smtpd_tls_received_header = yes
    smtpd_tls_session_cache_timeout = 3600s
    smtpd_use_tls = yes
    tls_random_source = dev:/dev/urandom
    unknown_local_recipient_reject_code = 550
    mail server is : mail.sumacorp.co.id

    i can telnet the server using port 25 from internal network, and the ehlo domain command also respond :
    Code:
    telnet mail.sumacorp.co.id 25
    Trying 49.0.0.30...
    Connected to mail.sumacorp.co.id.
    Escape character is '^]'.
    220 mail.sumacorp.co.id ESMTP Postfix
    ehlo mail.sumacorp.co.id
    250-mail.sumacorp.co.id
    250-PIPELINING
    250-SIZE 10240000
    250-VRFY
    250-ETRN
    250-STARTTLS
    250-AUTH LOGIN PLAIN
    250-AUTH=LOGIN PLAIN
    250-ENHANCEDSTATUSCODES
    250-8BITMIME
    250 DSN
    
    thanks in advance
     
  2. pititis

    pititis Member

    What error you get in your mail.log?
     
  3. aamakhfudh

    aamakhfudh New Member

    thanks for reply :)

    thanks for reply pitisis, i've already solve the problem, firewall block the port 25 so i can't send the email, sorry for being so careless

    but i still have a request, could u tell me how to change a user password using squirrelmail, my email is using system user.
     

Share This Page