[pfx] Re: Troubleshooting roundcube connections to postfix

2024-06-18 Thread Benny Pedersen via Postfix-users
Viktor Dukhovni via Postfix-users skrev den 2024-06-18 15:27: On Tue, Jun 18, 2024 at 03:20:46PM +0200, Benny Pedersen via Postfix-users wrote: xpoint@tux ~ $ posttls-finger -w -lsecure -C "www.stovebolt.com:465" "www.stovebolt.com" posttls-finger: Connected to

[pfx] Re: Troubleshooting roundcube connections to postfix

2024-06-18 Thread Benny Pedersen via Postfix-users
Paul Schmehl via Postfix-users skrev den 2024-06-18 08:04: posttls-finger: server certificate verification failed for mail.stovebolt.com[108.174.193.29]:465: num=62:Hostname mismatch This looks like it’s working correctly now, right? hostname mismatch means still need to reissue new cert

[pfx] Re: Troubleshooting roundcube connections to postfix

2024-06-18 Thread Viktor Dukhovni via Postfix-users
On Tue, Jun 18, 2024 at 03:20:46PM +0200, Benny Pedersen via Postfix-users wrote: > xpoint@tux ~ $ posttls-finger -w -lsecure -C "www.stovebolt.com:465" > "www.stovebolt.com" > posttls-finger: Connected to www.stovebolt.com[108.174.193.28]:465 > posttls-finger: server certificate verification

[pfx] Re: Troubleshooting roundcube connections to postfix

2024-06-18 Thread Benny Pedersen via Postfix-users
Paul Schmehl via Postfix-users skrev den 2024-06-18 06:39: On Jun 17, 2024, at 10:14 PM, Cowbay via Postfix-users wrote: On 2024/6/18 10:43, Paul Schmehl via Postfix-users wrote: The problem is neither tls nor ssl worked. No matter what config I used, roundcube would always through an error.

[pfx] Re: Troubleshooting roundcube connections to postfix

2024-06-18 Thread Benny Pedersen via Postfix-users
Peter via Postfix-users skrev den 2024-06-18 04:08: On 18/06/24 13:00, Jeff Peng via Postfix-users wrote: On 2024-06-18 07:30, Peter via Postfix-users wrote: On 17/06/2024 17:28, Paul Schmehl wrote: though it's a big offtopic, may I ask that, for roundcube, how to stop users adding their

[pfx] Re: Troubleshooting roundcube connections to postfix

2024-06-18 Thread Paul Schmehl via Postfix-users
> On Jun 18, 2024, at 1:34 AM, Viktor Dukhovni via Postfix-users > wrote: > > On Tue, Jun 18, 2024 at 01:04:25AM -0500, Paul Schmehl via Postfix-users > wrote: > >> # posttls-finger -w -lsecure -C "mail.stovebolt.com:465" "www.stovebolt.com" > > Why the "www.stovebolt.com"??? What hostname

[pfx] Re: Troubleshooting roundcube connections to postfix

2024-06-18 Thread Viktor Dukhovni via Postfix-users
On Tue, Jun 18, 2024 at 01:04:25AM -0500, Paul Schmehl via Postfix-users wrote: > >> posttls-finger: warning: TLS library problem: error:1408F10B:SSL > >> routines:ssl3_get_record:wrong version number:ssl/record/ssl3_record.c:332: > > > > Your port 465 "smtps" service is misconfigured, it is

[pfx] Re: Troubleshooting roundcube connections to postfix

2024-06-18 Thread Paul Schmehl via Postfix-users
> On Jun 18, 2024, at 12:38 AM, Viktor Dukhovni via Postfix-users > wrote: > > On Mon, Jun 17, 2024 at 11:39:27PM -0500, Paul Schmehl via Postfix-users > wrote: > >> That might have uncovered a problem. >> >> # posttls-finger -w -lsecure -C "www.stovebolt.com:465" “www.stovebolt.com" >> >>

