James doesn't support this

Why? well there are several reasons, read this
http://james.apache.org/FAQ.html#2

 By design James accepts all mail and makes decisions about their routing
asynchronously

- This reduces the impact of load spikes by allowing james to spool and
de-spool messages to spread the processing load
- Working this way doesn't allow address harvesters to work out what
addresses are the real ones for your domain
- James doesn't make any judgement about mail allowing every mail presented
to be seen by the mailets and matchers
- This allows dynamic email addresses to be used for functions like
listservers and VERP

d.


__________________



Hi there,

I have a matcher for a specific group of users and a 1 mailet to handle
messages for these users.
For all other users I would like James to return the status "550 Mailbox
Unavailable".
Namely, when another SMTP connects to my James server, right after the
line:
rcpt to:<[EMAIL PROTECTED]>
The required outcome is - James returns "550 Mailbox Unavailable"
(assuming that bad_user doesn't comply with the matcher).

It looks quite simple, yet I haven't found any documentation about it.
I did come up with a (quite poor) workaround - having the
"local-address-error" processor
handle these messages. This will return *a reply* to the original message
in
this format:
"We were unable to deliver the attached message because of an error in the
mail server. Error message below: 550 - Requested action not taken..."

What I really need is an undeliverable message (like you'll get after
sending a mail do [EMAIL PROTECTED])

Thanks for your help,
- Doron


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



***************************************************************************
The information in this e-mail is confidential and for use by the addressee(s) only. 
If you are not the intended recipient (or responsible for delivery of the message to 
the intended recipient) please notify us immediately on 0141 306 2050 and delete the 
message from your computer. You may not copy or forward it or use or disclose its 
contents to any other person. As Internet communications are capable of data 
corruption Student Loans Company Limited does not accept any  responsibility for 
changes made to this message after it was sent. For this reason it may be 
inappropriate to rely on advice or opinions contained in an e-mail without obtaining 
written confirmation of it. Neither Student Loans Company Limited or the sender 
accepts any liability or responsibility for viruses as it is your responsibility to 
scan attachments (if any). Opinions and views expressed in this e-mail are those of 
the sender and may not reflect the opinions and views of The Student Loans Company 
Limited.

This footnote also confirms that this email message has been swept for the presence of 
computer viruses.

**************************************************************************


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

Reply via email to