You are viewing a plain text version of this content. The canonical link for it is here.
Posted to server-dev@james.apache.org by Keith Chew SL <ke...@ihug.co.nz> on 2002/01/11 23:40:47 UTC

catch all...

Hi

Is it possible to have a catch all for unsubscribed users in a domain?

Example

James Server is hosting for domain abc.com.
I would like any unsubscribed user , eg blah-blah@abc.com to go to
global@abc.com

This is so that if someone tries to send a query to infomation@abc.com
instead of info@abc.com, I'll still get it.

Keith


--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>


Re: catch all...

Posted by Serge Knystautas <se...@lokitech.com>.
Yeah, just do this....

<mailet match="HostIsLocal" class="Forward">
    <forwardto>mypostmasteraddress@mydomain.com</forwardto>
</mailet>

Serge Knystautas
Loki Technologies - Unstoppable Websites
http://www.lokitech.com/
----- Original Message -----
From: "Danny Angus" <da...@thought.co.uk>
To: "James Developers List" <ja...@jakarta.apache.org>
Sent: Saturday, January 12, 2002 8:23 AM
Subject: RE: catch all...


> If you're using version 2+ you can use the redirect mailet in place of the
> ToProcessor one
> (if you're not you can still use it if you get it from the v2 source, it
is
> compatible with v1 too)
>  in this config block:
>
>          <mailet match="HostIsLocal" class="ToProcessor">
>             <processor>error</processor>
>           </mailet>
>
> to configure the style of the notification to better suit your ambitions,
> see:
> http://jakarta.apache.org/james/configuration_v2_0.html (its a big one at
> the bottom of the page)
> and if you're interested in extending this mailet to provide custom
> functionality see also:
>
http://jakarta.apache.org/james/javadocs/org/apache/james/transport/mailets/
> Redirect.html
>
> d.
>
> > -----Original Message-----
> > From: Keith Chew SL [mailto:keithcsl@ihug.co.nz]
> > Sent: Saturday, January 12, 2002 1:30 PM
> > To: James Developers List
> > Subject: RE: catch all...
> >
> >
> >
> > I just tried the notification to postmaster on error. It's not
> > exactly what
> > I had in mind, but it'll do just fine.



--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>


RE: catch all...

Posted by Keith Chew SL <ke...@ihug.co.nz>.
Great! That was exactly what I was looking for!

Thanks Danny.

Keith


> -----Original Message-----
> From: Danny Angus [mailto:danny@thought.co.uk]
> Sent: Sunday, 13 January 2002 2:24 a.m.
> To: James Developers List
> Subject: RE: catch all...
>
>
> If you're using version 2+ you can use the redirect mailet in place of the
> ToProcessor one
> (if you're not you can still use it if you get it from the v2
> source, it is
> compatible with v1 too)
>  in this config block:
>
>          <mailet match="HostIsLocal" class="ToProcessor">
>             <processor>error</processor>
>           </mailet>
>
> to configure the style of the notification to better suit your ambitions,
> see:
> http://jakarta.apache.org/james/configuration_v2_0.html (its a big one at
> the bottom of the page)
> and if you're interested in extending this mailet to provide custom
> functionality see also:
> http://jakarta.apache.org/james/javadocs/org/apache/james/transpor
t/mailets/
Redirect.html

d.

> -----Original Message-----
> From: Keith Chew SL [mailto:keithcsl@ihug.co.nz]
> Sent: Saturday, January 12, 2002 1:30 PM
> To: James Developers List
> Subject: RE: catch all...
>
>
>
> I just tried the notification to postmaster on error. It's not
> exactly what
> I had in mind, but it'll do just fine.


--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>



--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>


RE: catch all...

Posted by Danny Angus <da...@thought.co.uk>.
If you're using version 2+ you can use the redirect mailet in place of the
ToProcessor one
(if you're not you can still use it if you get it from the v2 source, it is
compatible with v1 too)
 in this config block:

         <mailet match="HostIsLocal" class="ToProcessor">
            <processor>error</processor>
          </mailet>

to configure the style of the notification to better suit your ambitions,
see:
http://jakarta.apache.org/james/configuration_v2_0.html (its a big one at
the bottom of the page)
and if you're interested in extending this mailet to provide custom
functionality see also:
http://jakarta.apache.org/james/javadocs/org/apache/james/transport/mailets/
Redirect.html

d.

> -----Original Message-----
> From: Keith Chew SL [mailto:keithcsl@ihug.co.nz]
> Sent: Saturday, January 12, 2002 1:30 PM
> To: James Developers List
> Subject: RE: catch all...
>
>
>
> I just tried the notification to postmaster on error. It's not
> exactly what
> I had in mind, but it'll do just fine.


--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>


RE: catch all...

Posted by Keith Chew SL <ke...@ihug.co.nz>.
I just tried the notification to postmaster on error. It's not exactly what
I had in mind, but it'll do just fine.

Thanks!
Keith

> -----Original Message-----
> From: Danny Angus [mailto:danny@thought.co.uk]
> Sent: Sunday, 13 January 2002 12:33 a.m.
> To: James Developers List
> Subject: RE: catch all...
>
>
> Yes indeed, and this is exactly what happens in the default
> configuration ..
> undelivered email is treated as an error, and the error mailet
> process logs
> the message and can be set to notify the postmaster, or anyone else.
> d.
>
> > -----Original Message-----
> > From: Keith Chew SL [mailto:keithcsl@ihug.co.nz]
> > Sent: Friday, January 11, 2002 10:41 PM
> > To: James Developers List
> > Subject: catch all...
> >
> >
> > Hi
> >
> > Is it possible to have a catch all for unsubscribed users in a domain?
> >
> > Example
> >
> > James Server is hosting for domain abc.com.
> > I would like any unsubscribed user , eg blah-blah@abc.com to go to
> > global@abc.com
> >
> > This is so that if someone tries to send a query to infomation@abc.com
> > instead of info@abc.com, I'll still get it.
> >
> > Keith
> >
> >
> > --
> > To unsubscribe, e-mail:
> > <ma...@jakarta.apache.org>
> > For additional commands, e-mail:
> > <ma...@jakarta.apache.org>
> >
>
>
> --
> To unsubscribe, e-mail:
> <ma...@jakarta.apache.org>
> For additional commands, e-mail:
> <ma...@jakarta.apache.org>
>
>


--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>


RE: catch all...

Posted by Danny Angus <da...@thought.co.uk>.
Yes indeed, and this is exactly what happens in the default configuration ..
undelivered email is treated as an error, and the error mailet process logs
the message and can be set to notify the postmaster, or anyone else.
d.

> -----Original Message-----
> From: Keith Chew SL [mailto:keithcsl@ihug.co.nz]
> Sent: Friday, January 11, 2002 10:41 PM
> To: James Developers List
> Subject: catch all...
>
>
> Hi
>
> Is it possible to have a catch all for unsubscribed users in a domain?
>
> Example
>
> James Server is hosting for domain abc.com.
> I would like any unsubscribed user , eg blah-blah@abc.com to go to
> global@abc.com
>
> This is so that if someone tries to send a query to infomation@abc.com
> instead of info@abc.com, I'll still get it.
>
> Keith
>
>
> --
> To unsubscribe, e-mail:
> <ma...@jakarta.apache.org>
> For additional commands, e-mail:
> <ma...@jakarta.apache.org>
>


--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>