In the last episode (Aug 04), RW said:
> mailwrapper checks to see how it was invoked and then looks up the
> appropriate command in mailer.conf. All of the entries in
> mailer.conf point to /usr/libexec/sendmail/sendmail, so how does that
> binary know what it's supposed to do.
The kernel passes the executable name to the running process along with
the rest of the commandline arguments. If you run "ls -l /tmp", for
example, the ls binary gets "ls", "-l", and "/tmp" as its arguments.
See around line 360 of src/contrib/sendmail/src/main.c.
firstname.lastname@example.org mailing list
To unsubscribe, send any mail to "[EMAIL PROTECTED]"