Re: [toaster] updated toaster patch

2007-03-26 Thread daniel
 Bill Shupp wrote:

 I'll test signing later when I have some time to set it up.

 Signing works just fine as well:

 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws;
   s=default; d=merchbox.com;

 b=qx+1bc1baPy6zBt2CYUIXMpTpoN3307dqQIzJ/8F++3h5hf+xpj92dGGqchxq79S6w733qBSTRN1qv0OGNMtphJ3XGmmy3tKxiUNLc7JntDei26sT13xQxCgQNNZIp2A
  ;


 In my outbound qmail-smtpd run file, I have this:

 export QMAILQUEUE=/var/qmail/bin/qmail-dk
 export DKQUEUE=/var/qmail/bin/simscan
 export DKSIGN=/var/qmail/control/domainkeys/%/default

 Regards,

 Bill


Well, it seems that i got it working at last :)

So, the patch works ok on a fedora core 5 system with all the toaster
options (tmda also). If you need to perform some tests i can provide you
with a shell to the test machine i installed the toaster on.



[toaster] Quota problem

2007-03-26 Thread daniel
I know this is not toaster related but i think there are people here that
may be of help.

I have a huge problem. I'm responsible for mail service of 35-40 clients
each of them with a virtual domain.

I searched the qmailadmin mailing list in hopes of an answer but i
couldn't find any.

The problem is, i cannot offer access to the qmailadmin interface to my
clients because, by default, qmailadmin does not offer quota limits
management per domain.

What i need to do is set a quota for the entire domain and after that the
client can manage his mail accounts how he pleases. So, if a client has
access to qmailadmin he can create a mailbox of say 5gb although the
hosting contract was signed for 2Gb.

At the moment i use a system quota method but i realized that this is not
the correct way to do it although vpopmail allows it, other programs like
maildrop and spamassassin have problems with the permissions mangling
necessary to do system quota.

On the qmailadmin list i've read some threads about different patches
regarding the same problem i have but all the referrences pointed to
unavailable locations and outdated resources. I also found out about the
Antonio Nati's approach, the domain pool, but his links were also
outdated.



Re: [toaster] Quota problem

2007-03-26 Thread tonix (Antonio Nati)

At 14.18 26/03/2007, you wrote:

I know this is not toaster related but i think there are people here that
may be of help.

I have a huge problem. I'm responsible for mail service of 35-40 clients
each of them with a virtual domain.

I searched the qmailadmin mailing list in hopes of an answer but i
couldn't find any.

The problem is, i cannot offer access to the qmailadmin interface to my
clients because, by default, qmailadmin does not offer quota limits
management per domain.

What i need to do is set a quota for the entire domain and after that the
client can manage his mail accounts how he pleases. So, if a client has
access to qmailadmin he can create a mailbox of say 5gb although the
hosting contract was signed for 2Gb.

At the moment i use a system quota method but i realized that this is not
the correct way to do it although vpopmail allows it, other programs like
maildrop and spamassassin have problems with the permissions mangling
necessary to do system quota.

On the qmailadmin list i've read some threads about different patches
regarding the same problem i have but all the referrences pointed to
unavailable locations and outdated resources. I also found out about the
Antonio Nati's approach, the domain pool, but his links were also
outdated.


I have a more recent version of the pooled quota patch, actually 
working on my systems.


Pooled quota works this way, basically.

If enabled for the domain, you give a quota to postmaster, and each 
mailbox quota is subtracted from postmaster quota when you create a 
new email. All changes of quota are added/subtracted to postmaster's quota.


If you want I may send it to you, and if someone find it interesting, 
I cand send again to qmailadmin team (the last time pooled quota was 
rejected because they preferred to include the fallimentary domain 
quota patch).


Ciao,

Tonino 



Re: [toaster] Quota problem

2007-03-26 Thread daniel
 At 14.18 26/03/2007, you wrote:
I know this is not toaster related but i think there are people here that
may be of help.

I have a huge problem. I'm responsible for mail service of 35-40 clients
each of them with a virtual domain.

I searched the qmailadmin mailing list in hopes of an answer but i
couldn't find any.

The problem is, i cannot offer access to the qmailadmin interface to my
clients because, by default, qmailadmin does not offer quota limits
management per domain.

What i need to do is set a quota for the entire domain and after that the
client can manage his mail accounts how he pleases. So, if a client has
access to qmailadmin he can create a mailbox of say 5gb although the
hosting contract was signed for 2Gb.

At the moment i use a system quota method but i realized that this is not
the correct way to do it although vpopmail allows it, other programs like
maildrop and spamassassin have problems with the permissions mangling
necessary to do system quota.

