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í
×
    dnes 16:22 | Nová verze

    Open source softwarový stack ROCm (Wikipedie) pro vývoj AI a HPC na GPU od AMD byl vydán ve verzi 7.0.0. Přidána byla podpora AMD Instinct MI355X a MI350X.

    Ladislav Hagara | Komentářů: 0
    dnes 15:22 | Nová verze

    Byla vydána nová verze 258 správce systému a služeb systemd (GitHub).

    Ladislav Hagara | Komentářů: 1
    dnes 15:11 | Nová verze

    Byla vydána Java 25 / JDK 25. Nových vlastností (JEP - JDK Enhancement Proposal) je 18. Jedná se o LTS verzi.

    Ladislav Hagara | Komentářů: 0
    dnes 14:44 | Humor

    Věra Pohlová před 26 lety: „Tyhle aféry každého jenom otravují. Já bych všechny ty internety a počítače zakázala“. Jde o odpověď na anketní otázku deníku Metro vydaného 17. září 1999 na téma zneužití údajů o sporožirových účtech klientů České spořitelny.

    Ladislav Hagara | Komentářů: 1
    dnes 11:33 | Zajímavý článek Ladislav Hagara | Komentářů: 0
    včera 21:44 | Nová verze

    Byl vydán Mozilla Firefox 143.0. Přehled novinek v poznámkách k vydání a poznámkách k vydání pro vývojáře. Nově se Firefox při ukončování anonymního režimu zeptá, zda chcete smazat stažené soubory. Dialog pro povolení přístupu ke kameře zobrazuje náhled. Obzvláště užitečné při přepínání mezi více kamerami. Řešeny jsou rovněž bezpečnostní chyby. Nový Firefox 143 bude brzy k dispozici také na Flathubu a Snapcraftu.

    Ladislav Hagara | Komentářů: 0
    včera 17:22 | Nová verze

    Byla vydána betaverze Fedora Linuxu 43 (ChangeSet), tj. poslední zastávka před vydáním finální verze, která je naplánována na úterý 21. října.

    Ladislav Hagara | Komentářů: 0
    včera 12:22 | Nová verze

    Multiplatformní emulátor terminálu Ghostty byl vydán ve verzi 1.2 (𝕏, Mastodon). Přehled novinek, vylepšení a nových efektů v poznámkách k vydání.

    Ladislav Hagara | Komentářů: 0
    včera 00:11 | Nová verze

    Byla vydána nová verze 4.5 (𝕏, Bluesky, Mastodon) multiplatformního open source herního enginu Godot (Wikipedie, GitHub). Přehled novinek i s náhledy v příspěvku na blogu.

    Ladislav Hagara | Komentářů: 0
    15.9. 21:33 | Nová verze

    Byla vydána verze 3.0 (Mastodon) nástroje pro záznam a sdílení terminálových sezení asciinema (GitHub). S novou verzí formátu záznamu asciicast v3, podporou live streamingu a především kompletním přepisem z Pythonu do Rustu.

    Ladislav Hagara | Komentářů: 0
    Jaké řešení používáte k vývoji / práci?
     (44%)
     (78%)
     (0%)
     (0%)
     (11%)
     (11%)
     (22%)
     (0%)
     (22%)
    Celkem 9 hlasů
     Komentářů: 1, poslední dnes 13:49
    Rozcestník

    Dotaz: SMTP autorizace dovecot

    20.10.2009 14:09 dobraczek | skóre: 6
    SMTP autorizace dovecot
    Přečteno: 657×
    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.