<html>
  <head>
    <meta content="text/html; charset=ISO-8859-1"
      http-equiv="Content-Type">
  </head>
  <body text="#000000" bgcolor="#FFFFFF">
    <br>
    <div class="moz-cite-prefix">Am 18.12.2013 18:52, schrieb Ferdinand
      Gruber:<br>
    </div>
    <blockquote cite="mid:52B1E0F5.1090805@aon.at" type="cite">
      <meta http-equiv="content-type" content="text/html;
        charset=ISO-8859-1">
      <font face="monospace">habe einen Root Server im Internet und
        möchte mit diesem Mails senden können und habe deshalb postfix
        mit dovecot SASL konfiguriert.<br>
        Habe die entsprechenden Howtos gelesen aber es funktioniert
        nicht.<br>
      </font></blockquote>
    <br>
    Gerade bei Dovecot lieber das dovecot Wiki lesen und nicht
    irgendwelche How-To's.
    <a class="moz-txt-link-freetext" href="http://wiki2.dovecot.org/HowTo/PostfixAndDovecotSASL">http://wiki2.dovecot.org/HowTo/PostfixAndDovecotSASL</a><br>
    <br>
    <blockquote cite="mid:52B1E0F5.1090805@aon.at" type="cite"><font
        face="monospace"> Kann jedenfalls den so konfigurierten Server
        nicht von meinem Rechner mit Thunderbird als SMTP Client zum
        Senden verwenden.<br>
        <br>
        Dovecot IMAP funktioniert auf dem Server. Ich kann mit TB auf
        Mails eines Users zugreifen.<br>
        Postfix funktioniert. Ich kann Mails versenden, z. B. mit dem
        Kommando mail (am Server).<br>
        <br>
        postconf mail_version:<br>
      </font>
      <blockquote><font face="monospace">mail_version = 2.9.6</font><br>
      </blockquote>
      <font face="monospace">doveconf -n</font><br>
      <blockquote><font face="monospace"># 2.0.16:
          /etc/dovecot/dovecot.conf</font><br>
        <font face="monospace"># OS: Linux 3.7.10-1.16-desktop x86_64
          openSUSE 12.3 (x86_64) </font><br>
        <font face="monospace">mail_location = <a
            moz-do-not-send="true" class="moz-txt-link-freetext"
            href="mbox:%7E/mail:INBOX=/var/mail/%u">mbox:~/mail:INBOX=/var/mail/%u</a></font><br>
        <font face="monospace">managesieve_notify_capability = mailto</font><br>
        <font face="monospace">managesieve_sieve_capability = fileinto
          reject envelope encoded-character vacation subaddress
          comparator-i;ascii-numeric relational regex imap4flags copy
          include variables body enotify environment mailbox date ihave</font><br>
        <font face="monospace">passdb {</font><br>
        <font face="monospace">  driver = pam</font><br>
        <font face="monospace">}</font><br>
        <font face="monospace">plugin {</font><br>
        <font face="monospace">  sieve = ~/.dovecot.sieve</font><br>
        <font face="monospace">  sieve_dir = ~/sieve</font><br>
        <font face="monospace">}</font><br>
        <font face="monospace">service auth {</font><br>
        <font face="monospace">  unix_listener
          /var/spool/postfix/private/auth {</font><br>
        <font face="monospace">    group = postfix</font><br>
        <font face="monospace">    mode = 0660</font><br>
        <font face="monospace">    user = postfix</font><br>
        <font face="monospace">  }</font><br>
        <font face="monospace">}</font><br>
        <font face="monospace">ssl_cert = </etc/ssl/certs/dovecot.pem</font><br>
        <font face="monospace">ssl_key =
          </etc/ssl/private/dovecot.pem</font><br>
        <font face="monospace">userdb {</font><br>
        <font face="monospace">  driver = passwd</font><br>
        <font face="monospace">}</font><br>
      </blockquote>
      <font face="monospace">postconf -a<br>
      </font>
      <blockquote><font face="monospace">cyrus</font><br>
        <font face="monospace">dovecot</font><br>
      </blockquote>
      <font face="monospace"><br>
        und das ist /etc/postfix/main.cf.<br>
        <br>
              </font><font face="monospace">queue_directory =
        /var/spool/postfix</font><font face="monospace"><br>
              command_directory = /usr/sbin</font><font face="monospace"><br>
              daemon_directory = /usr/lib/postfix</font><font
        face="monospace"><br>
              data_directory = /var/lib/postfix</font><br>
      <blockquote><font face="monospace">mail_owner = postfix</font><br>
        <font face="monospace">unknown_local_recipient_reject_code = 550</font><br>
        <font face="monospace">debug_peer_level = 2</font><br>
        <font face="monospace">debugger_command =</font><br>
        <font face="monospace">        
          PATH=/bin:/usr/bin:/usr/local/bin:/usr/X11R6/bin</font><br>
        <font face="monospace">         ddd
          $daemon_directory/$process_name $process_id & sleep 5</font><br>
        <font face="monospace">sendmail_path = /usr/sbin/sendmail</font><br>
        <font face="monospace">newaliases_path = /usr/bin/newaliases</font><br>
        <font face="monospace">mailq_path = /usr/bin/mailq</font><br>
        <font face="monospace">setgid_group = maildrop</font><br>
        <font face="monospace">html_directory =
          /usr/share/doc/packages/postfix-doc/html</font><br>
        <font face="monospace">manpage_directory = /usr/share/man</font><br>
        <font face="monospace">sample_directory =
          /usr/share/doc/packages/postfix-doc/samples</font><br>
        <font face="monospace">readme_directory =
          /usr/share/doc/packages/postfix-doc/README_FILES</font><br>
        <font face="monospace">relay_domains = $mydestination,
          hash:/etc/postfix/relay</font><br>
        <font face="monospace">virtual_alias_maps =
          hash:/etc/postfix/virtual</font><br>
        <font face="monospace">inet_protocols = all</font><br>
        <font face="monospace">biff = no</font><br>
        <font face="monospace">mail_spool_directory = /var/mail</font><br>
        <font face="monospace">canonical_maps =
          hash:/etc/postfix/canonical</font><br>
        <font face="monospace">virtual_alias_domains =
          hash:/etc/postfix/virtual</font><br>
        <font face="monospace">relocated_maps =
          hash:/etc/postfix/relocated</font><br>
        <font face="monospace">transport_maps =
          hash:/etc/postfix/transport</font><br>
        <font face="monospace">sender_canonical_maps =
          hash:/etc/postfix/sender_canonical</font><br>
        <font face="monospace">masquerade_exceptions = root</font><br>
        <font face="monospace">masquerade_classes = envelope_sender,
          header_sender, header_recipient</font><br>
        <font face="monospace">myhostname = xxxxx.xxxx.xx</font><br>
        <font face="monospace">delay_warning_time = 1h</font><br>
        <font face="monospace">message_strip_characters = \0</font><br>
        <font face="monospace">inet_interfaces = all</font><br>
        <font face="monospace">masquerade_domains = </font><br>
        <font face="monospace">mydestination = $myhostname,
          localhost.$mydomain</font><br>
        <font face="monospace">defer_transports = </font><br>
        <br>
        <font face="monospace"># mynetworks_style = host</font><br>
        <br>
        <font face="monospace">disable_dns_lookups = no</font><br>
        <font face="monospace">relayhost = </font><br>
        <font face="monospace">content_filter = </font><br>
        <font face="monospace">mailbox_command = </font><br>
        <font face="monospace">mailbox_transport = </font><br>
        <font face="monospace">strict_8bitmime = no</font><br>
        <font face="monospace">disable_mime_output_conversion = no</font><br>
        <font face="monospace">smtpd_sender_restrictions =
          hash:/etc/postfix/access</font><br>
        <font face="monospace">smtpd_client_restrictions = </font><br>
        <font face="monospace">smtpd_helo_required = no</font><br>
        <font face="monospace">smtpd_helo_restrictions = </font><br>
        <font face="monospace">strict_rfc821_envelopes = no</font><br>
        <br>
        <font face="monospace">smtpd_sasl_auth_enable = yes</font><br>
        <font face="monospace">smtpd_sasl_type = dovecot</font><br>
        <font face="monospace">smtpd_sasl_path = private/auth</font><br>
        <br>
        <font face="monospace">#    smtpd_sasl_security_options =
          noanonymous</font><br>
        <font face="monospace">#    smtpd_sasl_security_options =
          noanonymous, noplaintext</font><br>
        <font face="monospace">#    smtpd_sasl_tls_security_options =
          noanonymous</font><br>
        <br>
        <font face="monospace">smtpd_recipient_restrictions =</font><br>
        <font face="monospace">    permit_mynetworks,</font><br>
        <font face="monospace">    permit_sasl_authenticated,</font><br>
        <font face="monospace">    reject_unauth_destination</font><br>
        <br>
        <font face="monospace"># smtpd_delay_reject = yes</font><br>
        <font face="monospace"># smtpd_client_restrictions =
          permit_sasl_authenticated, reject</font><br>
        <br>
        <font face="monospace"># erst ab postfix 2.10:</font><br>
        <font face="monospace"># smtpd_relay_restrictions = </font><br>
        <font face="monospace">    permit_mynetworks, </font><br>
        <font face="monospace">    permit_sasl_authenticated</font><br>
        <br>
        <font face="monospace">alias_maps = hash:/etc/aliases</font><br>
        <font face="monospace">message_size_limit = 0</font><br>
        <font face="monospace">mailbox_size_limit = 0</font><br>
        <br>
      </blockquote>
      <tt>Hier noch die Ausgabe von postconf -n</tt><br>
      <blockquote>alias_maps = hash:/etc/aliases<br>
        biff = no<br>
        canonical_maps = hash:/etc/postfix/canonical<br>
        command_directory = /usr/sbin<br>
        config_directory = /etc/postfix<br>
        content_filter =<br>
        daemon_directory = /usr/lib/postfix<br>
        data_directory = /var/lib/postfix<br>
        debug_peer_level = 2<br>
        debugger_command =
        PATH=/bin:/usr/bin:/usr/local/bin:/usr/X11R6/bin ddd
        $daemon_directory/$process_name $process_id & sleep 5<br>
        defer_transports =<br>
        delay_warning_time = 1h<br>
        disable_dns_lookups = no<br>
        disable_mime_output_conversion = no<br>
        html_directory = /usr/share/doc/packages/postfix-doc/html<br>
        inet_interfaces = all<br>
        inet_protocols = all<br>
        mail_owner = postfix<br>
        mail_spool_directory = /var/mail<br>
        mailbox_command =<br>
        mailbox_size_limit = 0<br>
        mailbox_transport =<br>
        mailq_path = /usr/bin/mailq<br>
        manpage_directory = /usr/share/man<br>
        masquerade_classes = envelope_sender, header_sender,
        header_recipient<br>
        masquerade_domains =<br>
        masquerade_exceptions = root<br>
        message_size_limit = 0<br>
        message_strip_characters = \0<br>
        mydestination = $myhostname, localhost.$mydomain<br>
        myhostname = xxxxx.xxxx.xx<br>
        newaliases_path = /usr/bin/newaliases<br>
        queue_directory = /var/spool/postfix<br>
        readme_directory =
        /usr/share/doc/packages/postfix-doc/README_FILES<br>
        relay_domains = $mydestination, hash:/etc/postfix/relay<br>
        relayhost =<br>
        relocated_maps = hash:/etc/postfix/relocated<br>
        sample_directory = /usr/share/doc/packages/postfix-doc/samples<br>
        sender_canonical_maps = hash:/etc/postfix/sender_canonical<br>
        sendmail_path = /usr/sbin/sendmail<br>
        setgid_group = maildrop<br>
        smtpd_client_restrictions =<br>
        smtpd_helo_required = no<br>
        smtpd_helo_restrictions =<br>
        smtpd_recipient_restrictions = permit_mynetworks,
        permit_sasl_authenticated, reject_unauth_destination
        permit_mynetworks, permit_sasl_authenticated<br>
      </blockquote>
    </blockquote>
    <br>
    Wieso alles doppelt ? Evtl. liegt der Fehler auch schlichtweg hier.<br>
    <br>
    <blockquote cite="mid:52B1E0F5.1090805@aon.at" type="cite">
      <blockquote> smtpd_sasl_auth_enable = yes<br>
        smtpd_sasl_path = private/auth<br>
        smtpd_sasl_type = dovecot<br>
        smtpd_sender_restrictions = hash:/etc/postfix/access<br>
        strict_8bitmime = no<br>
        strict_rfc821_envelopes = no<br>
        transport_maps = hash:/etc/postfix/transport<br>
        unknown_local_recipient_reject_code = 550<br>
        virtual_alias_domains = hash:/etc/postfix/virtual<br>
        virtual_alias_maps = hash:/etc/postfix/virtual<br>
      </blockquote>
      <font face="monospace">Die von mir verwendeten, nicht
        funktionierenden SMTP Server Einstellung in Thunderbird:<br>
      </font>
      <blockquote><tt>Port: 25</tt><tt><br>
        </tt><tt>Verbindungssicherheit: SSL/TLS</tt><tt><br>
        </tt></blockquote>
    </blockquote>
    <br>
    Bitte ohne SSL versuchen. Das kann so nicht gehen da du in Postfix
    nichts in dieser Hinsicht konfiguriert hast.<br>
    <br>
    <blockquote cite="mid:52B1E0F5.1090805@aon.at" type="cite">
      <blockquote><tt> </tt><tt>Authentifizierungsmethode: Passwort,
          normal</tt><br>
        <br>
        Natürlich habe ich die anderen Möglichkeiten mit Thunderbird
        (ohne Erfolg) probiert.<br>
      </blockquote>
    </blockquote>
    <br>
    Wenns dann immer noch nicht geht, bitte den Auszug aus dem Log von
    dem betreffenden Versuch schicken.<br>
    <br>
    <blockquote cite="mid:52B1E0F5.1090805@aon.at" type="cite">
      <blockquote> </blockquote>
      Der Abruf von Mails über IMAP funktioniert ja, trotzdem hier die
      Server Einstellungen:<br>
      <blockquote><tt>Port: 993</tt><tt><br>
        </tt><tt>Verbindungssicherheit: SSL/TLS</tt><tt><br>
        </tt><tt> </tt><tt>Authentifizierungsmethode: Passwort, normal</tt><br>
      </blockquote>
    </blockquote>
    <br>
    Markus<br>
    <br>
  </body>
</html>