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

> -----Original Message-----
> From: Danny Angus [mailto:[EMAIL PROTECTED]]
> 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: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
> > Sent: 23 September 2002 08:07
> > To: [EMAIL PROTECTED]
> > 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:
<mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Attachment: SenderHostIs.java
Description: JavaScript source

--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to