Kyle W. Cartmell wrote:
Norman Maurer wrote:
Am Mittwoch, den 26.04.2006, 10:39 -0700 schrieb Kyle W. Cartmell:
Hola,
I plan to configure my James server such that any message with a
sender or
replyto address that is not [EMAIL PROTECTED] is ignored.
After
looking through the provided matchers I believe I will either need
to find a
3rd party matcher or write my own to accomplish this task. Does
anyone have
a clever way of handling this logic using the standard matchers?
What you mean with ignore ? Just drop the email or send a bounce ? you
could use SenderIs and RecipientIs matcher for pass these emails to the
next processor and add a All matcher with mailet Null to discard all
others.
bye
Norman
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
I will most likely send an email to the sender letting them know that
the message was dumped because they have a misconfigured mail client.
I understand the logic you are suggesting, do you mean to say that
[EMAIL PROTECTED] is a valid matcher string for SenderIs?
You can simply use SenderHostIs, or SenderIsRegex.
How would I extend this to prevent non firstfinance reply-to addresses
from being used as well?
You need to write an extension of the HasHeader matcher.
Thank you for the help!
Vincenzo
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]