Author Topic: PMMail questions.  (Read 6947 times)

TeLLie

  • Full Member
  • ***
  • Posts: 226
  • Karma: +11/-0
    • View Profile
Re: PMMail questions.
« Reply #15 on: January 21, 2021, 12:13:28 am »
Hi Doug,
It's working now, i send a mail from a other account to gmail account, and now its coming in Pmmail
Thankz all for the help...

If i wanne add a other imap account do i use the real server port 587 and 995 but in the local port i fill in like 2587 and 2995 ?


Dave Yeo

  • Hero Member
  • *****
  • Posts: 4787
  • Karma: +99/-1
    • View Profile
Re: PMMail questions.
« Reply #16 on: January 21, 2021, 12:46:04 am »
Also, when posting logs, email addresses and such, make sure to sanitize them so no private information is posted. I didn't look but Doug's comment said something wasn't sanitized.

Doug Bissett

  • Hero Member
  • *****
  • Posts: 1593
  • Karma: +4/-2
    • View Profile
Re: PMMail questions.
« Reply #17 on: January 21, 2021, 03:24:42 am »
Quote
It's working now

Good...

Quote
If i wanne add a other imap account do i use the real server port 587 and 995 but in the local port i fill in like 2587 and 2995 ?

Well, PMMail doesn't know about IMAP, so you would need to use a different program. The different program may, or may not, need STunnel to work. The IMAP port is not either of those (although you would probably still use 587 for sending mail). If I remember correctly, IMAP uses port 143 to fetch mail.

I wouldn't use 2xxx because those ports are probably already assigned. I use 5xxx, or 6xxx, which seems to be okay. If you look in C:\MPTN\ETC\services you will see an incomplete list of assigned (not necessarily used) ports. If there is a conflict, pick another port. They don't need to be anything like the suggested ports, but keeping them similar is easier to understand.

TeLLie

  • Full Member
  • ***
  • Posts: 226
  • Karma: +11/-0
    • View Profile
Re: PMMail questions.
« Reply #18 on: January 21, 2021, 06:30:16 pm »
Hi Doug,

I set it up like i thought it would work

I see in stunnel.conf

[Soverin_in]
  accept  = localhost:7993
  connect = imap.soverin.net:993
  delay   = yes
;#  protocol = imap

[Soverin_out]
  accept  = localhost:7587
  connect = smtp.soverin.net:587
  delay   = yes
  protocol = smtp


But i see in logfile:
2021-01-21T18:10:31.822 (005)-E-pop_sendrecv_test_result: Error from server - [-ERR Message number out of range.] - [This is the error that resulted from the LIST command]

Maybe you got a idea 8)


Doug Bissett

  • Hero Member
  • *****
  • Posts: 1593
  • Karma: +4/-2
    • View Profile
Re: PMMail questions.
« Reply #19 on: January 21, 2021, 07:52:29 pm »
Quote
I set it up like i thought it would work

That won't work. Port 993 is the secure channel port for IMAP. The unsecured port is 143. PMMail only knows about POP servers unsecured port 110 (IMAP and POP are completely different protocols). PMMail uses STunnel to translate unsecure connections (port 110) to secure connections (port 995).

The SMTP part should be okay for IMAP, since they still use port 587 for sending messages, but I would expect that any client that knows IMAP, probably doesn't need STunnel.