not send mail from my mail server

Discussion in 'ISPConfig 3 Priority Support' started by Md. Mohib Billah, Nov 5, 2015.

  1. Hi till bro,
    I am facing a problem in my mail server that not receive any mail to my mail server from others. My server mail log is give in below --

    2015-11-05T15:48:07.208219+06:00 mail postfix/smtp[61683]: warning: problem talking to server private/tlsmgr: Connection refused
    2015-11-05T15:48:08.209518+06:00 mail postfix/smtp[61683]: warning: connect to private/tlsmgr: Connection refused
    2015-11-05T15:48:08.209866+06:00 mail postfix/smtp[61683]: warning: problem talking to server private/tlsmgr: Connection refused
    2015-11-05T15:48:08.210142+06:00 mail postfix/smtp[61683]: warning: no entropy for TLS key generation: disabling TLS support
    2015-11-05T15:48:08.214594+06:00 mail postfix/smtp[61687]: warning: connect to private/tlsmgr: Connection refused
    2015-11-05T15:48:08.215029+06:00 mail postfix/smtp[61687]: warning: problem talking to server private/tlsmgr: Connection refused
    2015-11-05T15:48:09.215813+06:00 mail postfix/smtp[61687]: warning: connect to private/tlsmgr: Connection refused
    2015-11-05T15:48:09.216666+06:00 mail postfix/smtp[61687]: warning: problem talking to server private/tlsmgr: Connection refused
    2015-11-05T15:48:09.217323+06:00 mail postfix/smtp[61687]: warning: no entropy for TLS key generation: disabling TLS support

    Please help me for solve this problem .
    Thanks
     
  2. Sorry till ,
    my problem is not receive mail in my mail server from other servers
     
  3. till

    till Super Moderator Staff Member ISPConfig Developer

    Seems as if the ssl configuration of postfix is broken. Did you change anything in the postfix ssl cert config or postfix config files or did you rename or remove ssl certificate files before the issue started?
     
  4. Hi till bro,
    thanks for your repaly . I pest my postfix configuration file in bellow --
    main.cf
    biff = no
    content_filter =
    delay_warning_time = 1h
    disable_dns_lookups = no
    disable_mime_output_conversion = no
    inet_interfaces = localhost
    masquerade_classes = envelope_sender, header_sender, header_recipient
    masquerade_domains =
    masquerade_exceptions = root
    mydestination = $myhostname, localhost.$mydomain
    myhostname = host.example.com
    mynetworks_style = subnet
    relayhost =

    alias_maps = hash:/etc/aliases
    canonical_maps = hash:/etc/postfix/canonical
    relocated_maps = hash:/etc/postfix/relocated
    sender_canonical_maps = hash:/etc/postfix/sender_canonical
    transport_maps = hash:/etc/postfix/transport
    mail_spool_directory = /var/mail
    message_strip_characters = \0
    defer_transports =
    mailbox_command =
    mailbox_transport =
    mailbox_size_limit = 0
    message_size_limit = 0
    strict_8bitmime = no
    strict_rfc821_envelopes = no
    smtpd_helo_required = no

    smtpd_client_restrictions =

    smtpd_helo_restrictions =

    smtpd_sender_restrictions = hash:/etc/postfix/access

    smtpd_recipient_restrictions = permit_mynetworks,reject_unauth_destination


    ############################################################
    # SASL stuff
    ############################################################

    smtp_sasl_auth_enable = no
    smtp_sasl_security_options =
    smtp_sasl_password_maps =
    smtpd_sasl_auth_enable = no
    ############################################################
    # TLS stuff
    ############################################################
    #tls_append_default_CA = no
    relay_clientcerts =
    #tls_random_source = dev:/dev/urandom

    smtp_use_tls = no
    #smtp_tls_loglevel = 0
    smtp_enforce_tls = no
    smtp_tls_CAfile =
    smtp_tls_CApath =
    smtp_tls_cert_file =
    smtp_tls_key_file =
    #smtp_tls_session_cache_timeout = 3600s
    smtp_tls_session_cache_database =

    smtpd_use_tls = no
    #smtpd_tls_loglevel = 0
    smtpd_tls_CAfile =
    smtpd_tls_CApath =
    smtpd_tls_cert_file =
    smtpd_tls_key_file =
    smtpd_tls_ask_ccert = no
    smtpd_tls_received_header = no
    ############################################################
    # Start MySQL from postfixwiki.org
    ############################################################
    #relay_domains = $mydestination, hash:/etc/postfix/relay
    virtual_alias_domains = hash:/etc/postfix/virtual
    virtual_alias_maps = hash:/etc/postfix/virtual
    #virtual_uid_maps = static:303
    #virtual_gid_maps = static:303
    #virtual_minimum_uid = 303
    #virtual_mailbox_base = /srv/maildirs
    #virtual_mailbox_domains = mysql:/etc/postfix/mysql_virtual_domains_maps.cf
    #virtual_mailbox_limit = 0
    #virtual_mailbox_limit_inbox = no
    #virtual_mailbox_limit_maps = hash:/etc/postfix/vquota
    #virtual_mailbox_limit_override = yes
    #virtual_mailbox_maps = mysql:/etc/postfix/mysql_virtual_mailbox_maps.cf
    #virtual_transport = virtual
    ### Needs Maildir++ compatible IMAP servers, like Courier-IMAP
    #virtual_maildir_filter = yes
    #virtual_maildir_filter_maps = hash:/etc/postfix/vfilter
    #virtual_mailbox_limit_maps = mysql:/etc/postfix/mysql_virtual_mailbox_limit_maps.cf
    #virtual_mailbox_limit_override = yes
    #virtual_maildir_limit_message = Sorry, the user's maildir has overdrawn his diskspace quota, please try again later.
    #virtual_maildir_limit_message_maps = hash:/etc/postfix/vmsg
    #virtual_overquota_bounce = yes
    #virtual_trash_count = yes
    #virtual_trash_name = ".Trash"
    ############################################################
    # End MySQL from postfixwiki.org
    ############################################################
    # Rewrite reject codes
    ############################################################
    #unknown_address_reject_code = 550
    #unknown_client_reject_code = 550
    #unknown_hostname_reject_code = 550
    #soft_bounce = yes
    ############################################################
    #debug_peer_list = example.com
    #debug_peer_level = 3

    disable_vrfy_command = yes
    smtpd_delay_reject = yes
    smtpd_banner = $myhostname ESMTP
    alias_database = hash:/etc/aliases, hash:/var/lib/mailman/data/aliases
    #virtual_mailbox_domains = proxy:mysql:/etc/postfix/mysql-virtual_domains.cf
    #virtual_mailbox_maps = proxy:mysql:/etc/postfix/mysql-virtual_mailboxes.cf
    #virtual_mailbox_base = /var/vmail
    #virtual_uid_maps = static:5000
    #virtual_gid_maps = static:5000
    broken_sasl_auth_clients = yes
    smtpd_sasl_authenticated_header = yes
    smtpd_tls_security_level = may
    relay_domains = $mydestination, hash:/etc/postfix/relay
    relay_recipient_maps = mysql:/etc/postfix/mysql-virtual_relayrecipientmaps.cf
    proxy_read_maps = $local_recipient_maps $mydestination $virtual_alias_maps $virtual_alias_domains $virtual_mailbox_maps $virtual_mailbox_domains $relay_recipient_maps $relay_domains $canonical_maps $sender_canonical_maps $recipient_canonical_maps $relocated_maps $transport_maps $mynetworks
    smtpd_client_message_rate_limit = 50
    # maildrop_destination_concurrency_limit = 1
    # maildrop_destination_recipient_limit = 1
    #virtual_transport = dovecot
    header_checks = regexp:/etc/postfix/header_checks
    mime_header_checks = regexp:/etc/postfix/mime_header_checks
    nested_header_checks = regexp:/etc/postfix/nested_header_checks
    body_checks = regexp:/etc/postfix/body_checks
    smtp_tls_security_level = may
    smtpd_tls_mandatory_protocols = !SSLv2, !SSLv3
    smtpd_tls_protocols = !SSLv2,!SSLv3
    smtp_tls_protocols = !SSLv2,!SSLv3
    mynetworks = 127.0.0.0/8 [::1]/128
    dovecot_destination_recipient_limit = 1
    smtpd_sasl_type = dovecot
    smtpd_sasl_path = private/auth
    receive_override_options = no_address_mappings

    please see this file and help me .
     
  5. hi till ,
    my postfix service is running -- my postfix service status

    mail:/etc/apache2 # systemctl status postfix.service
    postfix.service - Postfix Mail Transport Agent
    Loaded: loaded (/usr/lib/systemd/system/postfix.service; enabled)
    Active: active (running) since Thu 2015-11-05 17:10:55 BDT; 49min ago
    Process: 23877 ExecStopPost=/etc/postfix/system/cond_slp deregister (code=exited, status=0/SUCCESS)
    Process: 23867 ExecStop=/usr/sbin/postfix stop (code=exited, status=0/SUCCESS)
    Process: 23969 ExecStartPost=/etc/postfix/system/cond_slp register (code=exited, status=0/SUCCESS)
    Process: 23964 ExecStartPost=/etc/postfix/system/wait_qmgr 60 (code=exited, status=0/SUCCESS)
    Process: 23893 ExecStart=/usr/sbin/postfix start (code=exited, status=0/SUCCESS)
    Process: 23891 ExecStartPre=/etc/postfix/system/update_postmaps (code=exited, status=0/SUCCESS)
    Process: 23889 ExecStartPre=/etc/postfix/system/update_chroot (code=exited, status=0/SUCCESS)
    Process: 23887 ExecStartPre=/etc/postfix/system/config_postfix (code=exited, status=0/SUCCESS)
    Process: 23885 ExecStartPre=/bin/echo Starting mail service (Postfix) (code=exited, status=0/SUCCESS)
    Main PID: 23963 (master)
    CGroup: /system.slice/postfix.service
    ├─23963 /usr/lib/postfix/master
    ├─23966 pickup -l -t fifo -u
    ├─23967 qmgr -l -t fifo -u
    ├─43852 smtpd -n smtp -t inet -u -s 2
    ├─43856 proxymap -t unix -u
    └─43879 showq -t unix -u

    Nov 05 17:50:01 mail postfix/smtpd[39046]: lost connection after CONNECT from localhost[::1]
    Nov 05 17:50:01 mail postfix/smtpd[39046]: disconnect from localhost[::1]
    Nov 05 17:55:02 mail postfix/smtpd[39649]: warning: No server certs available. TLS won't be enabled
    Nov 05 17:55:02 mail postfix/smtpd[39649]: connect from localhost[::1]
    Nov 05 17:55:02 mail postfix/smtpd[39649]: lost connection after CONNECT from localhost[::1]
    Nov 05 17:55:02 mail postfix/smtpd[39649]: disconnect from localhost[::1]
    Nov 05 18:00:12 mail postfix/smtpd[43852]: warning: No server certs available. TLS won't be enabled
    Nov 05 18:00:12 mail postfix/smtpd[43852]: connect from localhost[::1]
    Nov 05 18:00:12 mail postfix/smtpd[43852]: lost connection after CONNECT from localhost[::1]
    Nov 05 18:00:12 mail postfix/smtpd[43852]: disconnect from localhost[::1]
     
  6. till

    till Super Moderator Staff Member ISPConfig Developer

    Please try to answer my question from above:

    Did you change anything in the postfix ssl cert config or postfix config files or did you rename or remove ssl certificate files before the issue started?

    and the ssl certs had been removed from postfix main.cf:

    smtpd_tls_CAfile =
    smtpd_tls_CApath =
    smtpd_tls_cert_file =
    smtpd_tls_key_file =
     
  7. Hi till bro,
    A lot thanks for your support . I am sorry for my missing. I had confused about my server posfix file edit. So I configure my server again and run smoothly . I always happy for your cordial support. So I choice the best your software and support.
    Thanks again
    Mohib
    From Bangladesh
     
  8. Till bro,
    I want to upload my image in my howtoforge profile. What can i do now? Is it possible by me?
    Please inform, what is the condition?
    Thanks
     
  9. till

    till Super Moderator Staff Member ISPConfig Developer

Share This Page