Re: [toaster] Using maildrop with toaster & quota support

2006-03-24 Thread Adi Pircalabu
On Thu, 23 Mar 2006 17:48:11 +1030
David <[EMAIL PROTECTED]> wrote:

> MAILDIRQUOTA=`~vpopmail/bin/vuserinfo -q [EMAIL PROTECTED]
>
> in the maildrop filter file. Can anybody tell me if this works with
> the Shupp toaster? I have successfully integrated maildrop as my LDA
> in a Shupp toaster, but it seems blissfully unaware of users' quotas
> and quota warning/over-quota messages get lost, and when the account
> fills up, maildrop just spits errors and the mail stops with
> maildrop. I am looking for a way to make it quota-aware.

Why don't you use deliverquota (part of courier-imap package, I guess)?
I think it does exactly what you need.

>From the manpage:

NAME
deliverquota - deliver to a maildir with a quota

SYNOPSIS
deliverquota [ -c ] [ -w percent ] maildir quota


DESCRIPTION
deliverquota  delivers  mail to a maildir taking into account any
software-imposed quota on the maildir.  This manually-enforced
quota mecha- nism  is  described  in  the  maildirquota(7) and
maildirmake(1) manual pages.  Instead of setting up your mail server to
deliver  the  message directly  to  a  maildir,  configure  the mail
server to run the deliv- erquota program in order to deliver the
message, and specify the  loca- tion of the maildir as the argument to
deliverquota.

--
Adrian Pircalabu


--
This message was scanned for spam and viruses by BitDefender.
For more information please visit http://www.bitdefender.com/



[toaster] [OT?] Help with djbdns

2006-03-24 Thread Marcus Williams

Hi -

My server is housed with a company thats just gone bust :( I've got 
about 48 hours to migrate everything across to a new server (with new 
dns). Luckily I had planned to do this soon anyway so I've done most of 
the work (toaster migrated very easily with the help of this list 
thanks!). The only problem is that now I've been forced to move my 
nameserver as well. Rather than change the IP of the underlying primary 
server ns1 (as I'm not sure this will work - how do registrars deal with 
this, dont they have an set IP?) I'm trying to get all domains to change 
the primary nameserver to a new server ns2. I've just been told by 
godaddy that they wont change it to this new address because they are 
only able to use authoritative name servers. I've updated my old server 
dns settings to:


.bar-coded.net::ns2.bar-coded.net
.50.144.10.217.in-addr.arpa:217.10.144.50:ns2.bar-coded.net:259200

=ns1.bar-coded.net:213.151.36.176
+ns2.bar-coded.net:217.10.144.50

(snipped other non-essential dns). I've replicated this on the new dns 
at 217.10.144.50, but I cant get godaddy to accept the update.


I thought that this meant that ns2 was an authoritive ns?

Anyone got any ideas? I can send more info if needed, but its a bit of a 
rush job unfortunately (and I might lose the server completely :(


Thanks

Marcus


Re: [toaster] [OT?] Help with djbdns

2006-03-24 Thread Marcus Williams

On 24/03/2006 Marcus Williams wrote:
I've just been told by 
godaddy that they wont change it to this new address because they are 
only able to use authoritative name servers.


Cancel that - operator error :) looks like you have to register your 
server for use with godaddy strangely. Done that now and it all works 
fine. Sorry for noise.


Marcus