When the fork happens [Re: [Mimedefang] Testing for port #/TLS in filter_relay]

Vladimír Solnický vs-ml at email.cz
Mon Mar 3 02:21:13 EST 2008

29. 2. 2008 napsal(a) David F. Skoll na téma ,Re: [Mimedefang] Testing for...:

> Philip Prindeville wrote:
>> By the time that MAIL FROM: is seen, fork()'s have happened, etc.
> ???
> The fork() happens right after the connection is accepted, even before
> filter_relay.

IMHO there were two forks in sendmail, one as you say after accepting the 
connection and the second in the MAIL FROM stage (I looked at it four 
years ago, thus the past tense; I do not know the current situation). The 
second fork could be avoided if the client used ESMTP and the ONEX 
command. As I said I do not know if it is the same now but IMHO it has not 
changed since then.


Vladimír Solnický (Vladimir Solnicky in ASCII)
Píši pouze za sebe / Speaking for myself only ...

More information about the MIMEDefang mailing list