[vchkpw] Qmail rejection of overquota messages instead of bouncing

2007-12-09 Thread egoitz
Hi mates!


I'm using John Simpsons last combined patch... I'm trying to know if I
could any way... cause qmail to reject messages at smtp dialogue if users
we're trying to deliver is overquota instead of bouncing it... black lists
are nowadays becoming quite crazy IMHO but they're know blacklisting this
servers who bounce overquota... well infact now all servers that bounce
directly... it would be a nice idea to reject messages for overquoted
mailboxes...

I have think doing an script that inserts and recreates validrcptto.cdb
this way no mail will enter from outside... but authenticated users are
able to bypass validrcptto... so will always be able to get that bounce...
anyway IMHO this is not the most worring thing... the problem is mainly
with outside servers and users... (not mine users...)

as a little idea... does qmail-local do anything in wich I could enter a
bash script any place wich does a remove the mail address from
validrcptto.txt and latter rebuild validrcptto.cbd file for not accepting
mail for overquota users? don't know exactly how to manage for this...


any ideas??




!DSPAM:475bef3d32008762613590!



[vchkpw] unable to read /etc/tcp.smtp.cdb: out of memory

2007-12-09 Thread Tariq Azad

I am having following error in log

tail -f /var/log/qmail/qmail-smtpd/current


warning: dropping connection, unable to read /etc/tcp.smtp.cdb: out of 
memory


on building the cdb file the error disappears for a while but comes up 
after 5 min or less.


#qmailctl cdb
Reloaded /etc/tcp.smtp.

Can some body help me on this.


Regards,


Tariq Azad

!DSPAM:475cd2e132002934813421!



Re: [vchkpw] unable to read /etc/tcp.smtp.cdb: out of memory

2007-12-09 Thread Christopher Chan

Tariq Azad wrote:

I am having following error in log

tail -f /var/log/qmail/qmail-smtpd/current


warning: dropping connection, unable to read /etc/tcp.smtp.cdb: out of 
memory


on building the cdb file the error disappears for a while but comes up 
after 5 min or less.


Try increasing the amount of memory allowed by tcpserver in your 
qmail-smtpd run file.


!DSPAM:475cd73132002247739603!