[pfx] Re: Troubleshooting roundcube connections to postfix

2024-06-17 Thread Viktor Dukhovni via Postfix-users
On Mon, Jun 17, 2024 at 11:39:27PM -0500, Paul Schmehl via Postfix-users wrote: > That might have uncovered a problem. > > # posttls-finger -w -lsecure -C "www.stovebolt.com:465" “www.stovebolt.com" > > posttls-finger: Connected to www.stovebolt.com[108.174.193.28]:465 > posttls-finger:

[pfx] Re: Troubleshooting roundcube connections to postfix

2024-06-17 Thread Paul Schmehl via Postfix-users
> On Jun 17, 2024, at 10:14 PM, Cowbay via Postfix-users > wrote: > > On 2024/6/18 10:43, Paul Schmehl via Postfix-users wrote: > The problem is neither tls nor ssl worked. No matter what config I used, > roundcube would always through an error. If I used $config['smtp_host'] = >

[pfx] Re: Troubleshooting roundcube connections to postfix

2024-06-17 Thread Jeff Peng via Postfix-users
On 2024-06-18 10:40, postfix--- via Postfix-users wrote: To be honest, you still likely want authentication. Keep in mind that you don't need to authenticate as a single user for roundcube but rather you can have roundcube pass authentication through from it's own user login and therefore

[pfx] Re: Troubleshooting roundcube connections to postfix

2024-06-17 Thread Gary R. Schmidt via Postfix-users
On 18/06/2024 12:43, Paul Schmehl via Postfix-users wrote: [SNIP] roundcube would always through an error. If I used $config['smtp_host'] = ‘tls;//www.stovebolt.com'; or I used $config['smtp_host'] = ’ssl;//www.stovebolt.com'; roundcube would error out saying it couldn’t I hope the

[pfx] Re: Troubleshooting roundcube connections to postfix

2024-06-17 Thread Cowbay via Postfix-users
On 2024/6/18 10:43, Paul Schmehl via Postfix-users wrote: On Jun 17, 2024, at 6:30 PM, Peter via Postfix-users wrote: On 17/06/2024 17:28, Paul Schmehl wrote: How do you set up roundcube to not use authentication? I really don’t need it since it’s on the same machine as the mail server.

[pfx] Re: Troubleshooting roundcube connections to postfix

2024-06-17 Thread Peter via Postfix-users
On 18/06/24 14:43, Paul Schmehl via Postfix-users wrote: If I used $config['smtp_host'] = ‘tls;//www.stovebolt.com'; or I used $config['smtp_host'] = ’ssl;//www.stovebolt.com'; roundcube would error out saying it couldn’t connect to the server. It's "tls://..." or "ssl://" with a colon (:)

[pfx] Re: Troubleshooting roundcube connections to postfix

2024-06-17 Thread Paul Schmehl via Postfix-users
> On Jun 17, 2024, at 6:30 PM, Peter via Postfix-users > wrote: > >> On 17/06/2024 17:28, Paul Schmehl wrote: >>> How do you set up roundcube to not use authentication? I really don’t need >>> it since it’s on the same machine as the mail server. What config options >>> do I need to use? > >

[pfx] Re: Troubleshooting roundcube connections to postfix

2024-06-17 Thread postfix--- via Postfix-users
To be honest, you still likely want authentication. Keep in mind that you don't need to authenticate as a single user for roundcube but rather you can have roundcube pass authentication through from it's own user login and therefore support multiple users while also allowing postfix to

[pfx] Re: Troubleshooting roundcube connections to postfix

2024-06-17 Thread Peter via Postfix-users
On 18/06/24 13:00, Jeff Peng via Postfix-users wrote: On 2024-06-18 07:30, Peter via Postfix-users wrote: On 17/06/2024 17:28, Paul Schmehl wrote: How do you set up roundcube to not use authentication? I really don’t need it since it’s on the same machine as the mail server. What config

[pfx] Re: Troubleshooting roundcube connections to postfix

