+ m = to->q_mailer;
+ host = to->q_host;
+
+ /*
+ ** If this mailer is expensive, and if we don't want to make
+ ** connections now, just mark these addresses and return.
+ ** This is useful if we want to batch connections to
+ ** reduce load. This will cause the messages to be
+ ** queued up, and a daemon will come along to send the
+ ** messages later.
+ ** This should be on a per-mailer basis.
+ */
+
+ if (NoConnect && !QueueRun && bitset(M_EXPENSIVE, m->m_flags))
+ {
+ QueueUp = TRUE;
+ for (; to != NULL; to = to->q_next)
+ if (!bitset(QDONTSEND, to->q_flags))
+ to->q_flags |= QQUEUEUP|QDONTSEND;
+ return (0);
+ }
+