abclinuxu.cz AbcLinuxu.cz itbiz.cz ITBiz.cz HDmag.cz HDmag.cz abcprace.cz AbcPráce.cz
AbcLinuxu hledá autory!
Inzerujte na AbcPráce.cz od 950 Kč
Rozšířené hledání
×
    včera 22:22 | Komunita

    Open source webový aplikační framework Django slaví 20. narozeniny.

    Ladislav Hagara | Komentářů: 0
    včera 16:11 | Komunita

    V Brestu dnes začala konference vývojářů a uživatelů linuxové distribuce Debian DebConf25. Na programu je řada zajímavých přednášek. Sledovat je lze online.

    Ladislav Hagara | Komentářů: 0
    včera 11:33 | IT novinky

    Před 30 lety, tj. 14. července 1995, se začala používat přípona .mp3 pro soubory s hudbou komprimovanou pomocí MPEG-2 Audio Layer 3.

    Ladislav Hagara | Komentářů: 15
    včera 10:55 | IT novinky

    Výroba 8bitových domácích počítačů Commodore 64 byla ukončena v dubnu 1994. Po více než 30 letech byl představen nový oficiální Commodore 64 Ultimate (YouTube). S deskou postavenou na FPGA. Ve 3 edicích v ceně od 299 dolarů a plánovaným dodáním v říjnu a listopadu letošního roku.

    Ladislav Hagara | Komentářů: 16
    13.7. 17:55 | Zajímavý projekt

    Společnost Hugging Face ve spolupráci se společností Pollen Robotics představila open source robota Reachy Mini (YouTube). Předobjednat lze lite verzi za 299 dolarů a wireless verzi s Raspberry Pi 5 za 449 dolarů.

    Ladislav Hagara | Komentářů: 11
    11.7. 16:44 | Komunita

    Dnes v 17:30 bude oficiálně vydána open source počítačová hra DOGWALK vytvořena v 3D softwaru Blender a herním enginu Godot. Release party proběhne na YouTube od 17:00.

    Ladislav Hagara | Komentářů: 3
    11.7. 14:55 | Humor

    McDonald's se spojil se společností Paradox a pracovníky nabírá také pomocí AI řešení s virtuální asistentkou Olivii běžící na webu McHire. Ian Carroll a Sam Curry se na toto AI řešení blíže podívali a opravdu je překvapilo, že se mohli přihlásit pomocí jména 123456 a hesla 123456 a získat přístup k údajům o 64 milionech uchazečů o práci.

    Ladislav Hagara | Komentářů: 16
    11.7. 00:11 | Nová verze

    Byla vydána (𝕏) červnová aktualizace aneb nová verze 1.102 editoru zdrojových kódů Visual Studio Code (Wikipedie). Přehled novinek i s náhledy a videi v poznámkách k vydání. Ve verzi 1.102 vyjde také VSCodium, tj. komunitní sestavení Visual Studia Code bez telemetrie a licenčních podmínek Microsoftu.

    Ladislav Hagara | Komentářů: 0
    10.7. 21:00 | Bezpečnostní upozornění

    Byla vydána nová verze 2.4.64 svobodného multiplatformního webového serveru Apache (httpd). Řešeno je mimo jiné 8 bezpečnostních chyb.

    Ladislav Hagara | Komentářů: 4
    10.7. 15:22 | Nová verze

    Společnost xAI na síti 𝕏 představila Grok 4, tj. novou verzi svého AI LLM modelu Grok.

    Ladislav Hagara | Komentářů: 12
    Jaký je váš oblíbený skriptovací jazyk?
     (59%)
     (26%)
     (7%)
     (3%)
     (1%)
     (1%)
     (4%)
    Celkem 393 hlasů
     Komentářů: 16, poslední 8.6. 21:05
    Rozcestník

    Dotaz: SMTP autorizace dovecot

    20.10.2009 14:09 dobraczek | skóre: 6
    SMTP autorizace dovecot
    Přečteno: 656×
    Prosim poradite nekdo, uz si vazne nevim rady. Kde by mohla byt chyba, co mam skontrolovat, nebo upravit.

    Telnet:
    myserver:~# telnet localhost 25
    Trying 127.0.0.1...
    Connected to localhost.
    Escape character is '^]'.
    220 Vitejte na mail serveru XXX.
    EHLO test
    250-mail.domain.cz
    250-PIPELINING
    250-SIZE 20480000
    250-VRFY
    250-ETRN
    250-STARTTLS
    250-AUTH PLAIN LOGIN CRAM-MD5 DIGEST-MD5
    250-AUTH=PLAIN LOGIN CRAM-MD5 DIGEST-MD5
    250-ENHANCEDSTATUSCODES
    250-8BITMIME
    250 DSN
    AUTH PLAIN AHRlc3QAdGVzdHBhc3M=
    535 5.7.8 Error: authentication failed:
    
    /etc/postfix/main.cf
    .
    .
    .
    virtual_mailbox_domains = /etc/postfix/virtual_domains
    virtual_mailbox_base = /var/www/mail
    virtual_mailbox_maps = hash:/etc/postfix/virtual
    virtual_alias_maps = hash:/etc/postfix/virtual_alias
    virtual_uid_maps = static:106
    virtual_gid_maps = static:108
    .
    .
    .
    broken_sasl_auth_clients = yes
    smtp_sasl_auth_enable = no
    
    smtpd_sasl_type = dovecot
    smtpd_sasl_path = private/auth
    smtpd_sasl_auth_enable = yes
    smtpd_sasl_local_domain =
    smtpd_sasl_security_options = noanonymous
    .
    .
    .
    
    /etc/dovecot/dovecot.conf
    protocols = pop3 imap
    ssl_disable = yes
    disable_plaintext_auth = no
    mail_location = maildir:/var/www/mail/%u
    pop3_uidl_format = %08Xu%08Xv
    
    first_valid_uid = 106
    first_valid_gid = 108
    last_valid_uid = 106
    last_valid_gid = 108
    
    auth_verbose = yes
    auth default {
      #mechanisms = plain
      mechanisms = plain login cram-md5 digest-md5
    
      passdb passwd-file {
        args = /etc/postfix/passwd
      }
      userdb static {
        args = uid=106 gid=108
      }
    
      socket listen {
        client {
          path = /var/spool/postfix/private/auth
          mode = 0660
          user = postfix
          group = postfix
        }
      }
    }
    
    /etc/postfix/passwd
    user@domena.cz:{PLAIN}heslo
    
    postconf -a
    cyrus
    dovecot
    

    Odpovědi

    20.10.2009 16:36 NN
    Rozbalit Rozbalit vše Re: SMTP autorizace dovecot
    Skus AUTH PLAIN dGVzdAB0ZXN0AHRlc3RwYXNz

    (test test testpass)

    NN
    20.10.2009 17:00 dobraczek | skóre: 6
    Rozbalit Rozbalit vše Re: SMTP autorizace dovecot
    535 5.7.8 Error: authentication failed:

    Pri pokusu stahnout data do offline klienta prez imap s overovanim SMTP to take hlasi chybu.

    Zpravu nelze odeslat, protoze jeden z prijemcu byl serverem odmitnut. Adresa odmitnuteho prijemce je xxx@xxx.xx. Predmet 'test', Ucet: 'domena.cz', Server: 'server.cz', Protokol: SMTP, Odezva server: '554 5.7.1 xxx(IP): Client host rejected: Acces denied', Port: 25, ....... Cislo chyby: 0x800CCC79

    Log na serveru:
    Oct 20 16:35:59 ideas-server postfix/smtpd[8450]: warning: restriction `permit_sasl_authenticated' after `reject' is ignored
    Oct 20 16:35:59 ideas-server postfix/smtpd[8450]: warning: restriction `permit_sasl_authenticated' after `reject' is ignored
    Oct 20 16:35:59 ideas-server postfix/smtpd[8450]: warning: restriction `permit_sasl_authenticated' after `reject' is ignored
    Oct 20 16:50:50 ideas-server postfix/smtpd[9288]: warning: dict_nis_init: NIS domain name not set - NIS lookups disabled
    Oct 20 16:51:03 ideas-server postfix/smtpd[9301]: warning: dict_nis_init: NIS domain name not set - NIS lookups disabled
    Oct 20 16:51:03 ideas-server postfix/smtpd[9302]: warning: dict_nis_init: NIS domain name not set - NIS lookups disabled
    Oct 20 16:51:04 ideas-server postfix/smtpd[9301]: warning: restriction `permit_sasl_authenticated' after `reject' is ignored
    Oct 20 16:51:04 ideas-server postfix/smtpd[9302]: warning: restriction `permit_sasl_authenticated' after `reject' is ignored
    Oct 20 16:51:04 ideas-server postfix/smtpd[9288]: warning: localhost[127.0.0.1]: SASL PLAIN authentication failed:
    Oct 20 16:55:27 ideas-server postfix/smtpd[9546]: warning: dict_nis_init: NIS domain name not set - NIS lookups disabled
    Oct 20 16:55:27 ideas-server postfix/smtpd[9546]: warning: restriction `permit_sasl_authenticated' after `reject' is ignored
    Oct 20 16:55:45 ideas-server postfix/smtpd[9546]: warning: restriction `permit_sasl_authenticated' after `reject' is ignored
    Oct 20 17:00:00 ideas-server postfix/smtpd[9801]: warning: dict_nis_init: NIS domain name not set - NIS lookups disabled
    Oct 20 17:00:00 ideas-server postfix/smtpd[9801]: warning: restriction `permit_sasl_authenticated' after `reject' is ignored
    Oct 20 17:00:04 ideas-server postfix/smtpd[9801]: warning: restriction `permit_sasl_authenticated' after `reject' is ignored
    Oct 20 17:00:05 ideas-server postfix/smtpd[9801]: warning: restriction `permit_sasl_authenticated' after `reject' is ignored
    Oct 20 17:00:06 ideas-server postfix/smtpd[9801]: warning: restriction `permit_sasl_authenticated' after `reject' is ignored
    Oct 20 17:00:08 ideas-server postfix/smtpd[9801]: warning: restriction `permit_sasl_authenticated' after `reject' is ignored
    Oct 20 17:00:09 ideas-server postfix/smtpd[9801]: warning: restriction `permit_sasl_authenticated' after `reject' is ignored
    
    20.10.2009 17:37 svaca | skóre: 38
    Rozbalit Rozbalit vše Re: SMTP autorizace dovecot
    No ja myslim, ze je to v tom logu naprosto jasne napsany ne ?

    Co mas v : smtpd_sender_restrictions ?
    Never give up ! Stay ATARI !
    20.10.2009 21:28 dobraczek
    Rozbalit Rozbalit vše Re: SMTP autorizace dovecot
    Jejda, mel jsem to zakomentovane. Dik jsem vul. Uz to jede :-D
    smtpd_sender_restrictions =
      reject_rhsbl_client dsn.rfc-ignorant.org
      reject_invalid_hostname
      reject_non_fqdn_sender
      reject_unknown_sender_domain
      permit_sasl_authenticated
      permit_mynetworks
    

    Založit nové vláknoNahoru

    Tiskni Sdílej: Linkuj Jaggni to Vybrali.sme.sk Google Del.icio.us Facebook

    ISSN 1214-1267   www.czech-server.cz
    © 1999-2015 Nitemedia s. r. o. Všechna práva vyhrazena.