in the mailet config for the toProcessor mailet which diverts your message
to the porcessor which notifies you you can put a
<notice>Die spammer</notice>
element which ought to appear in the notification mails sent out ..
eg..
<mailet match="RecipientIsLocal" class="LocalDelivery">
<notice>sent for local delivery</notice>
</mailet>
<mailet match="HostIsLocal" class="ToProcessor">
<notice>unknown local user</notice>
<processor>error</processor>
</mailet>
the message will only appear if the message is ever sent by a notification
(or the redirect) mailet, messages are appended to one another.
I don't think it will list the erroneous usernameas it stands, but perhaps
it ought to.
d.
> -----Original Message-----
> From: Eric Weidner [mailto:[EMAIL PROTECTED]]
> Sent: Monday, February 04, 2002 11:06 PM
> To: [EMAIL PROTECTED]
> Subject: Error and Spam notification don't have much info
>
>
> Is there anyway to increase the information level from messages
> that get sent to error and spam? I'm sending notifications to
> the Postmaster, but all I get is a generic message saying there
> was an error.
>
> No "User is unknown" or "Stop it!!!! You're a spammer. Die", etc.
>
> I'm using the just released 2.0a2 on Red Hat 7.2 on JDK 1.4.0
> (Release Candidate)
>
> Thanks,
>
> Eric Weidner
> Sr. Consultant
> EJB Solutions, Inc.
>
>
> Sample that should say User is Unknown (all error and spam are similar):
>
> We were unable to deliver the attached message because of an
> error in the mail server.
>
> Message details:
> Subject: test bummerdude
> Sent date: Mon Feb 04 14:45:13 MST 2002
> To: [EMAIL PROTECTED]
> Size (in bytes): 725
>
>
>
> ------------------------------------------------------------------
> --------------
>
>
> test
>
--
To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>