Re: [exim] who starts the delivery process?

Etusivu
Poista viesti
Vastaa
Lähettäjä: Askhat Tokabay
Päiväys:  
Vastaanottaja: Niels Kobschätzki
Kopio: exim-users
Aihe: Re: [exim] who starts the delivery process?
This is a theoretical question, I write
exim instructions.

The documentation says that there are four types of processes:
1. The daemon process
2. Reception processes
3. Queue runner processes
4. Delivery processes

With respect to the first three, everything is clear,
the main process starts the second and third.

The fourth is launched by the third and admin,
the question is who starts it when the message arrives?

пн, 26 дек. 2022 г. в 15:33, Niels Kobschätzki <niels@???>:

> Maybe you should tell us what you want to do.
>
> Best,
>
> Niels
>
> On 26. Dec 2022, at 10:27, Askhat Tokabay <askhat.tokabay@???>
> wrote:
>
> 
> Thanks,
>
> as I understand it,
> the delivery process,
> that the message has arrived,
> can be told by the process of
> receiving the message,
> which puts the message in the queue?
>
> Or can it tell the service
> that is listening on SMTP
> that it learns this from
> the receiving process?
>
> пн, 26 дек. 2022 г. в 14:58, Niels Kobschätzki <niels@???>:
>
>> Hi,
>>
>>
>> On 26. Dec 2022, at 09:41, Askhat Tokabay via Exim-users <
>> exim-users@???> wrote:
>>
>> Helo
>> I found in the documentation:
>> Delivery processes may be started as a
>> result of a message’s arrival, by a queue runner process,
>> or by an administrator using the -M option.
>>
>> The question is the following:
>> Can you tell me who starts the delivery process
>> when a message arrives?
>>
>> Or how does the delivery process
>> know that a message has arrived?
>>
>>
>> My understanding is: smtp-session gets opened from a MUA or MTA via one
>> of the ports exim listens on: delivery process gets started because of the
>> smtp-session
>>
>> A mail couldn’t be delivered and sits in the queue: queue runner starts
>> it at some point
>>
>> Administrator runs something like “exim -M $message-id” and a delivery
>> process gets started.
>>
>> Best,
>>
>> Niels
>>
>