Skocz do zawartości

Kolar

Użytkownicy
  • Zawartość

    12
  • Rejestracja

  • Ostatnio

Posty napisane przez Kolar


  1. Ok, już dodaję SPF i DKIM do strefy DNS, mojego ip nie znalazłem na czarnych listach w wyszukiwarkach w necie. Czy to wystarczy do poprawnego działania maili? Czy nie powinienem jakoś włączyć TLS w Postfixie? Jak sprawdzić czy jest włączony?

     

     

    EDIT:

    Poprawiłem poprzednie parametry, już wiadomości nie będą trafiać do spamu :) Wszystkie dochodzą, jednak cały czas nie są szyfrowane i nadal nie mogę się połączyć z portem 25 przez telnet. Jak mogę to zrobić? Czy jakiś zły certyfikat mam wgrany?


  2. OVH mogło mi zablokować ten port? Powinienem dostać chyba jakieś powiadomienie i w ustawieniach VPSa w panelu OVH powinienem mieć taką informację, a nic nie ma.

     

    W ustawieniach serwera zobaczyłem coś takiego (załącznik).

     

     

    Odblokowałem to ip, teraz nie ma alertów, jednak dalej nie mogę połączyć się z portem 25.

     

    EDIT:

    Usunąłem relay_host z ip mojego serwera z pliku main.cf Postfixa i mogę wysyłać maile, jednak dochodzą one jako spam na konto w gmailu, coś takiego jak na drugim załączniku.

     

     


    Widzę, że z kolejki Postfixa zaczynają powoli wysyłać się maile, jednak dlaczego te maile są oznaczane jako spam? Jak mogę to naprawić?

    post-40157-0-96908700-1462450497_thumb.jpg

    post-40157-0-66920800-1462451009_thumb.jpg


  3. Spróbuj

     

    /etc/init.d/postfix stop

    /etc/init.d/postfix start

     

    Bez efektu, dalej nie łączy się przez port 25, już wcześniej restartowałem Postfixa z poziomu Webmina.

     

     

     

    to oznacza że na porcie 25 po protokole tcp nasłuchuje jakaś usługa z pid'em 29941 (postfix). To czy port jest "otwarty" zależne jest jeszcze np. od iptables ;)

     

     

    Co to dokładnie znaczy? Gdzie mogę to sprawdzić?


  4. Oto wynik:

    
    Active Internet connections (only servers)
    Proto Recv-Q Send-Q Local Address           Foreign Address         State       PID/Program name
    tcp        0      0 0.0.0.0:3306            0.0.0.0:*               LISTEN      3062/mysqld
    tcp        0      0 0.0.0.0:587             0.0.0.0:*               LISTEN      29941/master
    tcp        0      0 0.0.0.0:110             0.0.0.0:*               LISTEN      28789/dovecot
    tcp        0      0 0.0.0.0:143             0.0.0.0:*               LISTEN      9802/imap-login
    tcp        0      0 127.0.0.1:783           0.0.0.0:*               LISTEN      3239/spamd.pid
    tcp        0      0 0.0.0.0:10000           0.0.0.0:*               LISTEN      3478/perl
    tcp        0      0 149.202.53.174:53       0.0.0.0:*               LISTEN      1983/named
    tcp        0      0 127.0.0.1:53            0.0.0.0:*               LISTEN      1983/named
    tcp        0      0 0.0.0.0:22              0.0.0.0:*               LISTEN      3315/sshd
    tcp        0      0 127.0.0.1:11000         0.0.0.0:*               LISTEN      2592/lookup-domain-
    tcp        0      0 0.0.0.0:25              0.0.0.0:*               LISTEN      29941/master
    tcp        0      0 127.0.0.1:953           0.0.0.0:*               LISTEN      1983/named
    tcp        0      0 127.0.0.1:8891          0.0.0.0:*               LISTEN      21381/opendkim
    tcp        0      0 0.0.0.0:20000           0.0.0.0:*               LISTEN      3335/perl
    tcp        0      0 0.0.0.0:993             0.0.0.0:*               LISTEN      9802/imap-login
    tcp        0      0 0.0.0.0:995             0.0.0.0:*               LISTEN      28789/dovecot
    tcp6       0      0 :::587                  :::*                    LISTEN      29941/master
    tcp6       0      0 :::110                  :::*                    LISTEN      28789/dovecot
    tcp6       0      0 :::143                  :::*                    LISTEN      9802/imap-login
    tcp6       0      0 :::80                   :::*                    LISTEN      5345/apache2
    tcp6       0      0 :::21                   :::*                    LISTEN      3339/proftpd: (acce
    tcp6       0      0 :::53                   :::*                    LISTEN      1983/named
    tcp6       0      0 :::22                   :::*                    LISTEN      3315/sshd
    tcp6       0      0 :::25                   :::*                    LISTEN      29941/master
    tcp6       0      0 ::1:953                 :::*                    LISTEN      1983/named
    tcp6       0      0 :::443                  :::*                    LISTEN      5345/apache2
    tcp6       0      0 :::993                  :::*                    LISTEN      9802/imap-login
    tcp6       0      0 :::995                  :::*                    LISTEN      28789/dovecot
    udp        0      0 0.0.0.0:8710            0.0.0.0:*                           1567/dhclient
    udp        0      0 0.0.0.0:20000           0.0.0.0:*                           3335/perl
    udp        0      0 0.0.0.0:10000           0.0.0.0:*                           3478/perl
    udp        0      0 149.202.53.174:53       0.0.0.0:*                           1983/named
    udp        0      0 127.0.0.1:53            0.0.0.0:*                           1983/named
    udp        0      0 0.0.0.0:68              0.0.0.0:*                           1567/dhclient
    udp6       0      0 :::26668                :::*                                1567/dhclient
    udp6       0      0 :::53                   :::*                                1983/named
    

     

    Więc chyba port 25 jest otwarty? Czy jednak nie?


  5. Witam, używam Postfixa od ponad roku, zainstalowany na VPSie na Debianie za pomocą oprogramowania Webmin. Od kilku dni nie mogę wysyłać maili nie wiem dlaczego. Czy możecie pomóc?

    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

    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

×