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 Eric Weidner <er...@ejbsolutions.com> on 2002/02/05 00:06:18 UTC

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: bummerdude@ejbsol.com 
  Size (in bytes): 725



--------------------------------------------------------------------------------


test

RE: Error and Spam notification don't have much info

Posted by Danny Angus <da...@thought.co.uk>.
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:eric.weidner@ejbsolutions.com]
> Sent: Monday, February 04, 2002 11:06 PM
> To: james-user@jakarta.apache.org
> 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: bummerdude@ejbsol.com
>   Size (in bytes): 725
>
>
>
> ------------------------------------------------------------------
> --------------
>
>
> test
>


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