Use with other MTA

Issue #6 resolved
János Csárdi-Braunstein created an issue

It's possible to use with other MTA, like exim via pipe?

Like with exim and dovecot: http://wiki2.dovecot.org/LDA/Exim

So, piler is a "transport destination" in MTA, not a daemon with a listening port.

yepp, i known it's possible to redirect traffic to piler daemon via tcp/ip, but, i think, it's a harded way.

Comments (13)

  1. Janos SUTO repo owner

    Currently only the daemon is supported. I usually prefer the simpler is the better also known as the "keep it simple" approach. However the pipe version is also possible, I wrote it to the TODO list. Could describe your environment where the pipe approach is much more easier/efficient/etc. than the daemon approach? You can do it either replying to this issue or to my email address.

    And thanks for the bugs you have found ;-)

  2. János Csárdi-Braunstein reporter

    Sok meglévő exim van már, és így könnyebb beilleszteni a meglévő infrastruktúrába. Valamint a belső hálózaton csak IPv6 kommunikáció van, viszont a daemon nem tud (?) ipv6-on listenelni.

  3. Janos SUTO repo owner

    ha van mondjuk 10 eximed, es mindegyikre telepited a piler pipe-ot, akkor (mivel a pipe csak local-ban tud dolgozni) az archivumod is 10 helyen lesz szetszorva.

    Nem lenne jobb, ha a piler tudna ipv6-on figyelni, es a 10 exim-ed sima smtp transport-tal kuldene ra a leveleket?

  4. János Csárdi-Braunstein reporter

    Csakhogy nem 10 Exim-em van, hanem legalább 100 :)

    A mindenféle rule-ok miatt könyebb beilleszteni a meglévő rendszerbe, mert most egy egyedi program van beállítva, nem kéne módosítani a dolgokat, csak át kéne cserélni azt az egy sort.

  5. Janos SUTO repo owner

    10 vagy 100, igazabol mindegy. Mondjuk nem csak 1 sort kell a meglevo rendszerbe illesztened 100 gepen, hanem 100 gepre telepitened is kell a piler pipe programot, ami szerintem siman osszemerheto egy extra transport konfig igenyevel.

    De meg azt mondd el, hogy a 100 gepen futo 100 pipe hogyan tegye a leveleket az archivumba (ami a 101. gepen van)?

  6. János Csárdi-Braunstein reporter

    Félreértesz, külön exim, külön piler (archivum)!

    Nem kézzel vannak a confok szerkesztve és a programok telepítve hidd el :)

  7. Janos SUTO repo owner

    ugy erted, hogy ahany exim-ed van, annyi (egymastol fuggetlen) archivumod is van? Biztos az az oka, hogy pentek van, de lehet konnyebb lenne (nekem), ha mutatnal egy skiccet arrol, hogy ki kivel van a halozatodon...

  8. János Csárdi-Braunstein reporter

    Nem minden eximhez van archívum, de vannak független archívumok. Valamint azért lenne könnyebb pipeon használni, mivel akkor csak egy sort kell átírnom az eximekbe - a meglévő programot átírni - mint a logikáját is megváltoztatni.

  9. Janos SUTO repo owner
    • changed status to open

    Az mukodhet, ha a stdin-rol kapja a piler a leveleket? Ha igen, akkor probaljuk ki az alabbit:

    pilerimport -e -
    

    Viszont kerdes: van-e valami megkotes a pilerimport visszateresi ertekere? Jelenleg mindig 0-t ad vissza (=return 0).

  10. János Csárdi-Braunstein reporter

    Az exim a visszatérési értékből tudja, hogy sikeres volt vagy sem, ha mindig nulla, akkor mindig sikeresnek veszi (gondolom a többi progrma esetén is hasonlóan megy).

    pipe driverrel belepipolja az exim a levelet a megadott parancsba, ha azt képes felolvasni a piler, akkor jo.

  11. Log in to comment