Link to home
Start Free TrialLog in
Avatar of JClawson
JClawson

asked on

QMail SMTP server, need to copy outgoing email

I am running QMail on RH9.  My client runs a business and has several employee email accounts.  He would like to have all their mail forwarded to an account he can check.  (To monitor employee converstions)  Its easy to implment this for incoming email... but I do not know how to do this for outgoing email.

I am running:
RedHat 9
Plesk 7
SMTP Server (Qmail)
IMAP / POP3 Server (Courier-IMAP)

If this is not as simple as editing a config file I would gladly pay somone to write some type of plugin, or filter that would interface with Qmail.

Thanks in advance
ASKER CERTIFIED SOLUTION
Avatar of sudev_shetty
sudev_shetty

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of JClawson
JClawson

ASKER

wow Thank you so much... I have been searching for this solution forever!!!!  :)  And it was simple!  And it works!

The solution you presented wasn't exactly what I had to do but it helped me figure it out :)

/var/qmail/mailnames/myDomain.com/incoming/.qmail

Add "&somename@remotedomain.com" to the end of .qmail

Oh crap... no nevermind... I wasn't even paying attention to what I was doing...

Thats not correct

I need a solution that forwards all mail being sent FROM name@mydomain.com to an address of my choice.  Not mail being sent TO name@mydomain.com

I already have the email address incoming@mydomain.com which confused me when editing config files.  I already accepted your answer unfortunatly but can you please help?
just go to the mydomain.com directory and creat a file called .qmail-incoming ...
and then put the entry "&someone@yourchoice.com"
:)
no you don't understand... That forwads INCOMING email not OUTGOING email.  If somone sends an email through SMTP i want to be able to copy that email to another email address.