Re: [Exim] TMDA & Exim

Startseite
Nachricht löschen
Nachricht beantworten
Autor: Kirill Miazine
Datum:  
To: exim-users
Betreff: Re: [Exim] TMDA & Exim
* Ken Lowther [2003-11-28 09:09]:
> > What you will find at <http://km.krot.org/exim/tmda/> is an improvement.
>
> From the tmdarc file : "MAIL_TRANSFER_AGENT = "qmail" " ?


Exactly. This is why I provided the tmdarc. You see, programs invoked
from .qmail files can instruct qmail whether further delivery
instruction shall be process or not by its exit code. TMDA makes use of
that, but since no other MTA has such ability and TMDA requires to set
DELIVERY variable if MAIL_TRANSFER_AGENT is not "qmail". I do not want
DELIVERY to be set, I want to decide what should happen with the message
in my Exim filter. Think of it as "the next instruction in the dot-qmail
file":

    # DELIVERY
    # The default delivery instruction for successful messages, or
    # TMDA's final delivery location.  Only required if you are NOT
    # running qmail.  The default value for qmail users is "_qok_" which
    # means exit(0) and proceed to the next instruction in the dot-qmail
    # file.


${readsocket{...}} will return 0, 1, 2 or 3 depending on what should
happen later:

    * 2 - message rejected (fail)
    * 3 - stop processing (seen finish)
    * 1 - temp error
    * 0 - success


--

Er en viljeserklæring forvansket ved feiltelegrafering, blir den, som har
avgit den, ikke bundet ved erklæringen i den skikkelse, den er kommet frem.