Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

authenticated_relayer example closes port immediately #333

Open
obadz opened this issue Dec 18, 2022 · 1 comment
Open

authenticated_relayer example closes port immediately #333

obadz opened this issue Dec 18, 2022 · 1 comment

Comments

@obadz
Copy link

obadz commented Dec 18, 2022

I think it's because of the cont.stop() in the finally block?

try:
cont.start()
finally:
cont.stop()

(Using aiosmtpd 1.4.2)

@obadz obadz changed the title authenticated_relayer example terminates immediately authenticated_relayer example closes port immediately Dec 18, 2022
@remram44
Copy link

remram44 commented Apr 13, 2023

Same remark.

Also it does NOT REQUIRE AUTHENTICATION, which is a huge problem. People will base their code off of this and run in the most insecure way.

edit: opened #374

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants