postfix refusing smtp connections

Joey Prestia joseph.prestia at gmail.com
Mon Jun 4 18:27:45 MST 2007


Thanks for the reply I did that and added
mynetworks
        
        
        # These are changed by postfix install script
        readme_directory = /usr/share/doc/postfix-2.3.3/README_FILES
        html_directory = /usr/share/doc/postfix-2.3.3/html
        sendmail_path = /usr/sbin/sendmail.postfix
        setgid_group = postdrop
        command_directory = /usr/sbin
        manpage_directory = /usr/share/man
        daemon_directory = /usr/lib64/postfix
        newaliases_path = /usr/bin/newaliases
        mailq_path = /usr/bin/mailq
        queue_directory = /var/spool/postfix
        mail_owner = postfix
        
        # User configurable parameters
        mynetworks = 192.168.200.101 , 127.0.0.0/11 , 70.167.208.132
        inet_interfaces = localhost
        mynetworks_style = host
        #delay_warning_time = 4h
        smtpd_banner = $myhostname ESMTP $mail_name ($mail_version)
        (Mandriva
        Linux)
        unknown_local_recipient_reject_code = 450
        smtp-filter_destination_concurrency_limit = 2
        lmtp-filter_destination_concurrency_limit = 2
        ~
        the my networks line but am still getting refused
        
        [root at linuxamd postfix]# telnet 70.167.208.132 25
        Trying 70.167.208.132...
        telnet: connect to address 70.167.208.132: Connection refused
        telnet: Unable to connect to remote host: Connection refused
        [root at linuxamd postfix]#
        
        I made sure to service postfix reload first
        
        port 25 is forwarded on my router to this machine and my
        firewall is set to accept connections on port 25 I am not trying
        to do anything fancy just send and receive mail. my postconf
        lines that include smtp are:
        smtp_always_send_ehlo = yes
        smtp_bind_address =
        smtp_bind_address6 =
        smtp_cname_overrides_servername = no
        smtp_connect_timeout = 30s
        smtp_connection_cache_destinations =
        smtp_connection_cache_on_demand = yes
        smtp_connection_cache_time_limit = 2s
        smtp_connection_reuse_time_limit = 300s
        smtp_data_done_timeout = 600s
        smtp_data_init_timeout = 120s
        smtp_data_xfer_timeout = 180s
        smtp_defer_if_no_mx_address_found = no
        smtp_destination_concurrency_limit =
        $default_destination_concurrency_limit
        smtp_destination_recipient_limit =
        $default_destination_recipient_limit
        smtp_discard_ehlo_keyword_address_maps =
        smtp_discard_ehlo_keywords =
        smtp_enforce_tls = no
        smtp_fallback_relay = $fallback_relay
        smtp_generic_maps =
        smtp_helo_name = $myhostname
        smtp_helo_timeout = 300s
        smtp_host_lookup = dns
        smtp_line_length_limit = 990
        smtp_mail_timeout = 300s
        smtp_mx_address_limit = 5
        smtp_mx_session_limit = 2
        smtp_never_send_ehlo = no
        smtp_pix_workaround_delay_time = 10s
        smtp_pix_workaround_threshold_time = 500s
        smtp_quit_timeout = 300s
        smtp_quote_rfc821_envelope = yes
        smtp_randomize_addresses = yes
        smtp_rcpt_timeout = 300s
        smtp_rset_timeout = 20s
        smtp_sasl_auth_enable = no
        smtp_sasl_mechanism_filter =
        smtp_sasl_password_maps =
        smtp_sasl_path =
        smtp_sasl_security_options = noplaintext, noanonymous
        smtp_sasl_tls_security_options = $smtp_sasl_security_options
        smtp_sasl_tls_verified_security_options =
        $smtp_sasl_tls_security_options
        smtp_sasl_type = cyrus
        smtp_send_xforward_command = no
        smtp_sender_dependent_authentication = no
        smtp_skip_5xx_greeting = yes
        smtp_skip_quit_response = yes
        smtp_starttls_timeout = 300s
        smtp_tls_CAfile =
        smtp_tls_CApath =
        smtp_tls_cert_file =
        smtp_tls_dcert_file =
        smtp_tls_dkey_file = $smtp_tls_dcert_file
        smtp_tls_enforce_peername = yes
        smtp_tls_exclude_ciphers =
        smtp_tls_key_file = $smtp_tls_cert_file
        smtp_tls_loglevel = 0
        smtp_tls_mandatory_ciphers = medium
        smtp_tls_mandatory_exclude_ciphers =
        smtp_tls_mandatory_protocols = SSLv3, TLSv1
        smtp_tls_note_starttls_offer = no
        smtp_tls_per_site =
        smtp_tls_policy_maps =
        smtp_tls_scert_verifydepth = 5
        smtp_tls_secure_cert_match = nexthop, dot-nexthop
        smtp_tls_security_level =
        smtp_tls_session_cache_database =
        smtp_tls_session_cache_timeout = 3600s
        smtp_tls_verify_cert_match = hostname
        smtp_use_tls = no
        smtp_xforward_timeout = 300s
        smtpd_authorized_verp_clients = $authorized_verp_clients
        smtpd_authorized_xclient_hosts =
        smtpd_authorized_xforward_hosts =
        smtpd_banner = $myhostname ESMTP $mail_name ($mail_version)
        (Mandriva Linux)
        smtpd_client_connection_count_limit = 50
        smtpd_client_connection_rate_limit = 0
        smtpd_client_event_limit_exceptions =
        ${smtpd_client_connection_limit_exceptions:$mynetworks}
        smtpd_client_message_rate_limit = 0
        smtpd_client_new_tls_session_rate_limit = 0
        smtpd_client_recipient_rate_limit = 0
        smtpd_client_restrictions =
        smtpd_data_restrictions =
        smtpd_delay_open_until_valid_rcpt = yes
        smtpd_delay_reject = yes
        smtpd_discard_ehlo_keyword_address_maps =
        smtpd_discard_ehlo_keywords =
        smtpd_end_of_data_restrictions =
        smtpd_enforce_tls = no
        smtpd_error_sleep_time = 1s
        smtpd_etrn_restrictions =
        smtpd_expansion_filter = \t\40!"#$%&'()*
        +,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\
        \]^_`abcdefghijklmnopqrstuvwxyz{|}~
        smtpd_forbidden_commands = CONNECT GET POST
        smtpd_hard_error_limit = 20
        smtpd_helo_required = no
        smtpd_helo_restrictions =
        smtpd_history_flush_threshold = 100
        smtpd_junk_command_limit = 100
        smtpd_milters =
        smtpd_noop_commands =
        smtpd_null_access_lookup_key = <>
        smtpd_peername_lookup = yes
        smtpd_policy_service_max_idle = 300s
        smtpd_policy_service_max_ttl = 1000s
        smtpd_policy_service_timeout = 100s
        smtpd_proxy_ehlo = $myhostname
        smtpd_proxy_filter =
        smtpd_proxy_timeout = 100s
        smtpd_recipient_limit = 1000
        smtpd_recipient_overshoot_limit = 1000
        smtpd_recipient_restrictions = permit_mynetworks,
        reject_unauth_destination
        smtpd_reject_unlisted_recipient = yes
        smtpd_reject_unlisted_sender = no
        smtpd_restriction_classes =
        smtpd_sasl_auth_enable = no
        smtpd_sasl_authenticated_header = no
        smtpd_sasl_exceptions_networks =
        smtpd_sasl_local_domain =
        smtpd_sasl_path = smtpd
        smtpd_sasl_security_options = noanonymous
        smtpd_sasl_tls_security_options = $smtpd_sasl_security_options
        smtpd_sasl_type = cyrus
        smtpd_sender_login_maps =
        smtpd_sender_restrictions =
        smtpd_soft_error_limit = 10
        smtpd_starttls_timeout = 300s
        smtpd_timeout = 300s
        smtpd_tls_CAfile =
        smtpd_tls_CApath =
        smtpd_tls_always_issue_session_ids = yes
        smtpd_tls_ask_ccert = no
        smtpd_tls_auth_only = no
        smtpd_tls_ccert_verifydepth = 5
        smtpd_tls_cert_file =
        smtpd_tls_dcert_file =
        smtpd_tls_dh1024_param_file =
        smtpd_tls_dh512_param_file =
        smtpd_tls_dkey_file = $smtpd_tls_dcert_file
        smtpd_tls_exclude_ciphers =
        smtpd_tls_key_file = $smtpd_tls_cert_file
        smtpd_tls_loglevel = 0
        smtpd_tls_mandatory_ciphers = medium
        smtpd_tls_mandatory_exclude_ciphers =
        smtpd_tls_mandatory_protocols = SSLv3, TLSv1
        smtpd_tls_received_header = no
        smtpd_tls_req_ccert = no
        smtpd_tls_security_level =
        smtpd_tls_session_cache_database =
        smtpd_tls_session_cache_timeout = 3600s
        smtpd_tls_wrappermode = no
        smtpd_use_tls = no
        
        any ideas?
        



More information about the PLUG-discuss mailing list