Beefy Boxes and Bandwidth Generously Provided by pair Networks
No such thing as a small change
 
PerlMonks  

Re^2: Net::SMTPS => auth no longer works - Migration from Debian to Docker container

by Anonymous Monk
on Jan 07, 2020 at 14:14 UTC ( [id://11111127]=note: print w/replies, xml ) Need Help??


in reply to Re: Net::SMTPS => auth no longer works - Migration from Debian to Docker container
in thread Net::SMTPS => auth no longer works - Migration from Debian to Docker container

That might be some part of it but I doubt it. I suspect that it probably has to do with a network port that isn't exposed to the real world and/or that is being firewalled by Docker. The OP should please post the Dockerfile and docker-compose.yaml content.
  • Comment on Re^2: Net::SMTPS => auth no longer works - Migration from Debian to Docker container

Replies are listed 'Best First'.
Re^3: Net::SMTPS => auth no longer works - Migration from Debian to Docker container
by Lotus1 (Vicar) on Jan 07, 2020 at 15:39 UTC

    I can't disagree with that. But in looking at the source to the auth() methods I saw a lot of debug prints that weren't in the OP. It seemed like a quick and easy thing to try.

Re^3: Net::SMTPS => auth no longer works - Migration from Debian to Docker container
by NERDVANA (Deacon) on Jan 08, 2020 at 14:39 UTC

    In the debug output, it shows communications with the server, and SMTP only uses one socket connection, so I dont think that”s it.

    But, having it work outside docker but not inside seems to be the biggest hint. Maybe there are perl modules needed for the auth that didn’t get included in the docker image? Could also be missing SSL certificates or something. A quick way to check would be to run it under strace and see if it tries to open a file right before saying it cant authenticate. (but running strace inside docker requires the --priveleged flag)

Re^3: Net::SMTPS => auth no longer works - Migration from Debian to Docker container
by initB10r (Initiate) on Jan 08, 2020 at 04:21 UTC
    Hello, here is my docker-compose.yml:
    version: '2' services: fhem: restart: always ports: - "8083:8083" - "7072:7072" image: fhem/fhem:latest volumes: - /share/CE_CACHEDEV1_DATA/Docker/Fhem/volumes/core/:/opt/ +fhem/ networks: - fhem-network mac_address: AA:F8:5F:95:84:11 environment: FHEM_UID: 1000 FHEM_GID: 1000 TIMEOUT: 10 RESTART: 1 TELNETPORT: 7072 TZ: Europe/Berlin IMAGE_LAYER_DEV: 1 CPAN_PKGS: "Frontier::Client MIME::Lite" networks: fhem-network: driver: qnet ipam: driver: qnet options: iface: "bond0"
    I also think it has something to do with Docker, since it works in a normal Debian installation.

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://11111127]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others sharing their wisdom with the Monastery: (3)
As of 2024-04-19 22:05 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found