docker-icloudpd icon indicating copy to clipboard operation
docker-icloudpd copied to clipboard

Running SMTP notifications AND authenticating?

Open petarlaf opened this issue 6 months ago • 1 comments

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 avatar Aug 10 '24 21:08 petarlaf