Van Liedekerke Franky wrote/schrieb/scribsit:
> is there any simple way of removing all mail for a specific remote domain
> that's sitting in my queue?
> I was thinking of putting the domain in smtproutes and let it point to an
> another qmail machine, and there put the domain in virtualdomains and let it
> point to an alias that drops all mail.

Instead of sending it to another qmail machine, you can go on your own:
# cd /var/qmail/control
# echo "dropthisdomain.dom:[`hostname -f`]" >> smtproutes
# echo "dropthisdomain.dom" >> rcpthosts
# echo in case localhost is not a RELAYCLIENT
# echo "dropthisdomain.dom:alias-bitbucket" >> virtualdomains
# cd ../alias
# echo '#' > .qmail-bitbucket-default
# killproc -HUP /var/qmail/bin/qmail-send
# killproc -ALRM /var/qmail/bin/qmail-send

Then peek at the log and undo.

Stefan

Reply via email to