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

Running SMTP notifications AND authenticating? #627

Open
petarlaf opened this issue Aug 10, 2024 · 1 comment
Open

Running SMTP notifications AND authenticating? #627

petarlaf opened this issue Aug 10, 2024 · 1 comment

Comments

@petarlaf
Copy link

I'm trying to run this in a docker environment - with enabled SMTP notifications that will remind me when auth has expired.

However, if I create the container with --smtp-username and --smtp-password, and run it, it automatically goes to:

2024-08-10 21:06:26 DEBUG Authenticating...
2024-08-10 21:06:28 INFO Sending 'two-step expired' notification via email...

And shuts down. Without asking me for Apple Auth.

If I create the container without smtp, it asks me for authentication, and works fine. But then if I try to change the command to add SMTP, I have to recreate the container basically => same issue where it starts sending me emails (as auth has been lost in recreation).

How can I do both?

@petarlaf petarlaf changed the title Running SMPT notificatiosn AND authenticating? Running SMPT notifications AND authenticating? Aug 10, 2024
@petarlaf petarlaf changed the title Running SMPT notifications AND authenticating? Running SMTP notifications AND authenticating? Aug 10, 2024
@AndreyNikiforov
Copy link

smtp notification terminates the program. That is the behavior that made sense when program is ran manually (you got email and run it again). Logic needs to be updated to support continuously running icloudpd. See icloud-photos-downloader/icloud_photos_downloader#898

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