Solved

QMail SMTP server, need to copy outgoing email

Posted on 2004-04-12
5
1,180 Views
Last Modified: 2013-12-24
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
0
Comment
Question by:JClawson
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 3
  • 2
5 Comments
 
LVL 2

Accepted Solution

by:
sudev_shetty earned 500 total points
ID: 10812862
hey its easy
thint if u want to send mail form foo@yourdomain.com to somename@remotedomain.com , all u have to do is goto /home/vpopmail/domains/yourdomain.com
and create a .qmail-foo file and make an entry of
"&somename@remotedomain.com "
thats it :)

or if u want me to do it i'll be glad
0
 
LVL 2

Author Comment

by:JClawson
ID: 10818285
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

0
 
LVL 2

Author Comment

by:JClawson
ID: 10818332
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?
0
 
LVL 2

Expert Comment

by:sudev_shetty
ID: 10820650
just go to the mydomain.com directory and creat a file called .qmail-incoming ...
and then put the entry "&someone@yourchoice.com"
:)
0
 
LVL 2

Author Comment

by:JClawson
ID: 10823608
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.
0

Featured Post

Create the perfect environment for any meeting

You might have a modern environment with all sorts of high-tech equipment, but what makes it worthwhile is how you seamlessly bring together the presentation with audio, video and lighting. The ATEN Control System provides integrated control and system automation.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

When you try to share a printer , you may receive one of the following error messages. Error message when you use the Add Printer Wizard to share a printer: Windows could not share your printer. Operation could not be completed (Error 0x000006…
For many of us, the  holiday season kindles the natural urge to give back to our friends, family members and communities. While it's easy for friends to notice the impact of such deeds, understanding the contributions of businesses and enterprises i…
After creating this article (http://www.experts-exchange.com/articles/23699/Setup-Mikrotik-routers-with-OSPF.html), I decided to make a video (no audio) to show you how to configure the routers and run some trace routes and pings between the 7 sites…
Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.

696 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question