2024-06-17 Thread Jeff Peng via Postfix-users
On 2024-06-18 07:30, Peter via Postfix-users wrote: On 17/06/2024 17:28, Paul Schmehl wrote: How do you set up roundcube to not use authentication? I really don’t need it since it’s on the same machine as the mail server. What config options do I need to use? To be honest, you still likely

[pfx] Re: Troubleshooting roundcube connections to postfix

2024-06-17 Thread Peter via Postfix-users
On 17/06/2024 17:28, Paul Schmehl wrote: How do you set up roundcube to not use authentication? I really don’t need it since it’s on the same machine as the mail server. What config options do I need to use? To be honest, you still likely want authentication. Keep in mind that you don't

[pfx] Re: Troubleshooting roundcube connections to postfix

2024-06-17 Thread Peter via Postfix-users
On 17/06/24 17:16, Peter via Postfix-users wrote: Without seeing logs and actual config settings I can only guess.  One thing to keep in mind is that there's two types of TLS connection, implicit TLS and explicit TLS.  Implicit TLS connects to a port dedicated to TLS connections, for

[pfx] Re: Troubleshooting roundcube connections to postfix

2024-06-17 Thread Wietse Venema via Postfix-users
Paul Schmehl via Postfix-users: > > On Jun 17, 2024, at 4:43?AM, Jaroslaw Rafa via Postfix-users > > wrote: > > > > Dnia 16.06.2024 o godz. 20:54:34 Paul Schmehl via Postfix-users pisze: > >> > >> The odd thing is, I don't see any connection attempts at all in the mail > >> logs. > > > > May

[pfx] Re: Troubleshooting roundcube connections to postfix

2024-06-17 Thread Paul Schmehl via Postfix-users
> On Jun 17, 2024, at 4:43 AM, Jaroslaw Rafa via Postfix-users > wrote: > > Dnia 16.06.2024 o godz. 20:54:34 Paul Schmehl via Postfix-users pisze: >> >> The odd thing is, I don’t see any connection attempts at all in the mail >> logs. > > May seem a strange question, but it's always first

[pfx] Re: Troubleshooting roundcube connections to postfix

2024-06-17 Thread Benny Pedersen via Postfix-users
Jeff Peng via Postfix-users skrev den 2024-06-17 14:18: $config['imap_host'] = 'ssl://localhost:993'; then RC will connect to server failed due to mis-configured certs. $config['imap_conn_options'] = array ( 'ssl' => array ( 'verify_peer' => false, 'verify_peer_name' => false, ), ); but

[pfx] Re: Troubleshooting roundcube connections to postfix

2024-06-17 Thread Bill Cole via Postfix-users
On 2024-06-16 at 21:54:34 UTC-0400 (Sun, 16 Jun 2024 20:54:34 -0500) Paul Schmehl via Postfix-users is rumored to have said: I’m seeing this error in the roundcube logs: [16-Jun-2024 20:28:58 -0500]: SMTP Error: Authentication failure: mail.stovebolt.com PIPELINING SIZE 9 VRFY ETRN

[pfx] Re: Troubleshooting roundcube connections to postfix

2024-06-17 Thread Jeff Peng via Postfix-users
I am also using roundcube + postfix + dovecot. the host configuration for roundcube should be FQDN. for example, mine is: $config['imap_host'] = 'ssl://mail.tls-mail.com:993'; $config['smtp_host'] = 'ssl://mail.tls-mail.com:465'; you can't use something like: $config['imap_host'] =

[pfx] Re: Troubleshooting roundcube connections to postfix

2024-06-17 Thread Gary R. Schmidt via Postfix-users
On 17/06/2024 17:28, Paul Schmehl wrote: [SNIP] How do you set up roundcube to not use authentication? I really don’t need it since it’s on the same machine as the mail server. What config options do I need to use? That's how it works out of the box, or was when I set up up, just take the

[pfx] Re: Troubleshooting roundcube connections to postfix

