View Issue Details

IDProjectCategoryView StatusLast Update
0005878SOGoWeb Mailpublic2023-10-09 07:50
Reporterwar Assigned Tosebastien  
PriorityhighSeverityblockReproducibilityalways
Status closedResolutionno change required 
PlatformUbuntu 22.04 arm64OSUbuntu 22.04.1 
Product Version5.5.1 
Summary0005878: Sending Mail via Webmail not possible
Description

When sending mail via Web:
Error: require state 2 now in state 1
Mail not sent

smtp-server works from external clients.

sogo.conf:

SOGoMailingMechanism = smtp;
SOGoSMTPServer = "smtp://localhost:587/?tls=YES&tlsVerifyMode=allowInsecureLocalhost";

postfix main.cf

TLS parameters

smtp_tls_security_level = may
smtp_use_tls = yes

smtpd_tls_security_level = encrypt
smtpd_use_tls = yes
smtpd_tls_auth_only = yes

smtpd_tls_loglevel = 1

smtpd_tls_received_header = yes

Configuring port 465 in SOGo does not work either.

Steps To Reproduce

Send mail repeatedly

TagsNo tags attached.

Activities

war

war

2023-09-27 13:18

reporter   ~0017307

Bold lines above were commented out!

S1ash

S1ash

2023-09-27 17:15

reporter   ~0017311

did you tried use smtps:// ?

war

war

2023-09-27 20:37

reporter   ~0017312

yes, did not work.

I found that using SOGoSMTPServer = "smtp://localhost:25/?tls=YES&tlsVerifyMode=allowInsecureLocalhost"; works.

allowInsecureLocalhost is required for reasons beyond me.

war

war

2023-09-27 20:40

reporter   ~0017313

Please CLOSE this issue (I can't)

S1ash

S1ash

2023-09-27 20:40

reporter   ~0017314

Smtp plain for port 25
Smtps secure for 465 by default

war

war

2023-09-27 20:45

reporter   ~0017316

Ah, so you hard coded plain on port 25 and starttls on 465.
Postfix works with tls on port 25 as well.

Issue History

Date Modified Username Field Change
2023-09-27 13:15 war New Issue
2023-09-27 13:18 war Note Added: 0017307
2023-09-27 17:15 S1ash Note Added: 0017311
2023-09-27 20:37 war Note Added: 0017312
2023-09-27 20:40 war Note Added: 0017313
2023-09-27 20:40 S1ash Note Added: 0017314
2023-09-27 20:45 war Note Added: 0017316
2023-10-09 07:50 sebastien Assigned To => sebastien
2023-10-09 07:50 sebastien Status new => closed
2023-10-09 07:50 sebastien Resolution open => no change required