Re: [exim] Special log after mail has been delivered

Kezdőlap
Üzenet törlése
Válasz az üzenetre
Szerző: Heiko Schlittermann
Dátum:  
Címzett: exim-users
Tárgy: Re: [exim] Special log after mail has been delivered
Evgeniy Berdnikov <bd4@???> (Di 07 Mai 2013 14:55:26 CEST):
> Well, you can't use check_log_{space,inodes} if you write to database
> on the fly, but if write to pipe blocks then exim also hangs and no mails
> would be accepted. Surely, it's not so good as built-in space check, but
> result is effectively the same. In any case, on the edge exim->database
> error conditions must be held carefully: db client should stop reading
> data if it can't update+commit, and it should block feeder if possible.


<nitpicking>
If the pipe blocks, new exim processes will startup and try to accept
messages, resulting in a huuuge amount of blocked exim processes, until
the connections run into a timeout. If exim checks the log space, and
the space is insufficient, it will 4xx on new connection attempts.
</nitpicking>

:)

--
Heiko