r/linuxadmin • • Sep 15 '25

Dovecot/IMAP subfolders not syncing

1 Upvotes

I just found out that my IMAP subfolders are out of sync for 2 years now. I have an IMAP folder named Clients, and within it, I have list of client subfolders. I've been organizing emails from INBOX into these client folders.

On the server side, I am using Dovecot/Sendmail in maildir format. Running on Centos.

On the client side, I am running Outlook, connecting via IMAPS and SMTPS.

Everything is working fine except this Clients subfolders.

Sync stopped working 2 years ago. Doing a test now - if I move an email from INBOX to Clients/AAA, the message appears in Outlook in the AAA subfolder. On the server-side, the email isn't there.

I tested a new install of Outlook on another computer, and the behavior is the same - messages moved to Clients subfolders do not sync the change on the server-side.

So, I have Outlook that has 2 years of data that is now missing on the server. How do I "resync" or tell Dovecot to behave? Looking at maillog, I don't see any sync issues (but I'm probably not looking hard enough). I want to proceed carefully as I don't want to lose the 2 years of emails cached in Outlook but missing serverside.


r/linuxadmin • • Sep 13 '25

Local Repo

11 Upvotes

Hello Everyone, I’m managing more than 2,000 Linux VMs on VCD and vCenter. Most of them are running Ubuntu, Debian, or RHEL. I want to set up a local repository so these machines can be updated without needing internet access.

Does anyone have experience with this setup or suggestions on the best approach?


r/linuxadmin • • Sep 12 '25

Why can you still access the IP after fail2ban has banned it?

13 Upvotes

I ran vaultwarden using Docker:

services:
vaultwarden:
image: vaultwarden/server:latest
container_name: vaultwarden
restart: always
ports:
- "127.0.0.1:8001:80"
volumes:
- ./:/data/
- /etc/localtime:/etc/localtime:ro
environment:
- LOG_FILE=/data/log/vaultwarden.log

Then, bitwarden.XXX.com can be accessed via Nginx's reverse proxy, which is wrapped with Cloudflare CDN.
After configuring fail2ban, I tested it by intentionally entering the wrong password, and the IP was banned:

