Mail don`t work

Hi everybody,
We have problem with Email settings. Our account has smtp_auth = STARTTLS.
byt when I type the mail… is not sent. Our configuration is below.

Use SMTP for sending mail instead of mail()
smtp = On

; SMTP server settings
smtp_server = moskit.uwm.edu.pl
smtp_port = 587

; Enable SMTP authentication
; Supported mechanisms: ssl, tls
smtp_auth = STARTTLS
smtp_username = czasopisma
smtp_password = **********

You have any suggestions?
Peter

I have the same problem I am trying to solve finding on the web but I am going to be crazy

Logs from server

2018-09-17 09:49:29 [68641] 1g1oHh-000Hr7-Hk “libcom@libcom.pl” from env-from rewritten as “czasopisma@uwm.edu.pl” by submission mode

2018-09-17 09:49:29 [68641] 1g1oHh-000Hr7-Hk <= czasopisma@uwm.edu.pl H=(czasopisma.uwm.edu.pl) [213.73.22.156]:35842 I=[213.73.22.212]:587 P=esmtpsa X=TLSv1.2:ECDHE-RSA-AES256-GCM-SHA384:256 CV=no SNI=“moskit.uwm.edu.pl” A=dovecot_login:czasopisma@uwm.edu.pl S=1447 M8S=0 id=b43abe444f8b20fb4991b2f64eaf4fb5@czasopisma.uwm.edu.pl T=“555” from <libcom@libcom.pl> for libcom@libcom.pl

2018-09-17 09:49:29 [96645] cwd=/var/spool/exim 3 args: /usr/local/sbin/exim -Mc 1g1oHh-000Hr7-Hk

2018-09-17 09:49:33 [7271] 1g1oHh-000Hr7-Hk [85.17.227.88] SSL verify error: certificate name mismatch: DN="/OU=Domain Control Validated/OU=PositiveSSL Wildcard/CN=*.linuxpl.com" H=“mail.libcom.pl”

2018-09-17 09:49:33 [96645] 1g1oHh-000Hr7-Hk ** libcom@libcom.pl F=<czasopisma@uwm.edu.pl> P=<czasopisma@uwm.edu.pl> R=dnslookup T=remote_smtp H=mail.libcom.pl [85.17.227.88]:25 I=[213.73.22.212]:58428 X=TLSv1.2:ECDHE-RSA-AES256-GCM-SHA384:256 CV=no DN="/OU=Domain Control Validated/OU=PositiveSSL Wildcard/CN=*.linuxpl.com": SMTP error from remote mail server after end of data: 550 Incorrect sender header with unautheticated MTU

2018-09-17 09:49:33 [49921] cwd=/var/spool/exim 7 args: /usr/local/sbin/exim -t -oem -oi -f <> -E1g1oHh-000Hr7-Hk

2018-09-17 09:49:33 [49921] 1g1oHl-000CzB-Kv <= <> R=1g1oHh-000Hr7-Hk U=mailnull P=local S=2882 M8S=0 T=“Mail delivery failed: returning message to sender” from <> for czasopisma@uwm.edu.pl

2018-09-17 09:49:33 [96645] 1g1oHh-000Hr7-Hk Completed QT=4s

Hi @karwas

Could you please double check that your envelope_sender settings are enabled?

; Allow envelope sender to be specified
; (may not be possible with some server configurations)
allow_envelope_sender = On

; Default envelope sender to use if none is specified elsewhere
default_envelope_sender = my_address@my_host.com 

Best,
Israel