Re: [exim] capturing a message

Kezdőlap
Üzenet törlése
Válasz az üzenetre
Szerző: Tony Finch
Dátum:  
Címzett: Randy Bush
CC: exim users
Tárgy: Re: [exim] capturing a message
On Tue, 18 Mar 2008, Randy Bush wrote:
>
> can i capture that message and just that message, as the rate of
> incoming messaged on this host is fairly large?


I'd probably try using tcpdump to avoid reconfiguring Exim, but an
alternative approach might be ...

(near the top of the DATA ACL)

  accept
    hosts = 127.0.0.1
    senders = whodini@???
    set acl_mTAP = yes


(near the top of the routers)

  tap:
    driver = redirect
    condition = $acl_mTAP
    data = /path/to/saved/messages
    file_transport = address_file


Tony.
--
<fanf@???> <dot@???> http://dotat.at/ ${sg{\N${sg{\
N\}{([^N]*)(.)(.)(.*)}{\$1\$3\$2\$1\$3\n\$2\$3\$4\$3\n\$3\$2\$4}}\
\N}{([^N]*)(.)(.)(.*)}{\$1\$3\$2\$1\$3\n\$2\$3\$4\$3\n\$3\$2\$4}}