Help - Search - Members - Calendar
Full Version: copying all mail to admin user
The Planet Forums > Control Panels > Ensim > Ensim HOWTOs
VictorDS
hi, does anyone know if I can set up my server to copy all incoming mail to a particular user while allowing the mail to subsequently still get delivered to the address it was sent to as normal.
This would be similar to the catch all setting, except that as far as I can see it the catch all will only deliver mail to the designated mailbox for mails that cannot be otherwise delivered.
e.g. a mail sent to nosuchuser@domain.com will go to my catch all address
but a mail sent to validuser@domain.com will not

I am using Ensim Pro 10.1.0-rhel.4ES.7 and older versions

victor
skeeter1jd
Google procmail recipes for more info: but the basic idea is as below.

. Setup procmail
Procmail is what is used to pipe incoming email through spamassassin. Procmail can be controlled on a server, domain, or user level. For server and domain level control, the configuration file is named procmailrc and is located in the appropriate /etc directory (/etc for server level control, /home/virtual/sitexxx/fst/etc for domain level control). For user level control, the file is named .procmailrc and is located in the user's home directory (/home/virtual/sitexxx/fst/home/[user]).

Sort out all mail coming from the scuba-dive mailing list into the mailfolder scubafile (uses the locallockfile scubafile.lock).

:0:
* ^TOscuba
scubafile

Forward all mail from peter about compilers to william (and keep a copy of it here in petcompil).

:0
• ^From.*peter
• ^Subject:.*compilers
{
:0 c
! william@somewhere.edu

:0
petcompil
}

Good luck.
VictorDS
Thanks Skeeter,

As soon as I digest that I'll give it a go.
I am assuming from this that it is not supported by Ensim's interface to allow the end user to set this themselves then.

Victor
skeeter1jd
Nope. Thats a hand coding process. No control panel access at all.
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2009 Invision Power Services, Inc.