> Generally, sendmail uses flock() on the aliases file and related databases
> to ensure consistency. As far as I know, it's unrelated to redirection.
And for locking queue files.
> > Here is what Control-T does
> > load: 0.20 cmd: sendmail 292 [pause] 0.02u 0.04s 0% 2016k
>
> pause, eh? That
mi+mx> I set things up once some time ago for one of my machines to relay
mi+mx> e-mail from another -- based on SSL-certificate presented. I'm my
mi+mx> own issuer. The setup was working for a while, but broke recently --
mi+mx> the relay-to-be now rejects relaying, even though it verifies the
mi+
sean-freebsd> I found the bug. The socket was IPv6, but the bind used an
sean-freebsd> IPv4 sockaddr struct. Patch attached.
sean-freebsd> - s = socket(addr.sa.sa_family, SOCK_STREAM, 0);
sean-freebsd> + s = socket(clt_addr.sa.sa_family, SOCK_STREAM, 0);
Thanks