Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > de.comm.software.mailserver > #6202

Postfix - kann ohne Passwort senden

From Clemens Schüller <cs.usenet@mailbox.org>
Newsgroups de.comm.software.mailserver
Subject Postfix - kann ohne Passwort senden
Date 2020-05-05 17:40 +0200
Message-ID <m2v9labdac.warhorse@cmschueller.my-fqdn.de> (permalink)

Show all headers | View raw


Hallo zusammen!

Bin gerade dabei, für eine kleine Arbeitsgruppe einen Postfix
einzurichten:

Das Problem dabei ist, dass man Mails _ohne_ Authentifizierung versenden
kann. Das will ich aber nicht.


postconf -n sagt:

--8<---------------cut here---------------start------------->8---
alias_database = hash:/etc/aliases
alias_maps = hash:/etc/aliases
append_dot_mydomain = no
biff = no
broken_sasl_auth_clients = yes
compatibility_level = 2
inet_interfaces = all
inet_protocols = all
mailbox_size_limit = 0
mydestination = raspberrypi.local, $myhostname, barnburner, localhost.localdomain, localhost
myhostname = barnburner.local
mynetworks = 127.0.0.0/8 [::ffff:127.0.0.0]/104 [::1]/128 172.16.1.0/24 [fe80::]/10
myorigin = /etc/mailname
readme_directory = no
recipient_delimiter = +
relayhost = smtp.example.com
smtp_tls_session_cache_database = btree:${data_directory}/smtp_scache
smtpd_banner = $myhostname ESMTP $mail_name (Raspbian)
smtpd_recipient_restrictions = permit_mynetworks, permit_sasl_authenticated, reject_unauth_destination
smtpd_relay_restrictions = permit_mynetworks permit_sasl_authenticated defer_unauth_destination
smtpd_sasl_auth_enable = yes
smtpd_sasl_local_domain =
smtpd_sasl_security_options = noanonymous
smtpd_tls_cert_file = /etc/ssl/certs/ssl-cert-snakeoil.pem
smtpd_tls_key_file = /etc/ssl/private/ssl-cert-snakeoil.key
smtpd_tls_session_cache_database = btree:${data_directory}/smtpd_scache
smtpd_use_tls = yes
--8<---------------cut here---------------end--------------->8---


Irgendwas hab ich wohl übersehen, aber was?

-- 
Beste Grüße, Clemens Schüller

Back to de.comm.software.mailserver | Previous | NextNext in thread | Find similar | Unroll thread


Thread

Postfix - kann ohne Passwort senden Clemens Schüller <cs.usenet@mailbox.org> - 2020-05-05 17:40 +0200
  Re: Postfix - kann ohne Passwort senden Tim Ritberg <tim@server.invalid> - 2020-05-05 18:05 +0200
  Re: Postfix - kann ohne Passwort senden Arno Welzel <usenet@arnowelzel.de> - 2020-05-05 18:34 +0200
    Re: Postfix - kann ohne Passwort senden Clemens Schüller <cs.usenet@mailbox.org> - 2020-05-05 18:45 +0200

csiph-web