2024-06-17 Thread Jaroslaw Rafa via Postfix-users
Dnia 16.06.2024 o godz. 20:54:34 Paul Schmehl via Postfix-users pisze: > > The odd thing is, I don’t see any connection attempts at all in the mail > logs. May seem a strange question, but it's always first thing I check in case I don't see any connection attempt in logs: Is your Roundcube

[pfx] Re: Troubleshooting roundcube connections to postfix

2024-06-17 Thread Benny Pedersen via Postfix-users
Paul Schmehl via Postfix-users skrev den 2024-06-17 06:49: I’m hoping I have solved the problem. I have roundcube sending mail on port 25 with no auth (all daemons are running on the same server), and it is sending mail. Gmail rejects it, but I’ve altered my spf record to include localhost. I

[pfx] Re: Troubleshooting roundcube connections to postfix

2024-06-17 Thread Paul Schmehl via Postfix-users
> On Jun 17, 2024, at 12:16 AM, Peter via Postfix-users > wrote: > > On 17/06/24 16:49, Paul Schmehl via Postfix-users wrote: >> On Jun 16, 2024, at 10:30 PM, Peter via Postfix-users >> wrote: >>> >>> >>> It's likely that roundcube is not configured for TLS and postfix is (as it >>>

[pfx] Re: Troubleshooting roundcube connections to postfix

2024-06-17 Thread Alexander Leidinger via Postfix-users
Am 2024-06-17 06:49, schrieb Paul Schmehl via Postfix-users: On Jun 16, 2024, at 10:30 PM, Peter via Postfix-users wrote: It's likely that roundcube is not configured for TLS and postfix is (as it should be) configured not to offer AUTH until TLS is established. Yes, postfix is

[pfx] Re: Troubleshooting roundcube connections to postfix

2024-06-16 Thread Gary R. Schmidt via Postfix-users
On 17/06/2024 11:54, Paul Schmehl via Postfix-users wrote: I’m seeing this error in the roundcube logs: [16-Jun-2024 20:28:58 -0500]: SMTP Error: Authentication failure: mail.stovebolt.com [SNIP] /var/www/html/webmail/program/lib/Roundcube/rcube.php on line 1794 (POST

[pfx] Re: Troubleshooting roundcube connections to postfix

2024-06-16 Thread Peter via Postfix-users
On 17/06/24 16:49, Paul Schmehl via Postfix-users wrote: Gmail rejects it, but I’ve altered my spf record to include localhost. I hope once that propagates my problems with be solved. This will not do anythi9ng for you, you cannot put localhost in an SPF record. There are many reasons why

[pfx] Re: Troubleshooting roundcube connections to postfix

2024-06-16 Thread Peter via Postfix-users
On 17/06/24 16:49, Paul Schmehl via Postfix-users wrote: On Jun 16, 2024, at 10:30 PM, Peter via Postfix-users wrote: It's likely that roundcube is not configured for TLS and postfix is (as it should be) configured not to offer AUTH until TLS is established. Yes, postfix is configured to

[pfx] Re: Troubleshooting roundcube connections to postfix

2024-06-16 Thread Paul Schmehl via Postfix-users
On Jun 16, 2024, at 10:30 PM, Peter via Postfix-users wrote: > > > It's likely that roundcube is not configured for TLS and postfix is (as it > should be) configured not to offer AUTH until TLS is established. > Yes, postfix is configured to use TLS, and no roundcube is not. When I

[pfx] Re: Troubleshooting roundcube connections to postfix

2024-06-16 Thread Peter via Postfix-users
On 17/06/24 13:54, Paul Schmehl via Postfix-users wrote: I’m seeing this error in the roundcube logs: [16-Jun-2024 20:28:58 -0500]: SMTP Error: Authentication failure: mail.stovebolt.com PIPELINING SIZE 9 VRFY ETRN STARTTLS ENHANCEDSTATUSCODES 8BITMIME DSN SMTPUTF8 CHUNKING (Code: