FIG. 07 · FREQUENTLY ASKED QUESTIONS

Questions, answered.

Quick fixes for the things teams run into when installing and running PostScope. Can't find yours? Email info@innoveous.com.

7.1Getting started

What do I need to run PostScope?

A RHEL 9 virtual machine for the hub (it runs on Python 3.11), and the PostScope agent on each Postfix server. Agents need only the Python that ships with RHEL 9. PostScope is tested on RHEL 9 with Postfix 3.5.25 and 3.8.

The hub talks to each agent over mutual TLS on port 8443/tcp. Each agent also serves a health page on 8081/tcp for your load balancer.

The hub installer fails while downloading packages.

The hub needs internet access to the Python package index during installation. Check from the hub with curl -I https://pypi.org. No internet on the hub? Download the packages on another machine into a wheels folder next to install.sh, and the installer uses those; the hub README has the exact command.

The install says “tar: command not found”.

Minimal RHEL 9 installs don't include tar. Install it, then unpack the package again:

sudo dnf install -y tar
The hub won't start.

Read the service log first:

sudo journalctl -u postscope-hub -n 50

The usual cause is file permissions on the web certificate's private key. The key must be readable by the PostScope service account; the install guide lists the exact commands.

An agent won't start.

Run the agent's built-in setup check. It tests the configuration, certificates and Postfix access, and says what to fix:

sudo python3 /opt/postscope-agent/postscope_agent.py --check
sudo journalctl -u postscope-agent -n 50

7.2Signing in

My browser can't reach the PostScope console.

Check that the hub's name resolves to the hub's address from your workstation (DNS or your hosts file), that port 443 is open on the hub, and that the service is running with sudo systemctl status postscope-hub.

My browser warns about the certificate and won't let me continue.

The certificate authority that signed the hub's certificate isn't trusted by your workstation. Import that CA certificate into your workstation's or browser's trusted roots, then restart the browser.

Sign-in says “Wrong username or password” the first time.

The first Administrator account is created once, when the hub starts for the first time. Changing hub.env afterwards and restarting doesn't change it. Find the account the hub made:

sudo journalctl -u postscope-hub | grep "Created Administrator"

If the line includes a password, sign in with that exact password. If it says it used MONITOR_USER / MONITOR_PASSWORD, it used the values that were in hub.env at first start.

Sign-in says my account is locked.

Too many wrong passwords lock an account for 15 minutes. Wait it out, or ask another Administrator to unlock it in Options › Users. If your team signs in with OneLogin, passwords are only for break-glass accounts.

7.3Connecting mail servers

A server stays red with a TLS or certificate error.

Make sure the hub's client certificate and the CA are saved in Options › Certificates, and that the server was added by the host name in its agent certificate, not by its IP address.

A server stays red with a timeout.

The hub can't reach the agent. On the mail server, sudo firewall-cmd --list-ports should include 8443/tcp, and the hub must resolve the server's name to the right address.

A server stays red with a token or authorization error.

The agent token was pasted incorrectly when the server was added. Show the real token on the mail server, then click Edit on that server in Options › Servers and paste it again:

sudo cat /etc/postscope-agent/token
Migrating queued mail to another server fails.

The receiving server is refusing mail from the sending one. Check that the sender's address is in the receiver's mynetworks and that its firewall allows SMTP from the sender.

7.4Health checks and alarms

Every server shows a “Clock synchronised” warning after its virtual machine was paused.

A virtual machine's clock stops while it's paused or saved. When it resumes, chrony, RHEL's time service, corrects the clock only gradually, so it reports “not synchronised” for a long time. Jump the clock to the right time on each affected machine, the hub included:

sudo chronyc makestep
chronyc tracking

If chrony has no time sources, run sudo systemctl restart chronyd first, and check the machine can reach the internet or your NTP server. The warning clears at PostScope's next health check, within 5 minutes.

In a test lab you can stop it recurring by setting makestep 1.0 -1 in /etc/chrony.conf, or by shutting VMs down instead of pausing them. Keep the default on production servers.

“Send test email” says no test senders are set up.

PostScope only sends test emails from addresses you approve. Add at least one in Options › Test senders, then try again.

Still stuck?

Tell us what you're seeing and we'll help you sort it out.

Email info@innoveous.com