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

David F. Skoll dfs at roaringpenguin.com
Mon Mar 3 08:56:44 EST 2008


Vladimír Solnický wrote:

> 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.

Reading the source code, I do not see an additional fork() after MAIL FROM.
Could you show me where it happens?

I also traced an instance of Sendmail and did not see a fork after MAIL.
It only forked after the final "." because of the "background" delivery
mode.

Regards,

David.



More information about the MIMEDefang mailing list