Postfix problem - I cannot send emails

Hello, I have been using Postfix for over a year and everything was good. Since few days I cannot send emails. Can you help me to solve the problem?

main.cf:

# 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 (Debian/GNU)
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 = no

TLS parameters

smtpd_tls_cert_file=/etc/ssl/certs/ssl-cert-snakeoil.pem
smtpd_tls_key_file=/etc/ssl/private/ssl-cert-snakeoil.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 = vps202766.ovh.net
alias_maps = hash:/etc/aliases
alias_database = hash:/etc/aliases
mydestination = vps202766.ovh.net, localhost.ovh.net, localhost
mynetworks = 127.0.0.0/8 [::ffff:127.0.0.0]/104 [::1]/128
mailbox_command = /usr/bin/procmail-wrapper -o -a $DOMAIN -d $LOGNAME
mailbox_size_limit = 0
recipient_delimiter = +
virtual_alias_maps = hash:/etc/postfix/virtual
sender_bcc_maps = hash:/etc/postfix/bcc
sender_dependent_default_transport_maps = hash:/etc/postfix/dependent
home_mailbox = Maildir/
smtpd_sasl_auth_enable = yes
smtpd_sasl_security_options = noanonymous
broken_sasl_auth_clients = yes
smtpd_recipient_restrictions = permit_mynetworks permit_sasl_authenticated reject_unauth_destination
allow_percent_hack = no
milter_default_action = accept
milter_protocol = 2
smtpd_milters = inet:localhost:8891
non_smtpd_milters = inet:localhost:8891
myorigin = /etc/mailname

A few lines of mail error log:

