LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices

Closed Thread
 
Search this Thread
Old 09-13-2005, 08:43 AM   #1
kiranprashant
LQ Newbie
 
Registered: Feb 2005
Location: pune, India
Distribution: Redhad Linux
Posts: 8

Rep: Reputation: 0
How To Divert Email While Receiving And Sending?


Hi,
suppose I am using mozilla thunderbird as a Mail User Agent(MUA) or for example take any one, which sends/recieves(smtp/pop3) emails from a particular mail server.

Now i want to write an application, which will receive emails before reaching to MUA, i want to edit that mail and then want to send it to the MUA. simillarly while sending emails from MUA it should come to my application and then my application should send it to the server.
How can i do that?
I found one way. as follows:
step 1: first my application will connect to the two ports on which email works(port 110 and 25).
step 2: i will change the MUA server settings as a localhost, so whenever MUA send anything my application will get the data and it will send it to the server(as i know the ip of server)
step 3: when server sends any thing, my application will receive it and then send to the MUA.

I havn't tried it yet. Is it a efficient way? or is there any other way possible?
The drawback i can see in this is:
The coding is application base and i want is more system base.

waiting for help.

regards,

prashant
 
Old 09-13-2005, 09:24 AM   #2
jtshaw
Senior Member
 
Registered: Nov 2000
Location: Seattle, WA USA
Distribution: Ubuntu @ Home, RHEL @ Work
Posts: 3,892
Blog Entries: 1

Rep: Reputation: 66
Please do not post the same thread in more than one forum. Picking the most relevant forum and posting it once there makes it easier for other members to help you and keeps the discussion all in one place.

http://www.linuxquestions.org/rules.php
 
Old 09-13-2005, 01:51 PM   #3
Tinkster
Moderator
 
Registered: Apr 2002
Location: in a fallen world
Distribution: slackware by choice, others too :} ... android.
Posts: 22,973
Blog Entries: 11

Rep: Reputation: 877Reputation: 877Reputation: 877Reputation: 877Reputation: 877Reputation: 877Reputation: 877
closed per the above.
 
  


Closed Thread


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
How To Divert Email While Receiving And Sending? kiranprashant Programming 2 09-14-2005 05:21 AM
having 2 Qmail probs - sending and receiving jaymer Linux - Software 1 06-23-2005 11:11 PM
Sending, receiving through the USB interface The_Nerd Programming 5 02-13-2005 02:49 AM
local email sending/receiving problem htm Linux - Software 2 04-09-2004 11:06 PM
Problem receiving email from email server sharon Linux - Newbie 3 07-11-2003 03:57 AM


All times are GMT -5. The time now is 05:08 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration