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 Chris Means <cm...@intfar.com> on 2002/09/23 12:39:33 UTC

SenderHostIs matcher was RE: Only allow email from certain domain

I wrote one a few days ago...seems to work OK.

> -----Original Message-----
> From: Danny Angus [mailto:danny@apache.org]
> Sent: Monday, September 23, 2002 2:51 AM
> To: James Users List
> Subject: RE: Only allow email from certain domain
>
>
> You want a "SenderHostIs" matcher, which I think you'd have to write
> yourself, sorry :-(
> d.
>
> > -----Original Message-----
> > From: Anthony.West@mincom.com [mailto:Anthony.West@mincom.com]
> > Sent: 23 September 2002 08:07
> > To: james-user@jakarta.apache.org
> > Subject: Only allow email from certain domain
> >
> >
> > Hi,
> >
> > Apologies if the archives lists this topic somewhere, I have
> scoured them
> > to no avail so far.
> >
> > I am hoping for some advice on how to write some sort of matcher to only
> > allow mail delivery if sent from a certain domain.  For
> example, it would
> > only allow mail from <username>@mydomain.com to be delivered.  All other
> > mail, such as <username>@wrongdomain.com would be either sent to
> > null (the
> > preferred option) or sent back to the sender (and the
> postmaster) with an
> > error.
> >
> > Thanks for any help you may offer.
> > Anthony
> >
> > --
> > This transmission is for the intended addressee only and is
> > confidential information.  If you have received this transmission
> > in error, please delete it and notify the sender.  The contents
> > of this e-mail are the opinion of the writer only and are not
> > endorsed by the Mincom Group of companies unless expressly stated
> > otherwise.
> >
> >
>
>
> --
> To unsubscribe, e-mail:
<ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>