mailrise icon indicating copy to clipboard operation
mailrise copied to clipboard

mailto doesn't work

Open cozhelp opened this issue 2 years ago • 3 comments

I need help getting Mailrise to send emails through Gmail. I can get it to work for Apprise. I'm able to get Mailrise to work for other services like ntfy. I am using the Gmail app password like Apprise specifies.

configs:

  "*@*":
    urls:
      - mailto://myuser:[email protected]

tls:
  mode: off

cozhelp avatar Dec 28 '23 16:12 cozhelp

Try the -vv flag to turn on verbose logging. Does anything interesting show up?

YoRyan avatar Dec 28 '23 16:12 YoRyan

Same problem here : I have set basic authentication without tls My config

configs:
  ntfy:
    urls:
      - ntfy://192.168.0.7:9999/fdsjlfd
  "*@dfd.dfd.com":
    urls:
      - ntfy://192.168.0.1:8888/dfdfkdf
smtp:
  auth:
    basic:
      dfdxx: zzzz
      testpwd: xxxx
tls:
  mode: off

but I have now this error

Attaching to mailrise-server mailrise-server | /home/mailrise/.local/lib/python3.12/site-packages/aiosmtpd/smtp.py:372: UserWarning: Requiring AUTH while not requiring TLS can lead to security vulnerabilities! mailrise-server | warn("Requiring AUTH while not requiring TLS " mailrise-server | [2024-01-06 14:44:53] WARNING:mail.log:auth_required == True but auth_require_tls == False mailrise-server | /home/mailrise/.local/lib/python3.12/site-packages/aiosmtpd/smtp.py:372: UserWarning: Requiring AUTH while not requiring TLS can lead to security vulnerabilities! mailrise-server | warn("Requiring AUTH while not requiring TLS " mailrise-server | [2024-01-06 14:47:33] WARNING:mail.log:auth_required == True but auth_require_tls == False mailrise-server | /home/mailrise/.local/lib/python3.12/site-packages/aiosmtpd/smtp.py:372: UserWarning: Requiring AUTH while not requiring TLS can lead to security vulnerabilities! mailrise-server | warn("Requiring AUTH while not requiring TLS " mailrise-server | [2024-01-06 14:49:36] WARNING:mail.log:auth_required == True but auth_require_tls == False mailrise-server | /home/mailrise/.local/lib/python3.12/site-packages/aiosmtpd/smtp.py:372: UserWarning: Requiring AUTH while not requiring TLS can lead to security vulnerabilities! mailrise-server | warn("Requiring AUTH while not requiring TLS " mailrise-server | [2024-01-06 14:49:44] WARNING:mail.log:auth_required == True but auth_require_tls == False mailrise-server | /home/mailrise/.local/lib/python3.12/site-packages/aiosmtpd/smtp.py:372: UserWarning: Requiring AUTH while not requiring TLS can lead to security vulnerabilities! mailrise-server | warn("Requiring AUTH while not requiring TLS " mailrise-server | [2024-01-06 14:50:25] WARNING:mail.log:auth_required == True but auth_require_tls == False mailrise-server | /home/mailrise/.local/lib/python3.12/site-packages/aiosmtpd/smtp.py:372: UserWarning: Requiring AUTH while not requiring TLS can lead to security vulnerabilities! mailrise-server | warn("Requiring AUTH while not requiring TLS " mailrise-server | [2024-01-06 14:50:26] WARNING:mail.log:auth_required == True but auth_require_tls == False

it come with the latest update. The version 1.3.0 doesn't have this issue ... I just downgraded to it 1.3.0

djonko avatar Jan 06 '24 14:01 djonko

Thanks for the report @djonko—I’ve reverted the commit that broke SMTP authentication. It was the fix for #98.

We already test configuration parsing, but I really should write some integration tests, so that we can avoid situations like this in the future.

YoRyan avatar Jan 09 '24 00:01 YoRyan