Testowałem dziś działanie Email i problem jest z pocztą o2.
Przy wysyłaniu przez sendmail wszystko działa OK
mail.info msmtp: host=poczta.o2.pl tls=on auth=on user=h***u@o2.pl from=h***u@o2.pl recipients=h***iu@go2.pl mailsize=105 smtpstatus=250 smtpmsg='250 OK queued as nhCxIX' exitcode=EX_OK
Przy użyciu "wyślij wiadomość testową" dostaje błąd:
Sat Mar 26 16:32:00 2016 daemon.err uhttpd[1726]: sendmail: envelope from address h***u@o2.pl h***u@go2.pl not accepted by the server
Sat Mar 26 16:32:00 2016 daemon.err uhttpd[1726]: sendmail: server message: 554 5.7.1 Sender address rejected: not owned by auth login
Sat Mar 26 16:32:00 2016 daemon.err uhttpd[1726]: sendmail: could not send mail (account default from /etc/msmtprc)
Sat Mar 26 16:32:00 2016 user.err msmtp: host=poczta.o2.pl tls=on auth=on user=h***u@o2.pl from=h***u@o2.pl h***u@go2.pl recipients=h***u@go2.pl smtpstatus=554 smtpmsg='554 5.7.1 Sender address rejected: not owned by auth login' errormsg='envelope from address hyniu@o2.pl h***u@o2.pl not accepted by the server' exitcode=EX_DATAERR
Problem jest w polu nadawcy, w które jest wpisany adres email nadawcy i odbiorcy.
Użyłem portu 587 a nie 465 jak wskazuje konfiguracja poczty.
Przy użyciu 465 dostaje błąd:
errormsg='the server sent an empty reply' exitcode=EX_PROTOCOL
https://tplinkforum.pl - Polskie forum poświęcone tematyce urządzeń firmy TP-Link i Neffos