[Prev][Next][Index][Thread]
Re: Emulate FallbackMXhost?
> Sendmail's FallbackMXhost is pretty useful for those connecting via
> dialup links. While I like direct delivery, I prefer to get the mail
> off my home machine to my provider's hub if a recipient host is down.
> Is there any way for me to get equivalent functionality?
I don't think so. (Obviously, you can easily punt everything to your
provider. Unfortunately, if you still want your mail to be delivered
quickly without being munged, you'll have to persuade your provider to
run qmail...)
It shouldn't be too hard to add another control file, and
> If not, is there some way to force a queue run?
Kill qmail-send and wait for it to exit; touch queue/remote/*/*; run
qmail-start.
> Utter coolness. :-)
Seconded. Here's another qmail anecdote. One of my colleagues was
assigned the task of implementing "restricted lists" with qmail. A
restricted list is one that prevents people outside the company from
easily sending to it (the aim being to prevent accidental use; we don't
hope to stop deliberate abuse). Under PP, we achieved restricted lists
with about a dozen lines of configuration.
The next day, I got a message from my colleague that started "Good
grief. This turned out to be TRIVIAL!!!!!". The first entry on the list
is a pipe to a tiny script which checks that $SENDER is permitted to
post to the list. If not, the script prints a warning message and exits
with anything other than 0 or 99. Qmail takes care of all the rest.
Tim.
Follow-Ups:
References: