LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 03-16-2007, 11:45 AM   #1
stuartornum
Member
 
Registered: Feb 2006
Posts: 44

Rep: Reputation: 15
Mail Server Configurations


Hi,

I have a technical question that I cannot figure out.

Right my system spec is:

CentOS 4.4 Server (VPS OpenVZ)
cPanel and WHM
IMAP Server = uwimap
Mail Server = Exim
POP3 Server = cppop

Ok, I have a small business with 20 user, 4 of which are partners. I want all 20 users to have the own mailbox and address.

However I want all email sent and received copied to the 4 partners mailboxes.

So, for example.

Employee 1 (joe.bloggs@domain.com) gets an email into his mailbox, and then he replies to it.

Ideally, all emails to and from joe.bloggs@domain.com get copied into a folder within each of the partners mailbox, but one step at a time ehh.

What I want is the email coming in and the reply copied to all partners mailbox aswell, by default.

Is there a way to set this up via the server, instead of the email client, as this could be tampered with.

Any help, would be greatly appreciated.

Thanks
 
Old 03-16-2007, 03:39 PM   #2
stuartornum
Member
 
Registered: Feb 2006
Posts: 44

Original Poster
Rep: Reputation: 15
Hi,

Right I have a fully working filter working now.

I can make a copy of all emails being SENT OUT from "all.addresses"@domain.com

I can also make copies every email being RECEIVED to "all.addresses"@domain.com

Here is how I did it.

File to edit /etc/antivirus.exim
Code:
###  Exim filter

if error_message then finish endif
if $header_to: contains "@domain.com"
then
unseen deliver "backup@domain.com"
endif 

if $sender_address_domain is "@domain.com"
then
unseen deliver "backup@domain.com"
endif
Hope this helps people.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Some Questions and Opnions needed regarding Linux Server Configurations..Thank You :) lionelx Linux - Newbie 2 09-30-2004 10:58 AM
General Server questions...Not on configurations techrolla Linux - General 11 11-30-2003 11:56 AM
Server Configurations jeffpoulsen Linux - General 4 02-12-2003 08:23 PM
Web Server Configurations? DevlshOne Linux - Newbie 13 12-15-2002 03:18 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 02:55 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration