What's in dovecot.conf ?
On 3/30/2024 1:00 AM, Tony White wrote:
Hi,
Seems I do not have a /etc/dovecot/toaster.conf file anywhere.
Do I just create it?
regards
Anthony White
On 30/3/24 17:42, Eric Broch wrote:
cat /var/log/dovecot.log
If you don't see anything, dovecot has authorization debug
On 3/30/2024 12:40 AM, Tony White wrote:
Hi Eric,
Yup all good and the new tld are correct now.
The only issue I now have is I am unable to login
on any domain and user.
Both Squirrelmail and RoundCube give unknown user
or password.
Restarted httpd, dovecot, qmail, php-fpm all to no avail.
ssl_request_log
[30/Mar/2024:17:34:50 +1100] 10.2.1.5 TLSv1.3 TLS_AES_256_GCM_SHA384
"POST /email/?_task=login HTTP/1.1" 5399
[30/Mar/2024:17:34:55 +1100] 10.2.1.5 TLSv1.3 TLS_AES_256_GCM_SHA384
"GET /email/skins/elastic/deps/bootstrap.min.css?s=1705745714
HTTP/1.1" 160347
[30/Mar/2024:17:34:55 +1100] 10.2.1.5 TLSv1.3 TLS_AES_256_GCM_SHA384
"GET /email/skins/elastic/styles/styles.min.css?s=1705745704
HTTP/1.1" 120302
[30/Mar/2024:17:34:55 +1100] 10.2.1.5 TLSv1.3 TLS_AES_256_GCM_SHA384
"GET
/email/plugins/jqueryui/themes/elastic/jquery-ui.min.css?s=1705745704
HTTP/1.1" 29309
[30/Mar/2024:17:35:15 +1100] 10.2.1.5 TLSv1.3 TLS_AES_256_GCM_SHA384
"-" -
ssl_access_log
10.2.1.5 - - [30/Mar/2024:17:34:50 +1100] "POST /email/?_task=login
HTTP/1.1" 401 5399
10.2.1.5 - - [30/Mar/2024:17:34:55 +1100] "GET
/email/skins/elastic/deps/bootstrap.min.css?s=1705745714 HTTP/1.1"
200 160347
10.2.1.5 - - [30/Mar/2024:17:34:55 +1100] "GET
/email/skins/elastic/styles/styles.min.css?s=1705745704 HTTP/1.1"
200 120302
10.2.1.5 - - [30/Mar/2024:17:34:55 +1100] "GET
/email/plugins/jqueryui/themes/elastic/jquery-ui.min.css?s=1705745704
HTTP/1.1" 200 29309
10.2.1.5 - - [30/Mar/2024:17:35:15 +1100] "-" 408 -
ssl_error_log
[Sat Mar 30 15:36:08.268711 2024] [ssl:warn] [pid 1073:tid
140572332087616] AH01909: axti.au:443:0 server certificate does NOT
include an ID which matches the server name
[Sat Mar 30 15:36:08.321262 2024] [ssl:warn] [pid 1073:tid
140572332087616] AH01909: axti.au:443:0 server certificate does NOT
include an ID which matches the server name
regards
Anthony White
On 30/3/24 17:16, Eric Broch wrote:
Nothing this script does ruins the original tables. So, you could
make adjustments to it and rerun after dropping the vpopmail table
of course. You could also modify it just to list the domain tables
after they've had the '_' replaced with a '.' to see if they all
look correct with the new domain_name variable set.
On 3/30/2024 12:11 AM, Tony White wrote:
Hi Eric,
This seems to fix it, your opinion please...
ycs_com_au
domain_name=`echo $1 | sed -e 's/_/./g'`
ycs.com.au
regards
Anthony White
On 30/3/24 17:06, Tony White wrote:
Hi,
Eric it seems this piece of code only convert the last . in a
tld and leaves any
others a -.
#!/bin/sh
# use tld as ycs_com_au -> ycs-com.au
echo $1
domain_name=`echo $1 | sed -e 's/\(.*\)_/\1./' -e 's/_/-/g'`
echo $domain_name;
This explains why all my tld's have - and . and no domain is
recognised.
I will try to fix it now.
If I rerun it would you suggest I manually drop the new vpopmail
table first?
regards
Anthony White
On 30/3/24 16:24, Eric Broch wrote:
wget -P /etc/dovecot
https://raw.githubusercontent.com/qmtoaster/scripts/master/dovecot.conf
wget -P /etc/dovecot
https://raw.githubusercontent.com/qmtoaster/scripts/master/dovecot-sql.conf.ext
On 3/29/2024 11:16 PM, Tony White wrote:
Hi again,
I have just completed following th ManyDomain text and found that
Neither '/etc/dovecot/dovecot-sql.conf.ext' or
'/etc/dovecot/toaster.conf'
exist.
Do I simply create them or has the install failed somehow?
TIA :)
regards
Anthony White
On 30/3/24 15:30, Remo Mattei wrote:
👍
—
Ciao Remo
On venerdì, mar 29, 2024 at 21:10, Tony White
<t...@ycs.com.au> wrote:
Hi Folks,
You are correct in both but this is the first time
I have a working server. I will be moving to ManyDomains next
after a snapshot. Id=f that works properly then upgrading to
RL 9 is next. Baby steps for me here. Tried too many times to
get it all working properly.
regards Anthony White
On 30/3/24 14:47, Eric Broch wrote:
I would reconsider and go with Many Domain option. The
domain table option uses Dovecot binaries that can never
be updated since Dovecot has eliminated the vpopmail
driver from the source. I'm not sure why we (qmt
community) ever decided against the Many Domain option.
It is so much easier to interact with.
On 3/29/2024 9:32 PM, Tony White wrote:
Hi Eric,
Okay rebuilt using RL 8.9, not a ManyDomain, and all
seemed to go well until the migration from the old
server to the new. Everything works until dovecot which
fails without error. There is no process for dovecot
and I cannot see anything in the log file to explain the
failure.
regards Anthony White
On 30/3/24 11:56, Eric Broch wrote:
If you're installing on EL9 you have no choice, all the
packages are Many-Domain. You'll have to dump the
vpopmail db on the old server, copy it to the new
server, import the db into vpopmail mysql db and run
the script to convert the db to many domain found here
<http://www.qmailtoaster.org/manydom.html>. It will
leave the old vpopmail domain_tld table entries in
place creating a new vpopmail table in its stead.
On 3/29/2024 6:45 PM, Tony White wrote:
Hi Eric,
In your opinion should I not do a many domain
install first then migrate to many domains? I
seem to have problems doing many domains then
moving my client domains over.
TIA :)
regards Anthony White
On 30/3/24 02:25, Eric Broch wrote:
It should, although 9 is strictly 'Many-Domain' so
vpopmail database will need to be converted. Many
domain's conversion - QMT (qmailtoaster.org)
<https://qmailtoaster.org/manydom.html>
Rocky 8 & 9 both use PHP8.1
Stock Squirrelmail might have issues
PHP upgrade 7.x to 8.1 - QmailToaster
<http://wiki.qmailtoaster.org/index.php?title=PHP_upgrade_7.x_to_8.1>
On 3/29/2024 9:09 AM, Tony White wrote:
Eric,
Does the migrate.html direction hold for Rocky 9?
regards Anthony White
On 30/3/24 02:02, Eric Broch wrote:
Yes, email address and password. If both are
problematic I would assume the problem is not
specific to either one but would point to Apache or
the server itself. Would you agree?
On 3/29/2024 8:54 AM, Tony White wrote:
Hi Eric,
Yes thank you, I have tried that and more.
Roundcube login takes forever to quit with loading
then fails.
Squirrelmail just times out. In both cases
I presume the login for both is still email
address nnd password?
regards
Anthony White
On 30/3/24 01:26, Eric Broch wrote:
Perhaps this might help:
php - apache proxy_fcgi - The timeout specified
has expired - Error dispatching request - Stack
Overflow
<https://stackoverflow.com/questions/46594731/apache-proxy-fcgi-the-timeout-specified-has-expired-error-dispatching-reques>
On 3/29/2024 8:06 AM, Tony White wrote:
The timeout specified has expired: [client
10.2.1.5:53966] AH01075: Error dispatching
request to