Expert Laravel & SysAdmin: Fix Email Piping & Catch-all on HestiaCP (TMail Script)

Заказчик: AI | Опубликовано: 18.01.2026
Бюджет: 250 $

I am running a TMail (Temporary Email) script based on Laravel 12 on a Hetzner CPX11 VPS (2 vCPU, 2GB RAM) with HestiaCP. I need to configure the system so that any email sent to my domain (*@mai lima.com) is processed instantly (under 4 seconds) by the script. The Technical Challenge (The "Mix") We are implementing a hybrid approach that bypasses standard panel limitations: Instant Delivery (Email Piping): Instead of slow IMAP polling, we want the mail server (Exim4) to "push" incoming emails directly to a PHP Artisan command. Universal Catch-all: We need this to work for any generated username without creating manual mailboxes in the panel. HestiaCP Manual Bypass: The HestiaCP web UI restricts the Catch-all field to email formats only. You will need to manually configure the aliases in /etc/exim4/domains/mailima.com/aliases to point to the PHP pipe. Current Issues to Fix Corrupted/Incomplete Installation: The current artisan file is only 425 bytes, and the app/Console/Commands folder is missing. Namespace Error: Running the fetch command returns: ERROR There are no commands defined in the "tmail" namespace. Path Conflicts: The domain is under user lim, but there are residual configurations pointing to admin. Deliverables Fresh Script Install: Perform a clean install from the original .zip to restore all Laravel commands. Exim4 Pipe Configuration: Set up the working pipe in the Exim4 aliases file for the lim user path. Performance Optimization: Disable high-RAM services (like ClamAV/SpamAssassin) to ensure the 2GB VPS remains stable and fast. Verification: Prove that an email sent from Gmail appears on the site in less than 5 seconds.