Calvin,
One of my customers had a similar need some time ago.
I think it should suit your case as well. Just modify
the rule scanning the headers (H~)to scan the bodies (B~).
Let me know if it worked for you, too. Marius
How to copy all traffic of a specific mail domain to a mailbox
Let's assume you are a mail provider, running the IMail Server
mail.intercon.ch.
You are hosting the mail domain lucky.ch. The administrator of
lucky.ch wants to receive a copy of every mail which is sent to/from
his mail domain. The mail address to receive the copies is
[EMAIL PROTECTED]
1. Create a new mailbox within your administration domain to
receive a copy of every mail which is sent trough your mail server.
[EMAIL PROTECTED]
2. In the mailbox directory of copybox, create two files:
File No.1: rules.ima
This file contains the rule to search the mail headers for
"lucky.ch" and forward them to the local mailbox file luckych.
The last rule deletes the mail. I think this one could be
optimized. If you have more customers who need this service,
insert their rules above the last rule.
H~lucky.ch:luckych
F!=Fo0f0o:NUL
File No.2: luckych.fwd
As the final destination of the copied mail is not the local
mailbox file luckch, but the mail address [EMAIL PROTECTED],
we need to create a .fwd file, in our case luckych.fwd. If you
have more customers who need this service, you need to create
an additional .fwd file for each one. This file contains only
one line with the final destination address of the copied mails.
[EMAIL PROTECTED]
3. Set "Copy All Mail" to this mailbox. This is at
Control Panel | IMail Server | SMTP Security | Copy All Mail.
(In IMail 6.0 see IMail Administrator | localhost instead.)
[EMAIL PROTECTED]
Stop and Start SMTP Service to activate the change.
This account will receive a copy of every mail which is sent.
4. You need to monitor the user mailbox size of the account
that receives the copied mails (or set its Maximum Mailbox
Size). Tell your customer to empty this mailbox regularly.
-----Urspr�ngliche Nachricht-----
Von: Calvin Mitchell [mailto:[EMAIL PROTECTED]]
Gesendet: Montag, 3. April 2000 18:25
An: [EMAIL PROTECTED]
Betreff: [IMail Forum] Rules Question.
Is there a way to make a rule that would scan the body text and if it found
somthing (i.e. hack isp , etc) that it would just send a copy of the letter
to me and still deliver the mail to the user??
Calvin Mitchell
Montereybay.com
Tel (831)648-8111
Fax (831)648-8113
Please visit http://www.ipswitch.com/support/mailing-lists.html
to be removed from this list.