Postfix - Connection timed out

  • Hello!! I'm very very newbie...

    I have a problem with output mail, I send mails to accounts of my domain's server I dont have any problem, but when the email is of external domain the mail is returned with:

    Quote from mail returned

    Final-Recipient: rfc822;
    Original-Recipient: rfc822;
    Action: failed
    Status: 4.4.1
    Diagnostic-Code: X-Postfix; delivery temporarily suspended: connect to[]:25: Connection timed out

    Quote from mail.log

    Apr 14 05:22:46 ns1 postfix/smtp[5730]: 8D13A28413D5: to=<>, relay=none, delay=204322, delays=204172/0.03/150/0, dsn=4.4.1, status=deferred (connect to[]:25: Connection timed out)

    Thanks in advance!!

    Edited once, last by Luisinho ().

  • hotmail.*, live.* etc. are still available. Only the live messenger is no more available because of skype. At the moment you can choose between an hotmail.*, live.* and email, if you want to create an mail-account.

    Do you have the txt and spf entries in your nameserver? Also the reverse DNS..

    PS: I think there are some errors with the connection to the server of microsoft. Can you ping this ip?

    Edited once, last by mafioso ().

  • It's a little strange, here I leave the delivery postix config does it well, but the output is always in error << relay = none >> can not connect to mail.domain.tld [ xxx]: 25.

    But it is even more rare if you use IPV6 protocol works only with gmail

    P.d: mounted on the squezee and last master

    alias_database = hash:/etc/aliases
    alias_maps = hash:/etc/aliases
    append_at_myorigin = yes
    append_dot_mydomain = no
    biff = no
    broken_sasl_auth_clients = yes
    command_directory = /usr/sbin
    config_directory = /etc/postfix
    daemon_directory = /usr/lib/postfix
    inet_interfaces = all
    inet_protocols = ipv4, ipv6
    local_destination_recipient_limit = 1
    local_recipient_maps = unix:passwd.byname $alias_database
    local_transport = local
    mail_spool_directory = /var/mail
    mailbox_command = procmail -a "$EXTENSION"
    mailbox_size_limit = 0
    message_size_limit = 0
    mydestination = $myhostname, $mydomain
    mydomain =
    myhostname =
    mynetworks_style = host
    myorigin = $myhostname
    recipient_delimiter = +
    relay_domains = hash:/etc/postfix/imscp/relay_domains
    setgid_group = postdrop
    smtpd_banner = $myhostname ESMTP i-MSCP Git Master Managed
    smtpd_data_restrictions = reject_multi_recipient_bounce, reject_unauth_pipelining
    smtpd_helo_required = yes
    smtpd_helo_restrictions = permit_mynetworks, permit_sasl_authenticated, reject_invalid_helo_hostname, reject_non_fqdn_helo_hostname
    smtpd_recipient_restrictions = reject_non_fqdn_recipient, reject_unknown_recipient_domain, permit_mynetworks, permit_sasl_authenticated, reject_unauth_destination, reject_unlisted_recipient, permit
    smtpd_sasl_auth_enable = yes
    smtpd_sasl_authenticated_header = yes
    smtpd_sasl_path = private/auth
    smtpd_sasl_security_options = noanonymous
    smtpd_sasl_type = dovecot
    smtpd_sender_restrictions = reject_non_fqdn_sender, reject_unknown_sender_domain, permit_mynetworks, permit_sasl_authenticated
    smtpd_tls_auth_only = no
    smtpd_tls_cert_file = /etc/imscp/
    smtpd_tls_key_file = /etc/imscp/
    smtpd_tls_loglevel = 2
    smtpd_tls_received_header = yes
    smtpd_tls_security_level = may
    transport_maps = hash:/etc/postfix/imscp/transport
    virtual_alias_maps = hash:/etc/postfix/imscp/aliases
    virtual_gid_maps = static:8
    virtual_mailbox_base = /var/mail/virtual
    virtual_mailbox_domains = hash:/etc/postfix/imscp/domains
    virtual_mailbox_limit = 0
    virtual_mailbox_maps = hash:/etc/postfix/imscp/mailboxes
    virtual_minimum_uid = 999
    virtual_transport = dovecot
    virtual_uid_maps = static:999

    Edited once, last by kurgans ().

  • no firewall, port 25 works correctly, email login works correctly.

    The server sends emails with protocol IPV6 perfectly only gmail accounts, if postfix settings with protocol IPV4 is used alone, the server does not send any mail always gets the same error with any domain

    << relay = none >> can not connect to mail.domain.tld [ xxx]: 25.

  • Hello ;


    Please, send me your server data via pm. For such problem, I must investigate more.



    Edited once, last by Nuxwin ().