Re: [Exim] Incoming mail is resent to all other addressees

Top Page
Delete this message
Reply to this message
Author: dman
Date:  
To: Exim
New-Topics: RE:RE2 [Exim] Incoming mail is resent to all other addressees
Subject: Re: [Exim] Incoming mail is resent to all other addressees
--
On Thu, May 09, 2002 at 10:17:24AM -0700, Don Hammer wrote:
| My problem appears to be my filter file, if I comment out my filter line the
| server works correctly. The file filter was sent with the mail package.
| Here is the transactions from the mainlog

|
| 2002-05-09 09:33:37 SMTP connection from urdvg002.mx.net [165.212.11.2]

|
| 2002-05-09 09:33:38 175qrK-0001Dv-00 <= d-hammer@??? H=urdvg002.mx.net
| [165.212.11.2] P=smtp S=1151
| id=20020509163240.12277.qmail@???


New message arrives via 'smtp' from a remote host.

| 2002-05-09 09:33:38 175qrK-0001Dv-00 original recipients ignored
| (message_filter)


filter file being used; it says to discard original recipients (as far
as exim is concerned)

| 2002-05-09 09:33:38 175qrK-0001E1-00 <= d-hammer@??? U=ravms P=mail-ok
| S=1315 id=20020509163240.12277.qmail@???


New message arrived from user 'ravms' with protocol 'mail-ok'.

| 2002-05-09 09:33:38 175qrK-0001Dv-00 => |/usr/local/rav8/bin/ravexim
| $sender_address $recipients <message filter> T=rav_pipe

|
| 2002-05-09 09:33:38 175qrK-0001Dv-00 Completed


The original message has been delivered. Exim is done with it.


| Here is the filter file

|
| # Exim filter
| #check if this message has already been scanned
|     if not first_delivery then
|     finish
|     endif
| #send the message to RAV if it has not been scanned
|     if $received_protocol is not "mail-ok" then
|     pipe "/usr/local/rav8/bin/ravexim $sender_address $recipients"
|     endif


Hmm, that filter should only send it through RAV once, if
received_protocol compares as expected.

What does the mainlog show for the "new" message that exim received
from RAV?

-D

--

A wise servant will rule over a disgraceful son,
and will share the inheritance as one of the brothers.
        Proverbs 17:2


GnuPG key : http://dman.ddts.net/~dman/public_key.gpg

--
[ Content of type application/pgp-signature deleted ]
--