On Wed, 2016-03-30 09:58:59 +0200, Ivan De Masi wrote:
[..]
I examined the log and what makes me wonder is, that the when fetching the e-mails, the configured ports (110/143/25) seem to be ignored:
"Service [df-pop3s] accepted connection from 127.0.0.1:1878" or "Service [df-pop3s] accepted (FD=472) from 127.0.0.1:1882"
Ivan,
This is as expected.
Your mail client opens a socket which gets (presumably implicitly) bound to an arbitrary TCP port (1878 and 1882 in the examples above). It then connects to port 110, the one stunnel bound the listening socket to.
Each IP connection has two ends and thus two pairs of IP address and port number. In your case, both, client and server use 127.0.0.1 as IP address, which may be the source of the confusion.
HTH,
Ludolf