Search found 215 matches

by chris
Mon Aug 11, 2025 9:59 pm
Forum: Apache
Topic: Show connections to Server
Replies: 1
Views: 34992

Re: Show connections to Server

You can use

Code: Select all

netstat -ln | grep 80
or another way

Code: Select all

ss -ant | grep :80 | wc -l
or for https

Code: Select all

ss -ant | grep :443 | wc -l
by chris
Mon Aug 11, 2025 8:33 pm
Forum: Apache
Topic: Show connections to Server
Replies: 1
Views: 34992

Show connections to Server

Hello, is there a way to see all the current connection to the webserver?
by chris
Fri Aug 08, 2025 12:57 pm
Forum: Postfix
Topic: postfix not sending to host
Replies: 1
Views: 144300

Re: postfix not sending to host

The default have changed,
Add these lines to your config, to tell to use /etc/hosts and not DNS

Code: Select all

lmtp_host_lookup = native
smtp_host_lookup = native
by chris
Thu May 08, 2025 8:23 am
Forum: Apache
Topic: apache forward https request to http
Replies: 1
Views: 180217

Re: apache forward https request to http

Simplest way edit the site conf file in
nano /etc/apache2/sites-available/000-example.com.conf

and add or update:
<VirtualHost *:443>
ServerName www.example.com
redirect permanent / http://www.example.com/
</VirtualHost>

This will redirect and https://www.example.com to http://www.example.com ...
by chris
Mon Apr 14, 2025 7:37 pm
Forum: Servers
Topic: how to setup SPF and DMARC in bind
Replies: 2
Views: 118989

Re: how to setup SPF and DMARC in bind

Options DMARC record

;; [v=DMARC1] ⇒ DMARC version

;; [p=***] : action policy when authentication fails
;; - [none] ⇒ do nothing
;; - [quarantine] ⇒ quarantined in junk mail folder
;; - [reject] ⇒ reject email

;; [rua=mailto:***] : the address to which aggregate reports will be sent
;; * if not ...
by chris
Mon Apr 14, 2025 7:36 pm
Forum: Servers
Topic: how to setup SPF and DMARC in bind
Replies: 2
Views: 118989

Re: how to setup SPF and DMARC in bind

basic description of SPF.

the TXT record itself can have multiple lines,
;; but in SPF settings, only one TXT record can be set for one domain name

;; [v=spf1] ⇒ it means SPF version

;; [+ip4] ⇒ specify IPv4 addresses
;; [+ip6] ⇒ specify IPv6 addresses

;; [+] ⇒ verify your domain's mail server ...
by chris
Mon Apr 14, 2025 7:12 pm
Forum: Servers
Topic: how to setup SPF and DMARC in bind
Replies: 2
Views: 118989

how to setup SPF and DMARC in bind

how to setup SPF and DMARC in bind/named

Configure a DMARC (Domain-based Message Authentication, Reporting, and Conformance) record to indicate that your mail server is protected by SPF (Sender Policy Framework)
These are attempts to counter spam, so it is best to set it for you domain.

in the ...
by chris
Mon Oct 21, 2024 6:24 pm
Forum: Servers
Topic: dovocot: sl/tls alert bad certificate: SSL alert number 42
Replies: 1
Views: 206501

Re: dovocot: sl/tls alert bad certificate: SSL alert number 42

The newer version of thunderbird are more strict on certificates, specially on self-signed certificates.
If you have a private imap-server that you maintain yourself you probably use this.

You can find a tutorial on this site:
https://softwareprocess.es/homepage/posts/dovecot-thunderbird-ssl-alert ...
by chris
Sun Oct 20, 2024 8:04 pm
Forum: Servers
Topic: ssl/tls alert certificate unknown: SSL alert number 46
Replies: 2
Views: 143210

Re: ssl/tls alert certificate unknown: SSL alert number 46

Sounds like the client is not accepting the certificate.
did you change the certificate of the server recently ?

I think you need to accept the new certificate on the client software.
In K-9 it is in Settings > accounts > Fetching mail > Incoming Server > Next of Advanced
and accept the new ...
by chris
Mon Oct 14, 2024 6:13 pm
Forum: SQL
Topic: Illegal mix of collations (utf8mb4
Replies: 1
Views: 400414

Re: Illegal mix of collations (utf8mb4

The problem is comparing different encode character-sets.

You can see the character-sets with:
SHOW VARIABLES LIKE 'char%';
SHOW CREATE TABLE table_name;

FYI: utf8mb4 is NOT a character encoding, utf8mb4 is just MySQL's nickname for utf8. what MySQL calls utf8 is actually a 3-byte subset of the ...