May 5 01:25:50 vps202766 postfix/qmgr[25900]: 134CD8A090: from=allegro@autoleds.pl, size=1500, nrcpt=1 (queue active)
May 5 01:25:50 vps202766 postfix/qmgr[25900]: CCE718A023: from=allegro.autoleds@vps202766.ovh.net, size=11706, nrcpt=1 (queue active)
May 5 01:25:50 vps202766 postfix/qmgr[25900]: C63CA8A09F: from=zamowienia@autoleds.pl, size=669, nrcpt=1 (queue active)
May 5 01:25:50 vps202766 postfix/qmgr[25900]: C0F628A041: from=allegro.autoleds@vps202766.ovh.net, size=11675, nrcpt=1 (queue active)
May 5 01:25:50 vps202766 postfix/error[27653]: B26198A075: to=autoleds.pl@gmail.com, relay=none, delay=116250, delays=116250/0.03/0/0.03, dsn=4.4.1, status=deferred (delivery temporarily suspended: connect to alt2.gmail-smtp-in.l.google.com[2404:6800:4003:c02::1b]:25: Network is unreachable)
May 5 01:25:50 vps202766 postfix/error[27657]: 6E8038A06F: to=autoleds.pl@gmail.com, relay=none, delay=117746, delays=117746/0.03/0/0.05, dsn=4.4.1, status=deferred (delivery temporarily suspended: connect to alt2.gmail-smtp-in.l.google.com[2404:6800:4003:c02::1b]:25: Network is unreachable)
May 5 01:25:50 vps202766 postfix/error[27659]: 6F7DB8A043: to=autoleds.pl@gmail.com, relay=none, delay=132288, delays=132288/0.05/0/0.03, dsn=4.4.1, status=deferred (delivery temporarily suspended: connect to alt2.gmail-smtp-in.l.google.com[2404:6800:4003:c02::1b]:25: Network is unreachable)
May 5 01:25:50 vps202766 postfix/error[27655]: 6A07E8A082: to=autoleds.pl@gmail.com, relay=none, delay=111904, delays=111904/0.03/0/0.05, dsn=4.4.1, status=deferred (delivery temporarily suspended: connect to alt2.gmail-smtp-in.l.google.com[2404:6800:4003:c02::1b]:25: Network is unreachable)
May 5 01:25:50 vps202766 postfix/error[27664]: 5AB818A07A: to=autoleds.pl@gmail.com, relay=none, delay=114062, delays=114062/0.06/0/0.03, dsn=4.4.1, status=deferred (delivery temporarily suspended: connect to alt2.gmail-smtp-in.l.google.com[2404:6800:4003:c02::1b]:25: Network is unreachable)
May 5 01:25:50 vps202766 postfix/error[27660]: 34F648A019: to=autoleds.pl@gmail.com, relay=none, delay=185663, delays=185663/0.05/0/0.04, dsn=4.4.1, status=deferred (delivery temporarily suspended: connect to alt2.gmail-smtp-in.l.google.com[2404:6800:4003:c02::1b]:25: Network is unreachable)
May 5 01:25:50 vps202766 postfix/error[27653]: 5421B8A06A: to=autoleds.pl@gmail.com, relay=none, delay=118837, delays=118837/0.05/0/0.04, dsn=4.4.1, status=deferred (delivery temporarily suspended: connect to alt2.gmail-smtp-in.l.google.com[2404:6800:4003:c02::1b]:25: Network is unreachable)
May 5 01:25:50 vps202766 postfix/error[27659]: 5883A8A047: to=autoleds.pl@gmail.com, relay=none, delay=130843, delays=130843/0.08/0/0.02, dsn=4.4.1, status=deferred (delivery temporarily suspended: connect to alt2.gmail-smtp-in.l.google.com[2404:6800:4003:c02::1b]:25: Network is unreachable)
May 5 01:25:50 vps202766 postfix/error[27657]: 095138A05A: to=autoleds.pl@gmail.com, relay=none, delay=117750, delays=117750/0.08/0/0.02, dsn=4.4.1, status=deferred (delivery temporarily suspended: connect to alt2.gmail-smtp-in.l.google.com[2404:6800:4003:c02::1b]:25: Network is unreachable)
May 5 01:25:50 vps202766 postfix/error[27655]: 0C7B88A037: to=autoleds.pl@gmail.com, relay=none, delay=135816, delays=135816/0.08/0/0.02, dsn=4.4.1, status=deferred (delivery temporarily suspended: connect to alt2.gmail-smtp-in.l.google.com[2404:6800:4003:c02::1b]:25: Network is unreachable)
May 5 01:25:50 vps202766 postfix/error[27664]: 84C4E8A01C: to=autoleds.pl@gmail.com, relay=none, delay=176749, delays=176749/0.09/0/0.03, dsn=4.4.1, status=deferred (delivery temporarily suspended: connect to alt2.gmail-smtp-in.l.google.com[2404:6800:4003:c02::1b]:25: Network is unreachable)
May 5 01:25:50 vps202766 postfix/error[27666]: 0C6868A02A: to=autoleds.pl@gmail.com, relay=none, delay=151434, delays=151434/0.08/0/0.04, dsn=4.4.1, status=deferred (delivery temporarily suspended: connect to alt2.gmail-smtp-in.l.google.com[2404:6800:4003:c02::1b]:25: Network is unreachable)
May 5 01:25:50 vps202766 postfix/error[27653]: 2FF738A08A: to=autoleds.pl@gmail.com, relay=none, delay=110021, delays=110021/0.09/0/0.03, dsn=4.4.1, status=deferred (delivery temporarily suspended: connect to alt2.gmail-smtp-in.l.google.com[2404:6800:4003:c02::1b]:25: Network is unreachable)
May 5 01:25:50 vps202766 postfix/error[27660]: 8DFA68A02C: to=autoleds.pl@gmail.com, relay=none, delay=147876, delays=147876/0.09/0/0.03, dsn=4.4.1, status=deferred (delivery temporarily suspended: connect to alt2.gmail-smtp-in.l.google.com[2404:6800:4003:c02::1b]:25: Network is unreachable)
May 5 01:25:50 vps202766 postfix/error[27659]: DA0558A08F: to=pawelkolarczyk@gmail.com, relay=none, delay=56306, delays=56305/0.1/0/0.03, dsn=4.4.1, status=deferred (delivery temporarily suspended: connect to alt2.gmail-smtp-in.l.google.com[2404:6800:4003:c02::1b]:25: Network is unreachable)
May 5 01:25:50 vps202766 postfix/error[27669]: EE62D8A06C: to=autoleds.pl@gmail.com, relay=none, delay=118299, delays=118299/0.1/0/0.03, dsn=4.4.1, status=deferred (delivery temporarily suspended: connect to alt2.gmail-smtp-in.l.google.com[2404:6800:4003:c02::1b]:25: Network is unreachable)
May 5 01:25:50 vps202766 postfix/error[27667]: D54488A024: to=autoleds.pl@gmail.com, relay=none, delay=159902, delays=159901/0.09/0/0.04, dsn=4.4.1, status=deferred (delivery temporarily suspended: connect to alt2.gmail-smtp-in.l.google.com[2404:6800:4003:c02::1b]:25: Network is unreachable)
May 5 01:25:50 vps202766 postfix/error[27655]: DB9C38A040: to=autoleds.pl@gmail.com, relay=none, delay=132967, delays=132966/0.1/0/0.03, dsn=4.4.1, status=deferred (delivery temporarily suspended: connect to alt2.gmail-smtp-in.l.google.com[2404:6800:4003:c02::1b]:25: Network is unreachable)
May 5 01:25:50 vps202766 postfix/error[27657]: DF5F88A070: to=autoleds.pl@gmail.com, relay=none, delay=117671, delays=117671/0.1/0/0.03, dsn=4.4.1, status=deferred (delivery temporarily suspended: connect to alt2.gmail-smtp-in.l.google.com[2404:6800:4003:c02::1b]:25: Network is unreachable)
May 5 01:25:50 vps202766 postfix/error[27671]: 9FEEB8A022: to=autoleds.pl@gmail.com, relay=none, delay=168308, delays=168308/0.11/0/0.04, dsn=4.4.1, status=deferred (delivery temporarily suspended: connect to alt2.gmail-smtp-in.l.google.com[2404:6800:4003:c02::1b]:25: Network is unreachable)
May 5 01:25:50 vps202766 postfix/error[27672]: F20118A06E: to=autoleds.pl@gmail.com, relay=none, delay=117750, delays=117750/0.12/0/0.03, dsn=4.4.1, status=deferred (delivery temporarily suspended: connect to alt2.gmail-smtp-in.l.google.com[2404:6800:4003:c02::1b]:25: Network is unreachable)
May 5 01:25:50 vps202766 postfix/error[27653]: F18318A0A1: to=pawelkolarczyk@gmail.com, relay=none, delay=2131, delays=2131/0.12/0/0.03, dsn=4.4.1, status=deferred (delivery temporarily suspended: connect to alt2.gmail-smtp-in.l.google.com[2404:6800:4003:c02::1b]:25: Network is unreachable)
May 5 01:25:50 vps202766 postfix/error[27660]: A1D548A068: to=autoleds.pl@gmail.com, relay=none, delay=119659, delays=119659/0.12/0/0.03, dsn=4.4.1, status=deferred (delivery temporarily suspended: connect to alt2.gmail-smtp-in.l.google.com[2404:6800:4003:c02::1b]:25: Network is unreachable)
May 5 01:25:50 vps202766 postfix/error[27674]: 199C78A01B: to=autoleds.pl@gmail.com, relay=none, delay=181524, delays=181524/0.12/0/0.04, dsn=4.4.1, status=deferred (delivery temporarily suspended: connect to alt2.gmail-smtp-in.l.google.com[2404:6800:4003:c02::1b]:25: Network is unreachable)
May 5 01:25:50 vps202766 postfix/error[27664]: ACAE68A029: to=autoleds.pl@gmail.com, relay=none, delay=156250, delays=156250/0.11/0/0.04, dsn=4.4.1, status=deferred (delivery temporarily suspended: connect to alt2.gmail-smtp-in.l.google.com[2404:6800:4003:c02::1b]:25: Network is unreachable)
May 5 01:25:50 vps202766 postfix/error[27657]: CCE718A023: to=autoleds.pl@gmail.com, relay=none, delay=132970, delays=132969/0.12/0/0.03, dsn=4.4.1, status=deferred (delivery temporarily suspended: connect to alt2.gmail-smtp-in.l.google.com[2404:6800:4003:c02::1b]:25: Network is unreachable)
May 5 01:25:50 vps202766 postfix/error[27659]: 134CD8A090: to=pawelkolarczyk@gmail.com, relay=none, delay=55565, delays=55565/0.12/0/0.03, dsn=4.4.1, status=deferred (delivery temporarily suspended: connect to alt2.gmail-smtp-in.l.google.com[2404:6800:4003:c02::1b]:25: Network is unreachable)
May 5 01:25:50 vps202766 postfix/error[27666]: AF4A68A09B: to=pawelkolarczyk@gmail.com, relay=none, delay=25935, delays=25935/0.11/0/0.04, dsn=4.4.1, status=deferred (delivery temporarily suspended: connect to alt2.gmail-smtp-in.l.google.com[2404:6800:4003:c02::1b]:25: Network is unreachable)
May 5 01:25:50 vps202766 postfix/error[27655]: C63CA8A09F: to=pawelkolarczyk@gmail.com, relay=none, delay=2326, delays=2325/0.12/0/0.03, dsn=4.4.1, status=deferred (delivery temporarily suspended: connect to alt2.gmail-smtp-in.l.google.com[2404:6800:4003:c02::1b]:25: Network is unreachable)
May 5 01:25:50 vps202766 postfix/error[27667]: C0F628A041: to=autoleds.pl@gmail.com, relay=none, delay=132970, delays=132969/0.12/0/0.03, dsn=4.4.1, status=deferred (delivery temporarily suspended: connect to alt2.gmail-smtp-in.l.google.com[2404:6800:4003:c02::1b]:25: Network is unreachable)
May 5 01:25:59 vps202766 postfix/smtpd[27678]: connect from host-192-151.txcsmel.collegestation.tx.us.clients.pavlovmedia.com[50.30.192.151]
May 5 01:26:00 vps202766 postfix/smtpd[27678]: A8F308A0A4: client=host-192-151.txcsmel.collegestation.tx.us.clients.pavlovmedia.com[50.30.192.151]
May 5 01:26:01 vps202766 postfix/cleanup[27681]: A8F308A0A4: message-id=67862887759693-WECNUHTHWIBIXRUBRAUMJDVU@roicj.bessoneimpianti.com
May 5 01:26:01 vps202766 postfix/qmgr[25900]: A8F308A0A4: from=ikdpxmvcbqxb@bairdtransport.com, size=989, nrcpt=1 (queue active)
May 5 01:26:01 vps202766 postfix/smtpd[27678]: disconnect from host-192-151.txcsmel.collegestation.tx.us.clients.pavlovmedia.com[50.30.192.151]
May 5 01:26:02 vps202766 spamd[9163]: spamd: connection from localhost [127.0.0.1] at port 42506
May 5 01:26:02 vps202766 spamd[9163]: spamd: setuid to zamowienia.autoleds succeeded
May 5 01:26:02 vps202766 spamd[9163]: spamd: processing message 67862887759693-WECNUHTHWIBIXRUBRAUMJDVU@roicj.bessoneimpianti.com for zamowienia.autoleds:1004
May 5 01:26:06 vps202766 spamd[9163]: spamd: identified spam (15.2/5.0) for zamowienia.autoleds:1004 in 4.1 seconds, 1139 bytes.
May 5 01:26:06 vps202766 spamd[9163]: spamd: result: Y 15 - BAYES_99,BAYES_999,HK_RANDOM_ENVFROM,HTML_MESSAGE,HTML_MIME_NO_HTML_TAG,MIME_HTML_ONLY,RCVD_IN_BL_SPAMCOP_NET,RCVD_IN_BRBL_LASTEXT,RCVD_IN_PSBL,RCVD_IN_RP_RNBL,RCVD_IN_XBL,SPF_FAIL,TO_NO_BRKTS_HTML_ONLY,URIBL_BLOCKED,URIBL_DBL_ABUSE_REDIR,URIBL_JP_SURBL scantime=4.1,size=1139,user=zamowienia.autoleds,uid=1004,required_score=5.0,rhost=localhost,raddr=127.0.0.1,rport=42506,mid=67862887759693-WECNUHTHWIBIXRUBRAUMJDVU@roicj.bessoneimpianti.com,bayes=1.000000,autolearn=spam
May 5 01:26:06 vps202766 postfix/local[27682]: A8F308A0A4: to=zamowienia.autoleds@vps202766.ovh.net, orig_to=zamowienia@autoleds.pl, relay=local, delay=6, delays=1.2/0.01/0/4.7, dsn=2.0.0, status=sent (delivered to command: /usr/bin/procmail-wrapper -o -a $DOMAIN -d $LOGNAME)
May 5 01:26:06 vps202766 postfix/qmgr[25900]: A8F308A0A4: removed
May 5 01:26:06 vps202766 spamd[3239]: prefork: child states: II
May 5 01:26:20 vps202766 postfix/smtp[27654]: connect to mx13.o2.pl[193.17.41.15]:25: Connection timed out
May 5 01:26:50 vps202766 postfix/smtp[27654]: connect to mx8.o2.pl[193.17.41.48]:25: Connection timed out
May 5 01:27:20 vps202766 postfix/smtp[27654]: connect to mx11.o2.pl[193.17.41.141]:25: Connection timed out

The email problem appears to be a symptom of a DNS or networking issue.

Basically, your email server cannot reach alt2.gmail-smtp-in.l.google.com at 2404:6800:4003:c02::1b
Try to ping alt2.gmail-smtp-in.l.google.com
My server resolves that fqdn to a different IPV6 address:
host alt2.gmail-smtp-in.l.google.com
alt2.gmail-smtp-in.l.google.com has address 74.125.192.27
alt2.gmail-smtp-in.l.google.com has IPv6 address 2607:f8b0:400d:c00::1a

You seem to have stale DNS records. You might work around this by adding the domain and IPV4 IP to /etc/hosts, but you need to get your DNS fixed. Restart your server. Hunt around for outdated static entries for that fqdn. Verify that you can correctly resolve fqdn that you’ve never previously visited, like excite.com, using the dns resource of your server.

Also, you may have become firewalled upstream from your server. Check with Google to see if you’ve triggered their security, and check with your employer or ISP.

Port 25 was blocked. Thank you.