Solved

QMail SMTP server, need to copy outgoing email

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

NetScaler Deployment Guides and Resources

Citrix NetScaler is certified to support many of the most commonly deployed enterprise applications. Deployment guides provide in-depth recommendations on configuring NetScaler to meet specific application requirements.

Join & Write a Comment

Lets look at the default installation and configuration of FreeProxy 4.10 REQUIREMENTS 1. FreeProxy 4.10 Application - Can be downloaded here (http://www.handcraftedsoftware.org/index.php?page=download) 2. Ensure that you disable the windows fi…
Article by: IanTh
Hi Guys After a whole weekend getting wake on lan over the internet working, I thought I would share the experience. Your firewall has to have a port forward for port 9 udp to your local broadcast x.x.x.255 but if that doesnt work, do it to a …
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…

763 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

Need Help in Real-Time?

Connect with top rated Experts

8 Experts available now in Live!

Get 1:1 Help Now