Postfix no longer receives or sends email that isn't to or from localhost

Discussion in 'Server Operation' started by Wsbs9GC, Mar 19, 2013.

  1. Wsbs9GC

    Wsbs9GC New Member

    Hello.
    Recenty, my postfix installation has lost its capability of sending and receiving emails from outside localhost. I have made no changes to its previously working configuration or to my firewall. Even so, I have lost sending and receiving capabilities.

    /etc/postfix/main.cf
    Code:
    # See /usr/share/postfix/main.cf.dist for a commented, more complete version
    
    
    # Debian specific:  Specifying a file name will cause the first
    # line of that file to be used as the name.  The Debian default
    # is /etc/mailname.
    #myorigin = /etc/mailname
    
    smtpd_banner = $myhostname ESMTP $mail_name (Ubuntu)
    biff = no
    
    # appending .domain is the MUA's job.
    append_dot_mydomain = no
    
    # Uncomment the next line to generate "delayed mail" warnings
    #delay_warning_time = 4h
    
    readme_directory = /usr/share/doc/postfix
    
    # TLS parameters
    smtpd_tls_cert_file = /etc/postfix/smtpd.cert
    smtpd_tls_key_file = /etc/postfix/smtpd.key
    smtpd_use_tls = yes
    smtpd_tls_session_cache_database = btree:${data_directory}/smtpd_scache
    smtp_tls_session_cache_database = btree:${data_directory}/smtp_scache
    
    # See /usr/share/doc/postfix/TLS_README.gz in the postfix-doc package for
    # information on enabling SSL in the smtp client.
    
    myhostname = www.quantumcooler.net
    alias_maps = hash:/etc/aliases, hash:/var/lib/mailman/data/aliases
    alias_database = hash:/etc/aliases, hash:/var/lib/mailman/data/aliases
    myorigin = /etc/mailname
    mydestination = www.quantumcooler.net, localhost, localhost.localdomain
    relayhost =
    smtp_sasl_auth_enable = yes
    smtp_sasl_password_maps = hash:/etc/postfix/sasl/passwd
    smtp_sasl_security_options =
    mynetworks = 127.0.0.0/8 [::1]/128
    mailbox_size_limit = 0
    recipient_delimiter = +
    inet_interfaces = all
    html_directory = /usr/share/doc/postfix/html
    virtual_alias_domains =
    virtual_alias_maps = proxy:mysql:/etc/postfix/mysql-virtual_forwardings.cf, proxy:mysql:/etc/postfix/mysql-virtual_email2email.cf, hash:/var/lib/mailman/data/virtual-mailman
    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
    smtpd_sasl_auth_enable = yes
    smtp_sasl_auth_enable = yes
    smtp_sasl_password_maps = hash:/etc/postfix/sasl/passwd
    smtp_sasl_security_options =
    broken_sasl_auth_clients = yes
    smtpd_sasl_authenticated_header = yes
    smtpd_recipient_restrictions = permit_mynetworks, permit_sasl_authenticated, check_recipient_access mysql:/etc/postfix/mysql-virtual_recipient.cf, reject_unauth_destination
    smtpd_tls_security_level = may
    transport_maps = hash:/var/lib/mailman/data/transport-mailman, proxy:mysql:/etc/postfix/mysql-virtual_transports.cf
    relay_domains = mysql:/etc/postfix/mysql-virtual_relaydomains.cf
    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 $virtual_mailbox_limit_maps
    smtpd_sender_restrictions = check_sender_access mysql:/etc/postfix/mysql-virtual_sender.cf
    smtpd_client_restrictions = check_client_access mysql:/etc/postfix/mysql-virtual_client.cf
    smtpd_client_message_rate_limit = 100
    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
    owner_request_special = no
    dovecot_destination_recipient_limit = 1
    smtpd_sasl_type = dovecot
    smtpd_sasl_path = private/auth
    content_filter = amavis:[127.0.0.1]:10024
    receive_override_options = no_address_mappings
    message_size_limit = 0
    inet_protocols = all
    
    I'm new to linux and server administration so I'm not sure if I found anything interesting but in the /etc/postfix/ directory there are the files:
    Code:
    -rw-r--r-- 1 root root     3701 Mar 13 22:29 main.cf
    -rw-r--r-- 1 root root     3634 Mar 13 22:29 main.cf~
    -rw-r--r-- 1 root root     3701 Mar 13 22:29 main.cf~2
    -rw-r--r-- 1 root root     3702 Mar 13 22:29 main.cf~3
    -rw-r--r-- 1 root root     6388 Mar 13 22:29 master.cf
    -r-------- 1 root root     6388 Mar 13 22:29 master.cf~
    -r-------- 1 root root     6388 Mar 13 22:29 master.cf~2
    
    Are the files with the tilde temporary files? If so, why would there be temporary files of a configuration file?

    canyouseeme.org reports that it cannot see me on port 25, but it can see me on port 587. This is because my ISP, comcast, blocks this port. I have to use their smtp server, which I believe to be smtp.comcast.net, for outgoing mail on port 587. As I have stated before, this was a working postfix configuration to which I have made no changes. However, now I can no longer send or receive email. Would buying a smarthost service like that provided by dyn.com prevent this failure in the future? Any help is greatly appreciated.
     
  2. almere

    almere Member HowtoForge Supporter

    Exec the following commands and post here what you get

    Code:
    mailq
    Code:
    telnet yourdomain.com 25
    Code:
    iptables -L
     
  3. Wsbs9GC

    Wsbs9GC New Member

    Here are the outputs

    Here are the outputs of those commands.

    mailq:
    Code:
    -Queue ID- --Size-- ----Arrival Time---- -Sender/Recipient-------
    E223D2EB800     1402 Mon Mar 18 16:18:43  [email protected]
                (connect to mx1.hotmail.com[65.55.37.88]:25: Connection timed out)
                                             [email protected]
    
    
    
    CDD322EB7A2     1399 Mon Mar 18 06:11:40  [email protected]
    (connect to alt2.gmail-smtp-in.l.google.com[173.194.67.26]:25: Connection timed out)
                                             [email protected]
    
    272132EB608     1427 Fri Mar 15 01:48:41  [email protected]
    (delivery temporarily suspended: connect to alt2.gmail-smtp-in.l.google.com[2a00:1450:400c:c00::1b]:25: Network is unreachable)
                                             [email protected]
    
    
    5FB2C2EB796     2090 Mon Mar 18 05:06:30  [email protected]
    (delivery temporarily suspended: connect to mx2.hotmail.com[65.54.188.126]:25: Connection timed out)
                                             [email protected]
    
    170112EB79B     2084 Mon Mar 18 04:54:00  [email protected]
    (delivery temporarily suspended: connect to alt2.gmail-smtp-in.l.google.com[2a00:1450:400c:c00::1b]:25: Network is unreachable)
                                             [email protected]
    
    15E7F2EB6FB     1431 Sun Mar 17 04:29:45  [email protected]
    (connect to alt2.gmail-smtp-in.l.google.com[173.194.66.26]:25: Connection timed out)
                                             [email protected]
    
    12A352EB880     1403 Tue Mar 19 06:46:08  [email protected]
    (delivery temporarily suspended: connect to mx4.hotmail.com[65.55.37.104]:25: Connection timed out)
                                             [email protected]
    
    126292EB82A     1416 Mon Mar 18 22:21:57  [email protected]
    (delivery temporarily suspended: connect to alt2.gmail-smtp-in.l.google.com[2a00:1450:400c:c00::1b]:25: Network is unreachable)
                                             [email protected]
    
    141CC2EB620     1435 Fri Mar 15 04:00:08  [email protected]
    (delivery temporarily suspended: connect to alt2.gmail-smtp-in.l.google.com[2a00:1450:400c:c00::1a]:25: Network is unreachable)
                                             [email protected]
    
    142882EB607     1411 Fri Mar 15 01:59:41  [email protected]
               (connect to mx4.hotmail.com[65.55.92.152]:25: Connection timed out)
                                             [email protected]
    
    0F78A2EB5CA     1390 Thu Mar 14 19:15:15  [email protected]
    (delivery temporarily suspended: connect to alt2.gmail-smtp-in.l.google.com[2a00:1450:400c:c00::1b]:25: Network is unreachable)
                                             [email protected]
    
    0BD8D2EB56F     1405 Thu Mar 14 10:12:59  [email protected]
    (delivery temporarily suspended: connect to mta5.am0.yahoodns.net[66.196.118.36]:25: Connection timed out)
                                             [email protected]
    
    
    40AA82EB7FC     1384 Mon Mar 18 18:22:05  [email protected]
    (connect to alt2.gmail-smtp-in.l.google.com[173.194.67.26]:25: Connection timed out)
                                             [email protected]
    
    49BD02EB5C7     1408 Thu Mar 14 17:51:40  [email protected]
    (delivery temporarily suspended: connect to alt2.gmail-smtp-in.l.google.com[173.194.66.26]:25: Connection timed out)
                                             [email protected]
    
    40CF42EB6AC     1418 Sat Mar 16 10:10:15  [email protected]
    (delivery temporarily suspended: connect to mx4.hotmail.com[65.54.188.72]:25: Connection timed out)
                                             [email protected]
    
    45C582EB6AE     2084 Sat Mar 16 10:59:10  [email protected]
    (delivery temporarily suspended: connect to alt2.gmail-smtp-in.l.google.com[173.194.78.26]:25: Connection timed out)
                                             [email protected]
    
    4B52E2EB6D6     1405 Sat Mar 16 23:16:18  [email protected]
        (connect to mailin-01.mx.aol.com[205.188.59.194]:25: Connection timed out)
                                             [email protected]
    
    444D52EB672     1381 Sat Mar 16 01:05:04  [email protected]
    (delivery temporarily suspended: connect to mailin-04.mx.aol.com[205.188.103.2]:25: Connection timed out)
                                             [email protected]
    
    461A02EB79D     1410 Mon Mar 18 11:10:19  [email protected]
    (delivery temporarily suspended: connect to mx1.hotmail.com[65.55.92.184]:25: Connection timed out)
                                             [email protected]
    
    423502EB869     1405 Tue Mar 19 04:58:20  [email protected]
             (connect to mail.gifuxuk.tk[46.165.197.147]:25: Connection timed out)
                                             [email protected]
    
    4BE592EB614     2101 Fri Mar 15 05:20:44  [email protected]
    (delivery temporarily suspended: connect to alt2.gmail-smtp-in.l.google.com[2a00:1450:400c:c00::1a]:25: Network is unreachable)
                                             [email protected]
    
    4EADE2EB6D1     1407 Sat Mar 16 20:26:01  [email protected]
    (delivery temporarily suspended: connect to mx2.hotmail.com[65.54.188.126]:25: Connection timed out)
                                             [email protected]
    
    4F4732EB6EE     1423 Sun Mar 17 03:38:35  [email protected]
        (connect to mta7.am0.yahoodns.net[66.94.237.139]:25: Connection timed out)
                                             [email protected]
    
    4F4202EB6F1     1432 Sun Mar 17 03:50:41  [email protected]
    (delivery temporarily suspended: connect to alt2.gmail-smtp-in.l.google.com[173.194.67.26]:25: Connection timed out)
                                             [email protected]
    
    4C25B2EB555     2100 Thu Mar 14 09:15:53  [email protected]
    (delivery temporarily suspended: connect to alt2.gmail-smtp-in.l.google.com[2a00:1450:400c:c00::1b]:25: Network is unreachable)
                                             [email protected]
    
    45E092EB87F     1422 Tue Mar 19 07:08:40  [email protected]
    (delivery temporarily suspended: connect to mx4.hotmail.com[65.54.188.72]:25: Connection timed out)
                                             [email protected]
    
    49E722EB808     1399 Mon Mar 18 17:33:33  [email protected]
         (connect to mailin-04.mx.aol.com[205.188.103.2]:25: Connection timed out)
                                             [email protected]
    
    419C22EB5B0     1390 Thu Mar 14 15:35:29  [email protected]
    (delivery temporarily suspended: connect to alt2.gmail-smtp-in.l.google.com[173.194.66.26]:25: Connection timed out)
                                             [email protected]
    
    46CC72EB7EE     1424 Mon Mar 18 13:29:25  [email protected]
    (delivery temporarily suspended: connect to alt2.gmail-smtp-in.l.google.com[173.194.67.26]:25: Connection timed out)
                                             [email protected]
    
    45BEB2EB898     1403 Tue Mar 19 08:57:05  [email protected]
                    (connect to yepbd.com[91.236.74.102]:25: Connection timed out)
                                             [email protected]
    
    45E332EB77F     1390 Mon Mar 18 01:18:51  [email protected]
    (delivery temporarily suspended: connect to mailin-04.mx.aol.com[205.188.103.2]:25: Connection timed out)
                                             [email protected]
    
    -- 898 Kbytes in 424 Requests.

    telnet quantumcooler.net 25:
    Code:
    Trying 68.62.190.207...
    Connected to quantumcooler.net.
    Escape character is '^]'.
    220 www.quantumcooler.net ESMTP Postfix (Ubuntu)
    
    telnet> Connection closed.
    If you happened to have wanted me to telnet my mx record, here's
    telnet mail.quantumcooler.net 25:
    Code:
    Trying 68.62.190.207...
    Connected to mail.quantumcooler.net.
    Escape character is '^]'.
    220 www.quantumcooler.net ESMTP Postfix (Ubuntu)
    
    telnet> Connection closed.
    iptables -L
    Code:
    Chain INPUT (policy ACCEPT)
    target     prot opt source               destination         
    fail2ban-courierimaps  tcp  --  anywhere             anywhere             multiport dports imaps
    fail2ban-courierimap  tcp  --  anywhere             anywhere             multiport dports imap2
    fail2ban-courierpop3s  tcp  --  anywhere             anywhere             multiport dports pop3s
    fail2ban-courierpop3  tcp  --  anywhere             anywhere             multiport dports pop3
    fail2ban-pureftpd  tcp  --  anywhere             anywhere             multiport dports ftp
    fail2ban-sasl  tcp  --  anywhere             anywhere             multiport dports smtp
    fail2ban-ssh  tcp  --  anywhere             anywhere             multiport dports ssh
    
    Chain FORWARD (policy ACCEPT)
    target     prot opt source               destination         
    
    Chain OUTPUT (policy ACCEPT)
    target     prot opt source               destination         
    
    Chain fail2ban-courierimap (1 references)
    target     prot opt source               destination         
    RETURN     all  --  anywhere             anywhere            
    
    Chain fail2ban-courierimaps (1 references)
    target     prot opt source               destination         
    RETURN     all  --  anywhere             anywhere            
    
    Chain fail2ban-courierpop3 (1 references)
    target     prot opt source               destination         
    RETURN     all  --  anywhere             anywhere            
    
    Chain fail2ban-courierpop3s (1 references)
    target     prot opt source               destination         
    RETURN     all  --  anywhere             anywhere            
    
    Chain fail2ban-pureftpd (1 references)
    target     prot opt source               destination         
    RETURN     all  --  anywhere             anywhere            
    
    Chain fail2ban-sasl (1 references)
    target     prot opt source               destination         
    RETURN     all  --  anywhere             anywhere            
    
    Chain fail2ban-ssh (1 references)
    target     prot opt source               destination         
    RETURN     all  --  anywhere             anywhere            

    I hope the outputs reveal what's wrong. I had to shorten the output of mailq as it was 898 Kbytes and this forum wouldn't let me post the message.
     
  4. almere

    almere Member HowtoForge Supporter

    well... As you said, your mailq is tooo big.

    Run
    Code:
    postsuper -d ALL
    and try again. Be aware, it will delete all mailq entries.
     
  5. Wsbs9GC

    Wsbs9GC New Member

    Okay. I ran sudo postsuper -d ALL and then ran mailq:
    Before doing that though, I ran sudo postsuper -d ALL and I tried to send a message from my server machine and it did not reach an outside email domain. I tried to send from an outside email and it did not reach my server machine. I then ran sudo postupser -d ALL again and then provided the output of mailq in the above quote.
     
  6. almere

    almere Member HowtoForge Supporter

    run
    Code:
    echo "This is a test E-mail message." | mail -s "Test E-mail message" [email protected]

    and then
    Code:
    tail -f /var/log/messages 
    and post here, what you have got from the last command.
     
  7. Wsbs9GC

    Wsbs9GC New Member

    tail -f /var/log/messages:
    Code:
    tail: cannot open `/var/log/messages' for reading: No such file or directory
    
    I followed the ubuntu perfect server guide if that changes any filepaths. I checked in my mail client and I did receive the email though.
     
  8. almere

    almere Member HowtoForge Supporter

    My bad...

    Code:
    tail f /var/log/mail.log
     
  9. Wsbs9GC

    Wsbs9GC New Member

    tail -f /var/log/mail.log:
    Code:
    Mar 19 11:08:19 www postfix/smtp[30559]: connect to mta5.am0.yahoodns.net[74.6.136.244]:25: Connection timed out
    Mar 19 11:08:49 www postfix/smtp[30559]: connect to mta7.am0.yahoodns.net[98.138.112.38]:25: Connection timed out
    Mar 19 11:09:19 www postfix/smtp[30559]: connect to mta5.am0.yahoodns.net[98.138.112.38]:25: Connection timed out
    Mar 19 11:09:49 www postfix/smtp[30559]: connect to mta7.am0.yahoodns.net[66.196.118.34]:25: Connection timed out
    Mar 19 11:09:49 www postfix/smtp[30559]: D11922DEED2: to=<[email protected]>, relay=none, delay=688, delays=538/0.14/150/0, dsn=4.4.1, status=deferred (connect to mta7.am0.yahoodns.net[66.196.118.34]:25: Connection timed out)
    Mar 19 11:10:02 www dovecot: imap-login: Disconnected (no auth attempts): rip=127.0.0.1, lip=127.0.0.1, secured
    Mar 19 11:10:02 www postfix/smtpd[30614]: connect from localhost.localdomain[127.0.0.1]
    Mar 19 11:10:02 www dovecot: pop3-login: Disconnected (no auth attempts): rip=127.0.0.1, lip=127.0.0.1, secured
    Mar 19 11:10:02 www postfix/smtpd[30614]: lost connection after CONNECT from localhost.localdomain[127.0.0.1]
    Mar 19 11:10:02 www postfix/smtpd[30614]: disconnect from localhost.localdomain[127.0.0.1]
    
     
  10. almere

    almere Member HowtoForge Supporter

  11. Wsbs9GC

    Wsbs9GC New Member

    Okay I followed step 7 in the guide and everything checked out. Now what?
     
  12. almere

    almere Member HowtoForge Supporter

    did you also check
    Code:
    hostname
    and
    Code:
    hostname -f
    what does it output?
     
  13. Wsbs9GC

    Wsbs9GC New Member

  14. almere

    almere Member HowtoForge Supporter

    And you still can not mail?
     
  15. Wsbs9GC

    Wsbs9GC New Member

    That is correct.
     
  16. almere

    almere Member HowtoForge Supporter

    Code:
    tail -f /var/log/mail.log
    one more time?
     
  17. Wsbs9GC

    Wsbs9GC New Member

    Code:
    Mar 20 08:42:18 www postfix/qmgr[19564]: 8EEA32EB5D2: from=<[email protected]>, size=1411, nrcpt=1 (queue active)
    Mar 20 08:42:18 www postfix/qmgr[19564]: 86E392EB76F: from=<[email protected]>, size=1414, nrcpt=1 (queue active)
    Mar 20 08:42:18 www postfix/qmgr[19564]: 73BDB2EB6BB: from=<[email protected]>, size=1413, nrcpt=1 (queue active)
    Mar 20 08:42:18 www postfix/qmgr[19564]: 71DC82EB627: from=<[email protected]>, size=1395, nrcpt=1 (queue active)
    Mar 20 08:42:18 www postfix/qmgr[19564]: 7A3D02EB708: from=<[email protected]>, size=1428, nrcpt=1 (queue active)
    Mar 20 08:42:18 www postfix/qmgr[19564]: D17AD2EB6E1: from=<[email protected]>, size=1441, nrcpt=1 (queue active)
    Mar 20 08:42:18 www postfix/qmgr[19564]: 6CDB12EB738: from=<[email protected]>, size=1427, nrcpt=1 (queue active)
    Mar 20 08:42:18 www postfix/qmgr[19564]: 664F52EB698: from=<[email protected]>, size=1429, nrcpt=1 (queue active)
    Mar 20 08:42:19 www postfix/smtp[26591]: connect to gmail-smtp-in.l.google.com[2607:f8b0:4002:c02::1a]:25: Network is unreachable
    Mar 20 08:42:20 www postfix/smtp[26304]: connect to mx11.go2.pl[193.17.41.141]:25: Connection timed out
    Mar 20 08:42:48 www postfix/smtp[26585]: connect to mx1.hotmail.com[65.54.188.94]:25: Connection timed out
    Mar 20 08:42:48 www postfix/smtp[26586]: connect to mx.yandex.ru[77.88.21.89]:25: Connection timed out
    Mar 20 08:42:48 www postfix/smtp[26587]: connect to mx1.hotmail.com[65.54.188.110]:25: Connection timed out
    Mar 20 08:42:48 www postfix/smtp[26584]: connect to celinestores.com[5.77.45.228]:25: Connection timed out
    Mar 20 08:42:48 www postfix/smtp[26589]: connect to mail.polioneis-reborb.com[5.61.37.101]:25: Connection timed out
    Mar 20 08:42:48 www postfix/smtp[26584]: C25CA2EB62B: to=<[email protected]>, relay=none, delay=55004, delays=54974/0.17/30/0, dsn=4.4.1, status=deferred (connect to celinestores.com[5.77.45.228]:25: Connection timed out)
    Mar 20 08:42:48 www postfix/smtp[26590]: connect to smtp.europe.secureserver.net[188.121.52.56]:25: Connection timed out
    Mar 20 08:42:48 www postfix/smtp[26592]: connect to chlordane.2f0s.com[159.253.137.107]:25: Connection timed out
    Mar 20 08:42:48 www postfix/smtp[26588]: connect to mailin-02.mx.aol.com[64.12.90.65]:25: Connection timed out
    Mar 20 08:42:48 www postfix/smtp[26592]: 664F52EB698: to=<[email protected]>, relay=none, delay=38165, delays=38134/0.41/30/0, dsn=4.4.1, status=deferred (connect to chlordane.2f0s.com[159.253.137.107]:25: Connection timed out)
    Mar 20 08:42:49 www postfix/smtp[26591]: connect to gmail-smtp-in.l.google.com[74.125.134.26]:25: Connection timed out
    Mar 20 08:42:50 www postfix/smtp[26304]: connect to mx6.go2.pl[193.17.41.46]:25: Connection timed out
    Mar 20 08:43:18 www postfix/smtp[26585]: connect to mx2.hotmail.com[65.55.92.168]:25: Connection timed out
    Mar 20 08:43:18 www postfix/smtp[26586]: connect to mx.yandex.ru[213.180.204.89]:25: Connection timed out
    Mar 20 08:43:18 www postfix/smtp[26587]: connect to mx4.hotmail.com[65.55.92.136]:25: Connection timed out
    Mar 20 08:43:18 www postfix/smtp[26589]: connect to mail.polioneis-reborb.com[5.61.37.101]:25: Connection timed out
    Mar 20 08:43:18 www postfix/smtp[26589]: 7A3D02EB708: to=<[email protected]>, relay=none, delay=21528, delays=21468/0.32/60/0, dsn=4.4.1, status=deferred (connect to mail.polioneis-reborb.com[5.61.37.101]:25: Connection timed out)
    Mar 20 08:43:18 www postfix/smtp[26590]: connect to mailstore1.europe.secureserver.net[188.121.52.56]:25: Connection timed out
    Mar 20 08:43:18 www postfix/smtp[26590]: D17AD2EB6E1: to=<[email protected]>, relay=none, delay=27923, delays=27863/0.36/60/0, dsn=4.4.1, status=deferred (connect to mailstore1.europe.secureserver.net[188.121.52.56]:25: Connection timed out)
    Mar 20 08:43:19 www postfix/smtp[26588]: connect to mailin-02.mx.aol.com[205.188.155.110]:25: Connection timed out
    Mar 20 08:43:19 www postfix/smtp[26591]: connect to alt1.gmail-smtp-in.l.google.com[173.194.75.26]:25: Connection timed out
    Mar 20 08:43:19 www postfix/smtp[26591]: connect to alt1.gmail-smtp-in.l.google.com[2607:f8b0:400c:c03::1b]:25: Network is unreachable
    Mar 20 08:43:20 www postfix/smtp[26304]: connect to mx4.go2.pl[193.17.41.44]:25: Connection timed out
    
     
  18. almere

    almere Member HowtoForge Supporter

    Are you sure that port 25 is open in the ISPConfig firewall panel? (System->Firewall->Choose your server and look for 25 in Open TCP ports and Open UDP ports)

    Try to disable SELinux.
    Code:
    sudo echo 0 > /selinux/enforce
    Code:
    reboot
    It should help :cool:
     
  19. Wsbs9GC

    Wsbs9GC New Member

    Okay I added the entry to my firewall but for the selinux command I get this error:
    Code:
    -bash: /selinux/enforce: Permission denied
    
    After adding the firewall rule, I can no longer get my mail client to connect to my mail server. Mozilla Thunderbird just hangs at connected to mail.mydomain.com
     
  20. almere

    almere Member HowtoForge Supporter

    You had just to add port 25 to the firewall. If you did it, than it has nothing to do with your mail. If your mail doesn't work, it may be your own fall in typing ports, or SELinux. In any way, try to send mail. If it doesn't work, than turn the SELinux on and we will wait for Till :(
     

Share This Page