Re: RE2 [Exim] Incoming mail is resent to all other addresse…

Página Principal
Apagar esta mensagem
Responder a esta mensagem
Autor: dman
Data:  
Para: Exim
Assunto: Re: RE2 [Exim] Incoming mail is resent to all other addressees
--
[snip lots of really oddly quoted text, see the archives for the thread]

Oh! My bad! I was thinking this was the infinite-recursion problem.
That's why my response had such little sense in it. I realize what
the problem is now.

| | 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


The problem must be that when RAV pipes the modified message back to
exim it provides the list of all recipients, not just ones exim should
deliver to, and since it looks like a new message exim happily
delivers it to all recipients.

Can you adjust RAV to print the modified message (only) on stdout
instead of opening a pipe to exim? If so, then try using this
configuration (http://dman.ddts.net/~dman/config_docs/) and substitute
RAV for spamc as the transport filter.

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


| [me]
| What does the mainlog show for the "new" message that exim received
| from RAV?

|
| [Don]
| I sent the entire session in the last message, I do not see a message
| from RAV.


The line quoted above with exim's id of 175qrK-0001E1-00 is the
message from RAV. As far as exim is concerned it is a brand new
message injected into the system by a local user. (Doh again! I
searched on the wrong id field, which is why the "extra" log entries
made no sense to me (in addition to thinking of the wrong problem))

I hope this helps more than my last attemp!
-D

--

How to shoot yourself in the foot with Java:

You find that Microsoft and Sun have released incompatible class
libraries both implementing Gun objects. You then find that although
there are plenty of feet objects implemented in the past in many other
languages, you cannot get access to one. But seeing as Java is so cool,
you don't care and go around shooting anything else you can find.
    (written by Mark Hammond)


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

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