LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 07-13-2005, 07:00 AM   #1
thiyagu4u
LQ Newbie
 
Registered: Jun 2004
Posts: 13

Rep: Reputation: 0
Mail Redirection from external id to internal id ! please help


Hi all

I am in need of help for the following situvation

i am having remote mailbox for 25 users..

now i need some additional users for my org...

i am running linux AS 3.0 Server

what i am want is all mails to my existing mail id's like xxxx@xxx.com will

come..

if there is no id in my xxx.com then it will come to admin@xxx.com

now i want to redirect the id to the local user.

for example you are sending xyz@xxx.com . but this id not available in our

external server.. so it will come to admin@xxx.com. after retrive the mail

to my local server, i want to redirect this mail to xyz@localhost.com

i want script for this work.

please help me...

regards

thiyagu
 
Old 07-14-2005, 04:06 PM   #2
Matir
LQ Guru
 
Registered: Nov 2004
Location: San Jose, CA
Distribution: Debian, Arch
Posts: 8,507

Rep: Reputation: 128Reputation: 128
You need to set up a catchall on the remote site to forward to admin@xxx.com, then you'd need a parser to grab the headers from the email at admin, and compose a new message for local delivery to the user.

Is there a reason this is needed? It seems like a bit of a hack, prone to failure.
 
Old 07-14-2005, 09:32 PM   #3
thiyagu4u
LQ Newbie
 
Registered: Jun 2004
Posts: 13

Original Poster
Rep: Reputation: 0
Mail Forwarding

Dear sir

Thank you for your reply

i need to forward the mail to the local user.

now i am downloading the message from remote server to local server. then using Outlook

i am forwarding the message.. all these are i am doing manually..

i want to forward it automatically to the local user..

u tell me what can i do..

I am Using Enterprise Linux 3 AS.

thanks in advance

Regards

Thiyagu
 
Old 07-14-2005, 10:18 PM   #4
Matir
LQ Guru
 
Registered: Nov 2004
Location: San Jose, CA
Distribution: Debian, Arch
Posts: 8,507

Rep: Reputation: 128Reputation: 128
So, just parse the incoming emails and rebuild mail messages for the new local users. It all depends on the exact formats of the headers coming in to your server.
 
Old 07-14-2005, 10:38 PM   #5
thiyagu4u
LQ Newbie
 
Registered: Jun 2004
Posts: 13

Original Poster
Rep: Reputation: 0
Reply

SIr

How can i do this ??

because i am new to this...

thank you

regards

thiyagu
 
  


Reply


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
Internal/External Mail Server Aeiedil Linux - Software 27 10-13-2009 09:16 AM
setup email client for internal and external mail access shadoxity Linux - Software 15 04-21-2005 08:17 AM
Mail redirection with Kmail k4ution Slackware 1 09-20-2004 05:29 PM
Internal redirection for different hosts jme Linux - Networking 3 04-30-2004 01:28 PM
mail redirection to pc gigya Linux - Networking 0 09-18-2002 07:22 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 03:17 AM.

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration