Easy methods:
1. They don't get mail while not paying:
1. remove the line from /var/qmail/control files. it doesn't see
it as local, but the passwords and existing usernames/messages exist.
2. move the password file (or dump and delete the MySQL rows) for
the domain. Mail coming in will not be recieved and they will not be able
to authenticate. Since they can't authenticate, they can't open a relay.
2. They DO get mail while not paying:
1. simply backup the password file and make a simple awk or sed
script to change the password field to maybe 'haha' or something. Of
course, who knows what encrypted string that is, so unless they are really
___REALLY___ lucky, they won't be able to login to get their mail. They
will however still receive mail [useful for 'payment is in the mail'- you
don't want your customers business failing because you lost their big
contract and big client] and it will queue up on the server and be there
when you do get paid. When you get paid, copy the password file back and
you're set. Be sure to run ./vmkpasswd after any changes if you use CDB
files. On SQL, this is easier, as you can just make an update where
domain="domain.com" password="haha" or something like that.
These are valid solutions. THey make sense and work quite well. Your
alternate is to maybe place a file in the domain directory. If it exists,
it should not allow anything to happen for the domain... this of course
requires a code hack
Cheers- Hopefully good temporary solutions
--
Mike
----- Original Message -----
From: "Jesper Hess Nielsen" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Monday, July 23, 2001 3:52 PM
Subject: Closing an account when a customer hasn't paid?
> Hi,
>
> Is there an easy way to close a domain temporarily, allowing me to shut
off
> all incoming and outgoing mail when a customer hasn't paid? - It would be
> cool if you could send a message to people when they log on via pop3
saying
> "Pay up or ship out" :-)
>
> /Jesper
>
>