49.1.6.2. Exim 3

section condition="author"

rcsinfo="$Header: /home/radek/cvs/unix-book/input/unix/ch-request_systems.xml,v 1.1.1.1 2009-01-24 15:42:51 radek Exp $"

Do konfiguračního souboru Eximu /etc/exim/exim.conf doplníme transportér

rt3_transport:
        driver = pipe
        user = nobody
        command = rt-mailgate \
                --action '${if def:local_part_suffix {comment}{correspond}}' \
                --queue "$local_part" \
                --url http://localhost/rt

A k tomuto transportéru napíšeme ovladač (director)

rt3_director:
        driver = smartuser
        suffix_optional
        suffix = -comment
        transport = rt3_transport

Ta se zdá že to nefunguje správně. V deníku se objeví následující hlášení:

2005-02-22 14:01:15 1D3Zf9-0000bt-00 <= radek@hnilica.cz H=sunrise.firma.cz [10.16.66.18]
 P=esmtp S=755 id=E1D3ZW7-0008G1-00@yoda.hnilica.cz
2005-02-22 14:01:18 1D3Zf9-0000bt-00 == rt@rt3.firma.cz T=rt3_transport defer (0): Child
 process of rt3_transport transport returned 75 (could mean temporary error) from command:
 /usr/bin/rt-mailgate
2005-02-22 14:01:18 1D3Zf9-0000bt-00 failed to open DB file /var/spool/exim/db/retry: File exists