Patrick Michael Kane writes:
> Two qmail questions in one day, wow!
>
> I'm interested in disabling remote deliveries in qmail. Anything not
> destined for the localhost should bounce. Is there an easy way to do
> this?
Hmmm... You could do it by setting control/concurrencyremote to 0,
and control/queuelifetime to 3600. Remote mail would bounce within
the hour.
But even better:
echo ':alias-bounce' >/var/qmail/control/virtualdomains
echo 'echo "No off-site mail allowed!";exit 100' >~alias/.qmail-bounce-default
--
-russ <nelson@crynwr.com> http://www.crynwr.com/~nelson
Crynwr Software sells network driver support | PGP ok
521 Pleasant Valley Rd. | +1 315 268 1925 voice | Peace, Justice, Freedom:
Potsdam, NY 13676-3213 | +1 315 268 9201 FAX | pick two (only mostly true)
> Two qmail questions in one day, wow!
>
> I'm interested in disabling remote deliveries in qmail. Anything not
> destined for the localhost should bounce. Is there an easy way to do
> this?
Hmmm... You could do it by setting control/concurrencyremote to 0,
and control/queuelifetime to 3600. Remote mail would bounce within
the hour.
But even better:
echo ':alias-bounce' >/var/qmail/control/virtualdomains
echo 'echo "No off-site mail allowed!";exit 100' >~alias/.qmail-bounce-default
--
-russ <nelson@crynwr.com> http://www.crynwr.com/~nelson
Crynwr Software sells network driver support | PGP ok
521 Pleasant Valley Rd. | +1 315 268 1925 voice | Peace, Justice, Freedom:
Potsdam, NY 13676-3213 | +1 315 268 9201 FAX | pick two (only mostly true)