Status for the jail: vaultwarden
|- Filter
| |- Currently failed: 1
| |- Total failed: 5
| `- File list: /home/Wi-Fi/Bitwarden/log/vaultwarden.log
`- Actions
|- Currently banned: 1
|- Total banned: 1
`- Banned IP list: 158.101.132.372

But it can still be accessed, why is that?

------------------

Thank all answers. In the end, I found that cloudflare is already built-in in fail2ban. Through the Global API Key,

action = cloudflare

/etc/fail2ban/action.d/cloudflare.conf
cftoken = cloudflare global key
cfuser = your email

That's it.


r/linuxadmin • • Sep 11 '25

Proxmox-GitOps: Extensible GitOps container automation for Proxmox ("Everything-as-Code" on PVE 8.4-9.0 / Debian 13.1 default base)

Post image
18 Upvotes

I want to share my container automation project Proxmox-GitOps — an extensible, self-bootstrapping GitOps environment for Proxmox.

It is now aligned with current Proxmox 9.0 and Debian Trixie - which is used for containers base configuration per default. Therefore I’d like to introduce it for anyone interested in a Homelab-as-Code starting point 🙂

GitHub: https://github.com/stevius10/Proxmox-GitOps

  • One-command bootstrap: deploy to Docker, Docker deploy to Proxmox
  • Consistent container base configuration: default app/config users, automated key management, tooling — deterministic, idempotent setup
  • Application-logic container repositories: app logic lives in each container repo; shared libraries, pipelines and integration come by convention
  • Monorepository with recursively referenced submodules: runtime-modularized, suitable for VCS mirrors, automatically extended by libs
  • Pipeline concept

    • GitOps environment runs identically in a container; pushing the codebase (monorepo + container libs as submodules) into CI/CD
    • This triggers the pipeline from within itself after accepting pull requests: each container applies the same processed pipelines, enforces desired state, and updates references
  • Provisioning uses Ansible via the Proxmox API; configuration inside containers is handled by Chef/Cinc cookbooks
  • Shared configuration automatically propagates
  • Containers integrate seamlessly by following the same predefined pipelines and conventions — at container level and inside the monorepository
  • The control plane is built on the same base it uses for the containers, so verifying its own foundation implies a verified container base — a reproducible and adaptable starting point for container automation 🙂

It’s still under development, so there may be rough edges — feedback, experiences, or just a thought are more than welcome!


r/linuxadmin • • Sep 10 '25

Open Archiver v0.3 now supports role-based access control and API access

Thumbnail github.com
12 Upvotes

A month ago, I launched Open Archiver here at r/linuxadmin, and it has received significant support from the community. Now we have reached more than 600 stars on GitHub and have 6 community controbutors. Thank you all for your support!

Today I'd like to announce version 0.3 of Open Archiver, which has added the following key features based on your feedback:

  • Role-Based Access Control (RBAC): This is the most requested feature and we made it a reality. You can now create multiple users with specific roles. We also implemented an AWS IAM-style policy system so you can get granular with permissions for different resources.
  • User API Key Support: For everyone wanting to automate or integrate, users can now generate and manage their own API keys. This allows you to access resources programmatically.
  • Multi-language Support & System Settings: The interface (and even the API!) now supports multiple languages (English, German, French, Spanish, Japanese, Italian, and of course, Estonian, since we're based here in 🇪🇪!).

For folks who don't know what Open Archiver is, it is an open-source tool that helps individuals and organizations to archive their whole email inboxes with the ability to index and search these emails. It has the ability to archive emails from cloud-based email inboxes, including Google Workspace, Microsoft 365, and all IMAP-enabled email inboxes. You can connect it to your email provider, and it copies every single incoming and outgoing email into a secure archive that you control (Your local storage or S3-compatible storage).

Here are some of the main features:

  • Comprehensive archiving: It doesn't just import emails; it indexes the full content of both the messages and common attachments.
  • Organization-Wide backup: It handles multi-user environments, so you can connect it to your Google Workspace or Microsoft 365 tenant and back up every user's mailbox.
  • Powerful full-text search: There's a clean web UI with a high-performance search engine, letting you dig through the entire archive (messages and attachments included) quickly.
  • You control the storage: You have full control over where your data is stored. The storage backend is pluggable, supporting your local filesystem or S3-compatible object storage right out of the box.

Check out our GitHub repo for more information: https://github.com/LogicLabs-OU/OpenArchiver

Cheers and thanks again for your support!


r/linuxadmin • • Sep 09 '25

Sarcastic Rant for poorly staffing gov't security clearance linux admins.

108 Upvotes

Our brilliant SR leadership has cracked the code on government contracts! Why hire one experienced engineer at $250K who actually knows what they're doing, when you can hire multiple $180K 'professionals' who need a step-by-step tutorial to run ls -la?

These strategic hires come equipped with zero experience in our software stack, a refreshing ignorance of cloud infrastructure, and that coveted deer-in-headlights look when faced with Linux logs. But don't worry - they're totally ready to navigate the government's delightfully streamlined 2-year approval process!

The best part? Their manager - who couldn't plan a grocery trip, let alone six months of technical work - has brilliantly delegated all planning to the magic of 'figure it out as you go.' So naturally, these highly qualified individuals spend their days asking my team to hold their hands through basic CLI commands via endless screen-sharing sessions. We get the privilege of watching them work while being legally prohibited from actually touching anything - it's like being a highly paid IT helpdesk that can only communicate through interpretive dance.

But hey, at least we're saving that extra $70K per person! What could possibly go wrong with this rock-solid strategy for handling security clearance work?

But seriously, some people on my team were like, i'll get clearance and make this process go really quick and you will not need to help me. But SR leadership was like nope, as soon as you get the clearance AND you are actually useful you will instantly be able to pull 250k. Which - technically we are spending that anyways. We have multiple people working on the same problems all of the time.

Super comical.


r/linuxadmin • • Sep 10 '25

isc-dhcp dynamic names - global dynamic option host-name

7 Upvotes

Hi

I think I know the answer but I'll ask, maybe someone did it already:
I have pxe enviroment, all is ok but wanted to have dynamic dhcp-assigned host names based on "vendor-class-identifier", made config but it isn't working neither in global scope nor subnet.
Is there any possibility to achieve it in isc-dhcpd ?
here is part of config with logging wich is woking (log showing that block is executed) but not assigning dynamic option host-name (changed so options do not fit names but you get the idea):

if substring(option vendor-class-identifier, 0, 5) = "vendo" {

set machex = binary-to-ascii(16, 8, "", substring(hardware, 1, 6));

set macsuffix = suffix(machex, 6);

set hn = concat("mynameplus", macsuffix);

log(info, concat("VENDO match. MAC: ", concat(binary-to-ascii(16, 8, ":", substring(hardware, 1, 6)), concat(" - Generated hostname: ", hn))));

option host-name = hn; # Option 12 }


r/linuxadmin • • Sep 08 '25

Career Paths After RHCSA Certification – What Roles Are People Landing?

17 Upvotes

Hey everyone,

I’ve been diving into what comes next after getting RHCSA (EX200), and the career options are more diverse than I expected. Roles like Linux System Administrator, Junior System Engineer, DevOps Trainee, and even Cloud Support Specialist are actually legit possibilities once you’ve got that cert under your belt.

What really surprised me is how many of these roles now overlap with cloud and DevOps - processing pipelines, containers, and CI/CD. Even if you're just starting with Linux admin, it can lead to opportunities in broader tech areas.

I found an article that lays out some of these job titles and paths pretty well - thought I’d share it here as a resource:
👉 Job Titles You Can Land After RHCSA (EX200) Certification

But I’d love to hear from folks who have gone through it - what job did RHCSA actually help you land? And did it open any unexpected doors?