postfix, can't send

Discussion in 'ISPConfig 3 Priority Support' started by jpcyrenne, Jun 21, 2015.

  1. jpcyrenne

    jpcyrenne Member HowtoForge Supporter

    Good day,
    I can't send emails from WP or local shell (ex: 'mail [email protected]')
    I ran a 'yum update', updated ISPConfig (from .p4 I believe).
    Running latest ISPConfig 3.0.5.4p8 on CentOS 6.6. (Postfix Dovecot setup)
    No firewall issue as I can telnet on port 25.
    [root@hote ~]# service postfix status
    master (pid 4083) is running...
    [root@hote2 ~]# service dovecot status
    dovecot (pid 4215) is running...

    [root@hote2 ~]# tail /var/log/maillog
    ...
    Jun 21 12:47:14 hote2 postfix/scache[4986]: statistics: start interval Jun 21 12:44:13
    Jun 21 12:47:14 hote2 postfix/scache[4986]: statistics: domain lookup hits=18 miss=2 success=90%
    Jun 21 12:47:14 hote2 postfix/scache[4986]: statistics: address lookup hits=0 miss=2 success=0%
    Jun 21 12:47:14 hote2 postfix/scache[4986]: statistics: max simultaneous domains=1 addresses=1 connection=2
    Don't know if this is normal? address lookup success 0%?
    DNS seems fine:
    [root@hote2 ~]# ping -c 1 www.google.com
    PING www.google.com (173.194.123.49) 56(84) bytes of data.
    64 bytes from lga15s47-in-f17.1e100.net (173.194.123.49): icmp_seq=1 ttl=54 time=24.3 ms

    Even with Verbose I get:
    Jun 21 12:55:53 hote2 postfix/postfix-script[5623]: stopping the Postfix mail system
    Jun 21 12:55:53 hote2 postfix/master[4083]: terminating on signal 15
    Jun 21 12:55:54 hote2 postfix/postfix-script[5695]: starting the Postfix mail system
    Jun 21 12:55:54 hote2 postfix/master[5696]: daemon started -- version 2.6.6, configuration /etc/postfix

    [root@hote2 ~]# mailq
    /var/spool/mqueue is empty
    Total requests: 0

    postqueue -p if full of fail2ban and @example.com emails. I saw another post on that....
    -- 2567 Kbytes in 606 Requests.

    [root@hote2 ~]# qshape
    T 5 10 20 40 80 160 320 640 1280 1280+
    TOTAL 0 0 0 0 0 0 0 0 0 0 0

    [root@hote2 ~]# qshape deferred
    T 5 10 20 40 80 160 320 640 1280 1280+
    TOTAL 605 21 18 30 74 2 3 1 17 58 381
    example.com 599 21 18 30 74 2 3 1 16 58 376
    site1 3 0 0 0 0 0 0 0 0 0 3
    site2 3 0 0 0 0 0 0 0 1 0 2

    Not sure what to check from here?

    Thanks,

    JP
     
  2. jpcyrenne

    jpcyrenne Member HowtoForge Supporter

    Seems OK now... I had a key / cert issue error in logs. I removed the smtps from master.cf, restarted and it's good.
    #smtps inet n - n - - smtpd
    # -o smtpd_tls_wrappermode=yes
    # -o smtpd_sasl_auth_enable=yes
    # -o smtpd_client_restrictions=permit_sasl_authenticated,reject
    # -o milter_macro_daemon_name=ORIGINATING

    Restarted Postfix and it's good. Don't need smtps on this server, i'll look at this issue later.
    Thank You,

    JP
     

Share This Page