Ok sorry das mit Litpix war mein Fehler und hier nochmal alles:
root@email:~# swaks --from Top.Gun18@Freenet.de --to christian.saeum@Lichte-Kraft.eu --server $(hostname -f) --port 25
=== Trying email.lichte-kraft.eu:25...
=== Connected to email.lichte-kraft.eu.
<- 220 email.lichte-kraft.eu ESMTP Postfix
-> EHLO email.lichte-kraft.eu
<- 250-email.lichte-kraft.eu
<- 250-PIPELINING
<- 250-SIZE 10240000
<- 250-VRFY
<- 250-ETRN
<- 250-STARTTLS
<- 250-ENHANCEDSTATUSCODES
<- 250-8BITMIME
<- 250 DSN
-> MAIL FROM:<Top.Gun18@Freenet.de>
<- 250 2.1.0 Ok
-> RCPT TO:<christian.saeum@Lichte-Kraft.eu>
<- 250 2.1.5 Ok
-> DATA
<** 554 5.7.1 <DATA>: Data command rejected: Sender access denied
-> QUIT
<- 221 2.0.0 Bye
=== Connection closed with remote host.
root@email:~#
Logausgabe:
Jan 12 09:45:04 email postfix/smtpd[13774]: connect from email.lichte-kraft.eu[37.120.163.78]
Jan 12 09:45:04 email postfix/smtpd[13774]: 70BE2A0139D: client=email.lichte-kraft.eu[37.120.163.78]
Jan 12 09:45:04 email postfix/smtpd[13774]: 70BE2A0139D: reject: DATA from email.lichte-kraft.eu[37.120.163.78]: 554 5.7.1 <DATA>: Data command rejected: Sender access denied; from=<Top.Gun18@Freenet.de> to=<christian.saeum@Lichte-Kraft.eu> proto=ESMTP helo=<email.lichte-kraft.eu>
Jan 12 09:45:04 email postfix/smtpd[13774]: disconnect from email.lichte-kraft.eu[37.120.163.78]
root@email:~# swaks -tls --from christian.saeum@lichte-kraft.eu --to top.gun18@freenet.de --server $(hostname -f) --port 587 --auth-user christian.saeum@lichte-kraft.eu --auth-password xxxxx
=== Trying email.lichte-kraft.eu:587...
=== Connected to email.lichte-kraft.eu.
<- 220 email.lichte-kraft.eu ESMTP Postfix
-> EHLO email.lichte-kraft.eu
<- 250-email.lichte-kraft.eu
<- 250-PIPELINING
<- 250-SIZE 10240000
<- 250-VRFY
<- 250-ETRN
<- 250-STARTTLS
<- 250-ENHANCEDSTATUSCODES
<- 250-8BITMIME
<- 250 DSN
-> STARTTLS
<- 220 2.0.0 Ready to start TLS
=== TLS started w/ cipher ECDHE-RSA-AES256-GCM-SHA384
=== TLS peer subject DN="/C=DE/ST=DE/L=DE/O=Hypnosepraxis Lichte Kraft/OU=Univention Corporate Server/CN=email.lichte-kraft.eu/emailAddress=ssl@lichte-kraft.eu"
~> EHLO email.lichte-kraft.eu
<~ 250-email.lichte-kraft.eu
<~ 250-PIPELINING
<~ 250-SIZE 10240000
<~ 250-VRFY
<~ 250-ETRN
<~ 250-AUTH PLAIN LOGIN
<~ 250-AUTH=PLAIN LOGIN
<~ 250-ENHANCEDSTATUSCODES
<~ 250-8BITMIME
<~ 250 DSN
~> AUTH LOGIN
<~ 334 VXNlcm5hbWU6
~> Y2hyaXN0aWFuLnNhZXVtQGxpY2h0ZS1rcmFmdC5ldQ==
<~ 334 UGFzc3dvcmQ6
~> Q0IxMTQwMGch
<~ 235 2.7.0 Authentication successful
~> MAIL FROM:<christian.saeum@lichte-kraft.eu>
<~ 250 2.1.0 Ok
~> RCPT TO:<top.gun18@freenet.de>
<~ 250 2.1.5 Ok
~> DATA
<~ 354 End data with <CR><LF>.<CR><LF>
~> Date: Tue, 12 Jan 2016 09:47:34 +0100
~> To: top.gun18@freenet.de
~> From: christian.saeum@lichte-kraft.eu
~> Subject: test Tue, 12 Jan 2016 09:47:34 +0100
~> X-Mailer: swaks v20120320.0 jetmore.org/john/code/swaks/
~>
~> This is a test mailing
~>
~> .
<~ 250 2.0.0 Ok: queued as 49107A0139D
~> QUIT
<~ 221 2.0.0 Bye
=== Connection closed with remote host.
root@email:~#
Logausgabe:
Jan 12 09:47:35 email postfix/submission/smtpd[13933]: connect from email.lichte-kraft.eu[37.120.163.78]
Jan 12 09:47:35 email postfix/submission/smtpd[13933]: 49107A0139D: client=email.lichte-kraft.eu[37.120.163.78], sasl_method=LOGIN, sasl_username=christian.saeum@lichte-kraft.eu
Jan 12 09:47:35 email postfix/cleanup[13937]: 49107A0139D: message-id=<>
Jan 12 09:47:35 email postfix/qmgr[4561]: 49107A0139D: from=<christian.saeum@lichte-kraft.eu>, size=179, nrcpt=1 (queue active)
Jan 12 09:47:35 email postfix/submission/smtpd[13933]: disconnect from email.lichte-kraft.eu[37.120.163.78]
Jan 12 09:47:35 email postfix/smtp[13938]: 49107A0139D: to=<top.gun18@freenet.de>, relay=emig.freenet.de[195.4.92.218]:25, delay=0.6, delays=0.25/0.04/0.16/0.15, dsn=2.0.0, status=sent (250 OK id=1aIuc4-0002rI-Qq)
Jan 12 09:47:35 email postfix/qmgr[4561]: 49107A0139D: removed
Postconf -n
root@email:~# postconf -n
alias_database = hash:/etc/aliases
alias_maps = hash:/etc/aliases
append_dot_mydomain = no
broken_sasl_auth_clients = yes
canonical_maps = hash:/etc/postfix/canonical
command_directory = /usr/sbin
config_directory = /etc/postfix
daemon_directory = /usr/lib/postfix
disable_vrfy_command = no
inet_interfaces = all
inet_protocols = ipv4
local_header_rewrite_clients =
local_recipient_maps = $alias_maps, $virtual_alias_maps
masquerade_domains = $mydomain
masquerade_exceptions = root
message_size_limit = 10240000
mydestination = $myhostname, localhost.$mydomain, localhost
myhostname = email.lichte-kraft.eu
mynetworks = 127.0.0.0/8
myorigin = email.lichte-kraft.eu
recipient_delimiter = +
relocated_maps = hash:/etc/postfix/relocated
smtp_helo_name = email.lichte-kraft.eu
smtp_tls_security_level = may
smtpd_data_restrictions = check_policy_service unix:private/sender_policy_incoming
smtpd_recipient_restrictions = permit_mynetworks, reject_unauth_pipelining, reject_unknown_recipient_domain, reject_non_fqdn_recipient, reject_invalid_helo_hostname, reject_unauth_destination, reject_unlisted_recipient, permit
smtpd_sasl_auth_enable = yes
smtpd_sasl_local_domain =
smtpd_sasl_security_options = noanonymous
smtpd_sender_restrictions = permit_mynetworks, check_policy_service unix:private/sender_policy_incoming
smtpd_starttls_timeout = 300s
smtpd_timeout = 300s
smtpd_tls_auth_only = yes
smtpd_tls_cert_file = /etc/univention/ssl/email.lichte-kraft.eu/cert.pem
smtpd_tls_key_file = /etc/univention/ssl/email.lichte-kraft.eu/private.key
smtpd_tls_received_header = no
smtpd_tls_session_cache_timeout = 3600s
smtpd_use_tls = yes
submission_data_restrictions = check_policy_service unix:private/submission_policy
submission_recipient_restrictions = check_policy_service unix:private/submission_policy, permit_sasl_authenticated, reject
submission_sender_restrictions = reject_non_fqdn_sender, check_policy_service unix:private/submission_policy, permit_sasl_authenticated, reject
tls_random_source = dev:/dev/urandom
transport_maps = hash:/etc/postfix/transport, ldap:/etc/postfix/ldap.transportlocal, ldap:/etc/postfix/ldap.transportremote
virtual_alias_domains =
virtual_alias_maps = hash:/etc/postfix/virtual, ldap:/etc/postfix/ldap.groups, ldap:/etc/postfix/ldap.distlist, ldap:/etc/postfix/ldap.sharedfolderremote, ldap:/etc/postfix/ldap.sharedfolderlocal, ldap:/etc/postfix/ldap.virtual
virtual_mailbox_domains = ldap:/etc/postfix/ldap.virtualdomains
virtual_mailbox_maps = hash:/etc/postfix/virtual, ldap:/etc/postfix/ldap.groups, ldap:/etc/postfix/ldap.distlist, ldap:/etc/postfix/ldap.sharedfolderremote, ldap:/etc/postfix/ldap.sharedfolderlocal, ldap:/etc/postfix/ldap.virtual
virtual_transport = lmtp:127.0.0.1:2003
root@email:~#