You are viewing a plain text version of this content. The canonical link for it is here.
Posted to server-user@james.apache.org by Steven Ye <st...@gigaideas.com.cn> on 2001/06/14 15:41:05 UTC
Fw: About the auto forward.
----- Original Message -----
From: Steven Ye
To: james-user-help@jakarta.apache.org
Sent: Thursday, June 14, 2001 9:39 PM
Subject: About the auto forward.
Hello:
First I need to say that it porject is extreamely great.
I've meet some problem, when using James.
How to deal with this:
If one mail is sent to our mail server with the correct domain name,
but the username is not in the list, maybe cause by some error spelling.
How to forward these mail to and existing email accout.
For example:
If someone send mail to:
steven@gigaideas.com.cn but he just typed steenn@gigaideas.com.cn
but the user steenn doesn't exits. How to forward the mail to an
exiting user, for example: email@gigaideas.com.cn.
This is really important for us. Cause we just want to setup a James
mail server to represent sendmail. But we need to solve these problem first.
Thank you.
Steven Ye
RE: About the auto forward.
Posted by Ozzy Espaillat <oz...@unwiredsolutions.com>.
There are many ways to do this. One way is to change your transport
processor on your conf file.
After the local delivery mailet add another Recipient is local and have it
forward to your email.
What will happen is that the LocalDelivery will find a match and consume the
email, else it will
go through to the next mailet. In this case your local email address...
I.e.
<processor name="transport">
<!-- Is the recipient is for a local account, deliver it locally -->
<mailet match="RecipientIsLocal" class="LocalDelivery">
</mailet>
<!-- If the host is handled by this server and it did not get locally
delivered, this is an invalid recipient -->
<mailet match="HostIsLocal" class="Forward">
<forwardto>email@gigaideas.com.cn</forwardto>
</mailet>
...
This will send any messages sent to an invalid local address to the address
specified.
HTH,
Ozzy
http://www.unwiredsolutions.com
-----Original Message-----
From: Steven Ye [mailto:steven@gigaideas.com.cn]
Sent: Thursday, June 14, 2001 6:41 AM
To: james-user@jakarta.apache.org
Subject: Fw: About the auto forward.
----- Original Message -----
From: Steven Ye
To: james-user-help@jakarta.apache.org
Sent: Thursday, June 14, 2001 9:39 PM
Subject: About the auto forward.
Hello:
First I need to say that it porject is extreamely great.
I've meet some problem, when using James.
How to deal with this:
If one mail is sent to our mail server with the correct domain name,
but the username is not in the list, maybe cause by some error spelling.
How to forward these mail to and existing email accout.
For example:
If someone send mail to:
steven@gigaideas.com.cn but he just typed steenn@gigaideas.com.cn
but the user steenn doesn't exits. How to forward the mail to an
exiting user, for example: email@gigaideas.com.cn.
This is really important for us. Cause we just want to setup a James
mail server to represent sendmail. But we need to solve these problem
first.
Thank you.
Steven Ye