Solved

QMail SMTP server, need to copy outgoing email

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

Live: Real-Time Solutions, Start Here

Receive instant 1:1 support from technology experts, using our real-time conversation and whiteboard interface. Your first 5 minutes are always free.

Question has a verified solution.

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

Don’t let your business fall victim to the coming apocalypse – use our Survival Guide for the Fax Apocalypse to identify the risks and signs of zombie fax activities at your business.
Most of the applications these days are on Cloud. Cloud is ubiquitous with many service providers in the market. Since it has many benefits such as cost reduction, software updates, remote access, disaster recovery and much more.
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…
Here's a very brief overview of the methods PRTG Network Monitor (https://www.paessler.com/prtg) offers for monitoring bandwidth, to help you decide which methods you´d like to investigate in more detail.  The methods are covered in more detail in o…

776 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