LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Networking (https://www.linuxquestions.org/questions/linux-networking-3/)
-   -   Mail Redirection from external id to internal id ! please help (https://www.linuxquestions.org/questions/linux-networking-3/mail-redirection-from-external-id-to-internal-id-please-help-342758/)

thiyagu4u 07-13-2005 07:00 AM

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

Matir 07-14-2005 04:06 PM

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.

thiyagu4u 07-14-2005 09:32 PM

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

Matir 07-14-2005 10:18 PM

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.

thiyagu4u 07-14-2005 10:38 PM

Reply
 
SIr

How can i do this ??

because i am new to this...

thank you

regards

thiyagu


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