Thanks Eric, that solved the problem.

 

From: Eric Broch <[email protected]> 
Sent: 14 September 2025 00:30
To: [email protected]
Subject: Re: [qmailtoaster] EL10 Qmail Admin error

 

Hello list,

I believe I've uncovered the problems with vqadmin and qmailadmin. It has to do 
with apache. Here's the solution:

# systemctl show httpd | grep ProtectHome
ProtectHome=read-only
# sed -i 's/ProtectHome=.*/ProtectHome=no/g' 
/usr/lib/systemd/system/httpd.service
# systemctl daemon-reload
# systemctl restart httpd
# systemctl show httpd | grep ProtectHome
ProtectHome=no

Eric

On 9/6/2025 8:52 AM, Eric Broch wrote:

As for qmailadmin/vqadmin I believe there have been changes to Apache 
permissions (and/or root directory) which I have failed to figure out so far.

As for rspamd/rspamc (sending a message from another host: cat  $myemailtext | 
/var/qmail/bin/qmail-remote $el10host $sender $recipient)

# cat /var/qmail/control/simcontrol

 :clam=yes,rspam=yes,spam=yes,dspam=yes

Examining the sent message (Tell me if there is something wrong with rspamc 
operation).

#  cat 
/home/vpopmail/domains/whitehorsetc.com/postmaster/Maildir/new/'1757169856.M195938P416608V000000000000FD00I00000000008AAE5D_0.localhost.localdomain,S=2473'

.

.

.

Subject: Hello there from Obi-wan Kenobi
X-Spam-Scanner: rspamc 3.3
X-Spam-Scan-Time: 0.004
X-Spam: yes
X-Spam-Action: add header
X-Spam-Score: 7.00 / 15.00
X-Spam-Level: *******
X-Spam-Symbols: ARC_NA,
        R_DKIM_REJECT,
        MISSING_DATE,
        MIME_GOOD,
        TO_DN_NONE,
        DMARC_NA,
        RCPT_COUNT_ONE,
        MISSING_MID,
        DKIM_TRACE,
        FROM_NO_DN,
        RCVD_COUNT_ONE,
        TO_EQ_FROM,
        MIME_TRACE,
        RCVD_TLS_ALL,
        HFILTER_HOSTNAME_UNKNOWN,
        ONCE_RECEIVED
X-DSPAM-Result: Whitelisted
X-DSPAM-Processed: Sat Sep  6 08:44:14 2025
X-DSPAM-Confidence: 0.9899
X-DSPAM-Improbability: 1 in 9809 chance of being spam
X-DSPAM-Probability: 0.0000
X-DSPAM-Signature: 1,68bc48be8441416314504
X-DSPAM-Result: Whitelisted
X-DSPAM-Processed: Sat Sep  6 08:44:16 2025
X-DSPAM-Confidence: 0.9899
X-DSPAM-Improbability: 1 in 9809 chance of being spam
X-DSPAM-Probability: 0.0000
X-DSPAM-Signature: 1,68bc48bf4166131659950766

On 9/5/2025 10:23 PM, Biju Jose WHITES Systems wrote:

Hi,

 

The Problem : I don’t see rspamd in headers (X-Spam-Flag, X-Spamd-Result) of 
incoming email. 


My understanding is, in Qmail Toaster (QMT) on Rocky Linux 10, incoming emails 
are filtered for spam using this pipeline:

1.      qmail-smtpd

1.      Handles incoming SMTP connections.
2.      Applies checks configured in tcp.smtp (RBL lookups, DNS checks, HELO 
checks, etc.).

2.      qmail-queue wrapper (qmail-scanner / simscan)

1.      Incoming mail is passed through Simscan (bundled in QMT).
2.      Simscan invokes:

1.      ClamAV → virus scanning.
2.      SpamAssassin → spam scoring.

3.      If mail is marked as spam:

1.      Action is based on simcontrol settings.
2.      Options include: reject, add headers, quarantine, or pass with a tag.

3.      SpamAssassin rules

1.      Uses local rules in /etc/mail/spamassassin/ and network checks (DNSBL, 
Pyzor, Razor, DCC if enabled).
2.      Score thresholds:

1.      required_score (default 5.0 in QMT).
2.      Above threshold → X-Spam-Flag: YES header added.

4.      Delivery to vpopmail/Maildir

1.      Final delivery by qmail-local to Maildir under vpopmail.
2.      SpamAssassin-modified headers can be used by user-level filters (e.g. 
Sieve, procmail, or Roundcube filters).

5.      Control knobs

1.      /var/qmail/control/simcontrol → defines what simscan does with 
spam/viruses.
2.      /etc/mail/spamassassin/local.cf → adjusts scoring and rules.

 

Summary:
QMT filters spam at two points—SMTP-level rejections (RBL, HELO, etc.) and 
content-level analysis (Simscan + SpamAssassin). Final disposition is governed 
by simcontrol and SpamAssassin’s scoring rules.

 

Rspamd is not part of the classic QMT stack (which uses Simscan + 
SpamAssassin). If we have installed Rspamd into QMT on EL10, it comes into play 
only if we explicitly integrate it in the mail path. By default, Simscan does 
not call Rspamd.

 

There are two common integration points:

1.      SMTP-time integration (preferred)

1.      qmail-smtpd hands mail to rspamd-proxy via milter or proxy mode.
2.      Rspamd analyses the message before it hits qmail-queue.
3.      If spam threshold is exceeded, Rspamd can reject, greylist, or add 
headers at SMTP time.

2.      Queue-time integration

1.      Replace Simscan+SpamAssassin with Rspamd in the qmail-queue wrapper.
2.      Mail is accepted first, then passed to Rspamd for scanning.
3.      Rspamd annotates headers (X-Spam-Flag, X-Spamd-Result, etc.) and 
returns it for delivery.

 

I hope you get what I am trying to say here.

 

Biju Jose

From: Eric Broch  <mailto:[email protected]> <[email protected]> 
Sent: 06 September 2025 06:26
To: [email protected] 
<mailto:[email protected]> 
Subject: Re: [qmailtoaster] EL10 Qmail Admin error

 

We know what doesn't work with qmailadmin; however, if you'd show us what 
doesn't work in vqadmin and rspamd it would save time tracking it down.

P.S.

I've been using rspamc in simscan on my EL10 box with no problem.

On 9/4/2025 10:05 PM, Biju Jose WHITES Systems wrote:

Hi,

 

During testing on Rocky 10, the following issues were observed:

1.      Qmailadmin not working
2.      Vqadmin not working
3.      Difficulty in getting Rspamd working

Assistance from Eric and other experienced members would be greatly appreciated 
in resolving these.

 

Thanks in advance.
Biju Jose

 

From: Eric Broch  <mailto:[email protected]> <[email protected]> 
Sent: 25 August 2025 05:48
To:  <mailto:[email protected]> 
[email protected]
Subject: Re: [qmailtoaster] EL10 Qmail Admin error

 

This one I'm having trouble with. Everything looks as it should. I'm running 
Proxmox VM and having the same issue. Will let you know when its resolved. If 
anyone wants to jump in it would not hurt my feelings.

On 8/23/2025 4:24 AM, Biju Jose WHITES Systems wrote:

I have a fresh install of Rocky 10, running on Oracle Virtualbox

 

I did a minimal install of Rocky 10, and then the QMT Install script was run 
without any errors.  

A test domain systems.lcl was added during the end of install process.

 



 

Tried to login to qmailadmin, I get the following error.

what could be  the problem? 

Biju Jose

Reply via email to