postfix + sasl +mysql

7 bejegyzés megtekintése - 1-7 / 7
  • Szerző
    Bejegyzés
  • #1978052
    admin
    Adminisztrátor

      postfix+sasl+mysql (fedora2)

      Konfigfajlok
      main.cf:
      broken_sasl_auth_clients = yes
      smtpd_sasl_auth_enable = yes
      smtpd_sasl_security_options = noanonymous

      /usr/lib/sasl/smtpd.conf:
      pwcheck_method: pam
      mech_list: plain login cram-md5 digest-md5

      /etc/pam.d/smtp:
      auth required pam_mysql.so
      user=mail
      passwd=secret
      db=postfixdb
      table=users
      usercolumn=login
      passwdcolumn=password
      crypt=0

      Ezekutan megprobalok levelet kuldeni Mozilla Thunderbirdel.

      /var/log/maillog:
      Oct 15 09:49:55 monster postfix/smtpd[29596]: connect from beast[10.1.0.200]
      Oct 15 09:49:57 monster postfix/smtpd[29596]: warning: SASL authentication failure: no secret in database
      Oct 15 09:49:57 monster postfix/smtpd[29596]: warning: beast[10.1.0.200]: SASL CRAM-MD5 authentication failed
      Oct 15 09:49:57 monster postfix/smtpd[29596]: warning: SASL authentication failure: Password verification failed
      Oct 15 09:49:57 monster postfix/smtpd[29596]: warning: beast[10.1.0.200]: SASL PLAIN authentication failed
      Oct 15 09:49:57 monster postfix/smtpd[29596]: warning: beast[10.1.0.200]: SASL LOGIN authentication failed
      Oct 15 09:49:59 monster postfix/smtpd[29596]: lost connection after AUTH from beast[10.1.0.200]
      Oct 15 09:49:59 monster postfix/smtpd[29596]: disconnect from beast[10.1.0.200]

      Bocsi, hogy kicsit hosszura sikerult de probaltam minden informaciot elarulni.
      Elore is koszi a segitseget!
      Bye.
      [align=right][snapback]90067[/snapback][/align]

      Egy ilyenre fáj a fogad?
      http://www.gentoo.org/doc/en/virt-mail-howto.xml
      Itt azért kicsit bonyolultabb.
      Az hogy gentoo ne zavarjon!

      #1978053
      admin
      Adminisztrátor

        Haliho!

        Nah megcsinaltam ez alapja, nekem nincs ennyire bonyolult beallitasokra
        szuksegem csupan smpt-auth-ra. A lenyeg, sikeresen authentikal sql
        adatbazisbol, viszont akkor is elkuldi a levelet ha nem authentikalja magat
        a kuldo, es nem igazan talalom hol lehet azt beallitani, hogy csak akkor kuldje
        auhtentikalta magat a kuldo.
        Elore is koszi!
        Bye

        #1978054
        vavhab
        Felhasználó

          Bocsi! en voltam csak elfelejtettem bejelentkezni! :blush:

          #1978055
          admin
          Adminisztrátor

            Haliho!

            Nah megcsinaltam ez alapja, nekem nincs ennyire bonyolult beallitasokra
            szuksegem csupan smpt-auth-ra. A lenyeg, sikeresen authentikal sql
            adatbazisbol, viszont akkor is elkuldi a levelet ha nem authentikalja magat
            a kuldo, es nem igazan talalom hol lehet azt beallitani, hogy csak akkor kuldje
            auhtentikalta magat a kuldo.
            Elore is koszi!
            Bye
            [align=right][snapback]90428[/snapback][/align]

            /etc/postfix/main.cf ben állíttsd be!

            #1978056
            vavhab
            Felhasználó

              /etc/postfix/main.cf ben állíttsd be!
              [align=right][snapback]90444[/snapback][/align]

              Es hogyan?

              #1978057
              admin
              Adminisztrátor

                Es hogyan?
                [align=right][snapback]90461[/snapback][/align]

                Itt lalálsz egy doksit a postfix konfigolásra
                http://www.aet.tu-cottbus.de/personen/jaen…s/doc/conf.html

                #1876486
                csaba
                Felhasználó

                  postfix+sasl+mysql (fedora2)

                  Konfigfajlok
                  main.cf:
                  broken_sasl_auth_clients = yes
                  smtpd_sasl_auth_enable = yes
                  smtpd_sasl_security_options = noanonymous

                  /usr/lib/sasl/smtpd.conf:
                  pwcheck_method: pam
                  mech_list: plain login cram-md5 digest-md5

                  /etc/pam.d/smtp:
                  auth required pam_mysql.so
                  user=mail
                  passwd=secret
                  db=postfixdb
                  table=users
                  usercolumn=login
                  passwdcolumn=password
                  crypt=0

                  Ezekutan megprobalok levelet kuldeni Mozilla Thunderbirdel.

                  /var/log/maillog:
                  Oct 15 09:49:55 monster postfix/smtpd[29596]: connect from beast[10.1.0.200]
                  Oct 15 09:49:57 monster postfix/smtpd[29596]: warning: SASL authentication failure: no secret in database
                  Oct 15 09:49:57 monster postfix/smtpd[29596]: warning: beast[10.1.0.200]: SASL CRAM-MD5 authentication failed
                  Oct 15 09:49:57 monster postfix/smtpd[29596]: warning: SASL authentication failure: Password verification failed
                  Oct 15 09:49:57 monster postfix/smtpd[29596]: warning: beast[10.1.0.200]: SASL PLAIN authentication failed
                  Oct 15 09:49:57 monster postfix/smtpd[29596]: warning: beast[10.1.0.200]: SASL LOGIN authentication failed
                  Oct 15 09:49:59 monster postfix/smtpd[29596]: lost connection after AUTH from beast[10.1.0.200]
                  Oct 15 09:49:59 monster postfix/smtpd[29596]: disconnect from beast[10.1.0.200]

                  Bocsi, hogy kicsit hosszura sikerult de probaltam minden informaciot elarulni.
                  Elore is koszi a segitseget!
                  Bye.

                7 bejegyzés megtekintése - 1-7 / 7
                • Be kell jelentkezni a hozzászóláshoz.