Solved

QMail SMTP server, need to copy outgoing email

Posted on 2004-04-12
5
1,179 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

On Demand Webinar - Networking for the Cloud Era

This webinar discusses:
-Common barriers companies experience when moving to the cloud
-How SD-WAN changes the way we look at networks
-Best practices customers should employ moving forward with cloud migration
-What happens behind the scenes of SteelConnect’s one-click button

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
connect to cisco 2690 series 6 70
URL question - What is port 8888? 5 103
Network monitoring - have you used Datadog? 7 56
Dell SonicWall Connection 18 57
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…
This article will inform Clients about common and important expectations from the freelancers (Experts) who are looking at your Gig.
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…
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…

732 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