OS/2, eCS & ArcaOS - Technical > Applications

PMMail questions.

<< < (3/4) > >>

Doug Bissett:

--- Quote ---This is an OS/2 build of Stunnel 5.44 - updated 26th January 2018
--- End quote ---

That is actually wrong. Apparently the docs weren't updated when STunnel was updated to version 5.5. The STunnel directory is included, to stay within the license parameters. It isn't used. The same is true for BogoFilter. The one in the BIN directory is used.


--- Quote --- accept  = localhost: 25
--- End quote ---

I would use port 587  for PMMail. Port 25 is supposed to be used for server to server communications. 587 is supposed to be for client communications. It probably won't make any difference though. The account setting must match what Stunnel sees as the accept port.


--- Quote ---Why is pop3 disabled ??
--- End quote ---

I think that is actually a comment. Now, I wonder why "protocol = smtp"  isn't commented. Guess I need to read the instructions for STunnel, again. Apparently, that doesn't bother it, because my stunnel.conf has the same thing, and it works okay.

So, it looks like STunnel is set up properly (if not exactly how I would do it). That gets you back into PMMail itself.

I attach two pictures of my PMMail setup for GMail (which I rarely look at, it is only to keep my android phone happy). You do need the proper logon information for GMail. Make appropriate changes if you use other secure mail servers. In the pictures, the port numbers are 8110 and 8587, I use that because I have (actually had) another secure server, and PMMail needs to use different ports for each account in that case. PMMail and STunnel, need to agree on the local ports, but they can be anything that isn't used by something else. Note that the server address in PMMail is for GMail. PMMail knows to use localhost, when STunnel is loaded, and ready.

The matching STunnel.conf is:

--- Code: ---socket = l:TCP_NODELAY=0
socket = r:TCP_NODELAY=0
client = yes
output = W:/APPS/PMMail/BIN/stunnel.log
verify = 0
debug  = 7

[GMail-smtp]
  accept  = localhost:8587
  connect = smtp.gmail.com:587
  delay   = yes
  protocol = smtp

[GMail-pop]
  accept  = localhost:8110
  connect = pop.gmail.com:995
  delay   = yes
;#  protocol = pop3

--- End code ---

TeLLie:
Hi Doug,

Thankz for the explanation, but unfortunately  it still dont work...
As far i can see there are no errors in the Stunnel.log or logfile

Doug Bissett:

--- Quote from: TeLLie on January 19, 2021, 09:06:48 pm ---Hi Doug,

Thankz for the explanation, but unfortunately  it still dont work...
As far i can see there are no errors in the Stunnel.log or logfile

--- End quote ---

Post both logs. Perhaps somebody can spot something.

TeLLie:
Hi Doug,

I hope someone finds something...

Doug Bissett:

--- Quote ---I hope someone finds something...
--- End quote ---

The STunnel log indicates that it all happened as it should.

This section of logfile.log says PMMail successfully connected, found no messages, and closed the connection:

--- Code: ---2021-01-19T21:03:29.825 (005)-I-pop_fetch: acct [Elbert & Nicole]
2021-01-19T21:03:29.825 (005)-I-ConnectionAcquire<001>: POP used/avail [1/8]. CPU priority [2]
2021-01-19T21:03:29.825 (005)-I-ConnectPOP: [account name here] connecting to server:port [localhost]:[110]
2021-01-19T21:03:29.827 (005)-I-ConnectPOP: hostname [localhost] -> [127.0.0.1]
2021-01-19T21:03:29.829 (005)-I-ConnectPOP: recv timeout [120]
2021-01-19T21:03:29.829 (005)-I-ConnectPOP: Connected. fd [7]
2021-01-19T21:03:29.878 (005)-I-pop_capabilities<001>: capa [0x00d54001]
2021-01-19T21:03:29.878 (005)-I-pop_logon<001>: enter
2021-01-19T21:03:30.671 (005)-I-PopRecvGetNumMess<001>: N mgs [0], size [0]
2021-01-19T21:03:30.671 (005)-I-PopRecvLogoff<001>: QUIT [Elbert & Nicole]
2021-01-19T21:03:30.792 (005)-I-ConnectionDisconnectPOP<001>: click. fd [7]
2021-01-19T21:03:30.792 (005)-I-pop_fetch: acct [Elbert & Nicole] exit

--- End code ---
(I changed the name, for privacy).

What, exactly do you see, that makes you think it isn't working?

Don't forget, that you can send a message to yourself to test things.

It is also possible, that there is something not right in the GMail setup (but I would expect connection problems if that is wrong). Follow the POP3 instructions for Thunderbird, and it should get you there (at least it did, the last time I looked at it - something may have changed). You probably do need to tell GMail to accept "insecure" e-mail clients. again, I would expect a connection error, if that was wrong.

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version