• The APS Catalog has been deprecated and removed from all Plesk Obsidian versions.
    Applications already installed from the APS Catalog will continue working. However, Plesk will no longer provide support for APS applications.
  • Please be aware: with the Plesk Obsidian 18.0.78 release, the support for the ngx_pagespeed.so module will be deprecated and removed from the sw-nginx package.

How do I redirect mail for a local user to root?

S

Steve Allison

Guest
Debian 4.x [etch], Plesk 8.6

Basically I have an extra linux user called "sysmaint" that is used to run backup scripts nightly amongst other regular jobs. I have created a Maildir using /var/qmail/bin/maildirmake ~sysmaint/Maildir.

This delivers mail fine to the local directory, but what I really want is for mail to sysmaint to just be redirected to root.

So far I have tried:

* Creating a file called ".qmail" in ~sysmaint/Maildir with "&root" as its contents. And: chmod 600 .qmail; chown sysmaint:sysmaint .qmail

* cp ~alias/.qmail-root ~alias/.qmail-sysmaint, in an attempt to use the same settings for root as for sysmaint which is to forward the mail to my own mailbox

I have restarted qmail /etc/init.d/qmail restart after each change but I'm not getting the desired results.

Any ideas?
 
Back
Top