On the qmailadmin list i've read some threads about different patches
regarding the same problem i have but all the referrences pointed to
unavailable locations and outdated resources. I also found out about the
Antonio Nati's approach, the domain pool, but his links were also
outdated.

 I have a more recent version of the pooled quota patch, actually
 working on my systems.

 Pooled quota works this way, basically.

 If enabled for the domain, you give a quota to postmaster, and each
 mailbox quota is subtracted from postmaster quota when you create a
 new email. All changes of quota are added/subtracted to postmaster's
 quota.

 If you want I may send it to you, and if someone find it interesting,
 I cand send again to qmailadmin team (the last time pooled quota was
 rejected because they preferred to include the fallimentary domain
 quota patch).

 Ciao,

 Tonino



I saw your description on the qmailadmin list and i thought that was
exactly what i was looking for and i was disapointed that the link you
posted was not available.
I will be gratefull if you can send me the patch to try it out and see if
it  matches my need although i think it will.

Thanks for the help !



Re: [toaster] Quota problem

2007-03-26 Thread tonix (Antonio Nati)

At 15.10 26/03/2007, you wrote:

I saw your description on the qmailadmin list and i thought that was
exactly what i was looking for and i was disapointed that the link you
posted was not available.
I will be gratefull if you can send me the patch to try it out and see if
it  matches my need although i think it will.


qmailadmin version: 1.2.9
Complete tar can be downloaded from : 
http://www.interazioni.it/opensource/qmailadmin/download/archives/qmailadmin-pooled-public.tar.bz2 



Compile instructions:

Add these qualifier to .configure, using your preferred VPOPMAIL flags:

./configure CFLAGS=-DQUOTA_FLAG=V_USER0 
-DUNPOOLED_QUOTA_FLAG=V_USER1


Within my_configure.sh you may find my example of configuration.

Set the V_USER1 flag (or your preferred flag) on postmasters which 
are enabled to use pooled quota.
Set the V_USER0 flag (or your preferred flag) on postmasters which 
are enabled to use quota without any limit.


I feel it should be easy to make a diff againt a clean 1.2.9 and 
apply the difference on a newer qmailadmin version (I can be interested too).


This version should also resolve the problem of 2GB limit, as I've 
updated all 32 bit variables, and currently I have customers with 
more than 2GB quota.


Let me know!

Ciao,

Tonino


Thanks for the help !


Re: [toaster] Quota problem

2007-03-26 Thread Bill Shupp
tonix (Antonio Nati) wrote:

 This version should also resolve the problem of 2GB limit, as I've
 updated all 32 bit variables, and currently I have customers with more
 than 2GB quota.

Do you have patches for other Maildir++ programs?  Like courier-imap,
and maildrop?  And also my patch for qmail-local (based on
deliverquota)?  Last I heard, the courier author was not planning to fix
the 2GB limit in the maildirquota code, but that might not be true anymore.

Thanks,

Bill


Re: [toaster] Simplehelpdeskfinal wont send mail through qmail setup

2007-03-26 Thread Mo Mule

Thanks a lot!

I took what you said and applied it to the toaster directions and it works 
now.


What I think happened is simple operator error.  During the setup of 
simplehelpdesk, I noticed that the 'mail' command was missing.  I then 
proceeded to install mailx which also installed postfix.  I removed postfix 
(and mailx).  I ran the rpm -e --nodeps postfix command and didn't realize 
that I had to re-create the symbolic links to /usr/sbin/sendmail again...


Thanks for the help.

Deion Mule Christopher


Original Message Follows
From: Bill Shupp [EMAIL PROTECTED]
Reply-To: toaster@shupp.org
To: toaster@shupp.org
Subject: Re: [toaster] Simplehelpdeskfinal wont send mail through qmail 
setup

Date: Mon, 26 Mar 2007 12:15:38 -0700

Mo Mule wrote:

 I think it has something to do with:

 rpm -e --nodeps sendmail postfix

 So is it possible to have the qmail toaster AND mailx(postfix) running
 on the same machine?

I don't recommend it.

 Or like I asked before, could it just need a new
 php command or wrapper to have it deliver email messages to the local
 qmail accounts?

Does /usr/sbin/sendmail exist?  And is it a symbolic link to
/var/qmail/bin/sendmail?  That's all you need for local injection to work.

Regards,

Bill

_
The average US Credit Score is 675. The cost to see yours: $0 by Experian. 
http://www.freecreditreport.com/pm/default.aspx?sc=660600bcd=EMAILFOOTERAVERAGE




Re: [toaster] Quota problem

2007-03-26 Thread tonix (Antonio Nati)

At 18.00 26/03/2007, you wrote:

tonix (Antonio Nati) wrote:

 This version should also resolve the problem of 2GB limit, as I've
 updated all 32 bit variables, and currently I have customers with more
 than 2GB quota.

Do you have patches for other Maildir++ programs?  Like courier-imap,
and maildrop?  And also my patch for qmail-local (based on
deliverquota)?  Last I heard, the courier author was not planning to fix
the 2GB limit in the maildirquota code, but that might not be true anymore.


Sorry, I only modified qmailadmin.

Tonino


Thanks,

Bill