Netgate Discussion Forum
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Search
    • Register
    • Login

    PfSense als Mail Relay

    Scheduled Pinned Locked Moved Deutsch
    2 Posts 2 Posters 2.0k Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • L
      ljmarkus
      last edited by

      Hallo,

      ich möchte pfSense gerne als mail replay hier im lokal Netz benutzen.

      In Postfix General Settings unter "custom main.cf options"

      relayhost = [smtp.xxxxxxx.de]:25
      smtp_sasl_auth_enable=yes
      smtp_sasl_password_maps=hash:/usr/pbi/postfix-i386/etc/postfix/sender_access
      smtp_sasl_mechanism_filter = login
      smtp_tls_security_level = may
      smtp_tls_CAfile = /etc/ssl/cert.pem
      smtp_sasl_security_options = noanonymous
      

      AccessList: "Sender"

      smtp.xxxxxxxx.de mail@xxxxxxxx.de:mypassword
      

      Im Logfile steht nun:

      postfix/error[32948]: B049185F: to=<xxx@xxxxxxxx.de>, relay=none, delay=593, delays=592/0.12/0/0, dsn=4.7.0, status=deferred (delivery temporarily suspended: SASL authentication failed; cannot authenticate to server smtp.xxxxxxxx.de[78.47.156.72]: no mechanism available)</xxx@xxxxxxxx.de>
      

      Unter Thunderbid kann ich mich auf auf smtp.xxxxxxx.de einloggen

      Port: 25
      Verbindungssicherheit: STARTTLS
      Authentifzierungsm.: Passwort, normal

      Wo steckt der Fehler?

      Vielen Dank,
      Markus

      1 Reply Last reply Reply Quote 0
      • BismarckB
        Bismarck
        last edited by

        SASL authentication failed; no mechanism available
        

        Hi, mit Telnet checken welche AUTH typen unterstützt werden:

        http://www.postfix.org/SASL_README.html#server_test

        dann angezeigten mechanism probieren

        http://www.postfix.org/postconf.5.html#smtp_sasl_mechanism_filter

        smtp_sasl_mechanism_filter = plain
        

        oder

        smtp_sasl_mechanism_filter = plain, login
        

        usw.

        Gruß

        1 Reply Last reply Reply Quote 0
        • First post
          Last post
        Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.