[vchkpw] imap before smtp

2009-09-17 Thread kengheng
Dear All, would like to check if there is anyway to do imap before smtp 
relay ? I'm using courier-authlib-0.60.2 with courier-imap.


Thanks.

--
Best regards,
KengHeng. Chan
Mobile : +6-016-717-0273
SQL Technology Sdn Bhd
http://www.mysql.cc
c...@mysql.cc 



!DSPAM:4ab1dc8f32717245867931!



Re: [vchkpw] imap before smtp

2009-09-17 Thread Juan Enciso
One queston,  Why don't use SMTP-AUTH?
I'm using SMTP-AUTH from SpamControl
http://www.fehcom.de/qmail/spamcontrol.html

http://www.fehcom.de/qmail/spamcontrol.htmlIt works good


On Thu, Sep 17, 2009 at 1:51 AM, kengheng kengh...@mysql.cc wrote:

 Dear All, would like to check if there is anyway to do imap before smtp
 relay ? I'm using courier-authlib-0.60.2 with courier-imap.

 Thanks.

 --
 Best regards,
 KengHeng. Chan
 Mobile : +6-016-717-0273
 SQL Technology Sdn Bhd
 http://www.mysql.cc
 c...@mysql.cc

 




-- 
Juan Enciso Condeña
Teléfono: (511) 3238504
E-mail: juan.enc...@gmail.com
MSN: juan_enc...@hotmail.com


!DSPAM:4ab23e5632715567853773!


Re: [vchkpw] imap before smtp

2009-09-17 Thread Tom Collins
Even if it's possible to set up imap-before-smtp, you'll be much  
better off if you have your clients use SMTP AUTH instead. More  
reliable, more predictable, and supported by almost every email client  
out there.


If you really want to try it, consider Dovecot instead of Courier. I  
think dovecot uses vchkpw, and is probably going to be easier to  
configure.


-Tom

On Sep 16, 2009, at 11:51 PM, kengheng kengh...@mysql.cc wrote:

Dear All, would like to check if there is anyway to do imap before  
smtp relay ? I'm using courier-authlib-0.60.2 with courier-imap.


Thanks.

--
Best regards,
KengHeng. Chan
Mobile : +6-016-717-0273
SQL Technology Sdn Bhd
http://www.mysql.cc
c...@mysql.cc





!DSPAM:4ab244f532711143630341!



[vchkpw] vpopmail 5.5 SVN domain quota fix

2009-09-17 Thread Harm van Tilborg

Hi people (Matt especially :]),

I've included a patch against vpopmail's current SVN trunk. It fixes a 
wrong comparison of the quota, which makes domains with a quota almost 
directly deny the message, since it believes the domain is over qutoa.


The quota listed in the vlimit is in megabytes (well, mibi to be exact). 
The fix is quite trivial.


It also includes a missing `+OK' response (okay, a missing 
`wait_write()') in vpopmaild - when there was no such alias.


--
Kind regards,
Harm van Tilborg


!DSPAM:4ab273ee32711076378410!
Index: quota.c
===
--- quota.c (revision 939)
+++ quota.c (working copy)
@@ -115,7 +115,7 @@
  Compare
*/
 
-   if (((vl.diskquota)  (bytes = vl.diskquota)) || ((vl.maxmsgcount)  
((count = vl.maxmsgcount
+   if (((vl.diskquota)  (bytes = (vl.diskquota * 100))) || 
((vl.maxmsgcount)  ((count = vl.maxmsgcount
  return 1;
 
return 0;
@@ -228,7 +228,7 @@
*/
 
if ((ret)  (usage != -1)) {
- if (((vl.diskquota)  (usage = vl.diskquota)) || (((vl.maxmsgcount) 
 (count = vl.maxmsgcount
+ if (((vl.diskquota)  (usage = (vl.diskquota * 100))) || 
(((vl.maxmsgcount)  (count = vl.maxmsgcount
 return 2;
}
 
Index: vpopmaild.c
===
--- vpopmaild.c (revision 939)
+++ vpopmaild.c (working copy)
@@ -2031,6 +2031,7 @@
 tmpalias = valias_select(Alias, Domain);
 if (tmpalias == NULL) {
   snprintf(WriteBuf, sizeof(WriteBuf), RET_OK);
+ wait_write();
 } else {
   snprintf(WriteBuf, sizeof(WriteBuf), RET_OK_MORE);
   wait_write();

!DSPAM:4ab273ee32711076378410!


Re: [vchkpw] vpopmail 5.5 SVN domain quota fix

2009-09-17 Thread Matt Brookings
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Harm van Tilborg wrote:
 Hi people (Matt especially :]),
 
 I've included a patch against vpopmail's current SVN trunk. It fixes a
 wrong comparison of the quota, which makes domains with a quota almost
 directly deny the message, since it believes the domain is over qutoa.
 
 The quota listed in the vlimit is in megabytes (well, mibi to be exact).
 The fix is quite trivial.
 
 It also includes a missing `+OK' response (okay, a missing
 `wait_write()') in vpopmaild - when there was no such alias.

I'll look over the patch.
Thanks!
- --
/*
Matt Brookings m...@inter7.com   GnuPG Key FAE0672C
Software developer Systems technician
Inter7 Internet Technologies, Inc. (815)776-9465
*/
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.9 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iEYEARECAAYFAkqypBMACgkQIwet2/rgZyxWKgCeNQeyTlmXzRBXHLd4Hh6qn3OK
q8oAniApT86WAsz3a9AaBV1tY6gLHzNA
=UMIs
-END PGP SIGNATURE-


Re: [vchkpw] Re: multiple mails

2009-09-17 Thread David Milholen
If you are a linux user just take a look at the processes and load on 
server by using the command top during the known peak hours of 
operating. Look for spawned processes using lots of cpu.


Eric Shubert wrote:
If the server isn't receiving them twice, then I'd look at the 
possibility of them being pop'd twice somehow. I don't know how that 
might happen (all of my Outlook clients are using IMAP). I presume 
your customers are using pop3.


Bulend Kolay wrote:

I checked smtp logs for these mails.
But I couldn't see any duplicated mail.

What else may the problem be ?




- Original Message - From: Eric Shubert e...@shubes.net
To: vchkpw@inter7.com
Sent: Friday, September 11, 2009 4:57 PM
Subject: [vchkpw] Re: multiple mails



Bulend Kolay wrote:

I use vpopmail on qmail.

I have many customer domains on that mail server.
One of these customer domains tells me that, they rarely receive 
the same mail a few times.  That problem becomes nearly once a week 
for this customer.

I haven't any complain from my other customers.
They use outlook or o.express for their mails.
What may the problem be ?

Do I have to change my configuration ?





This can be caused by the load on your server. Sometimes a long scan 
time will cause the sending server to time out before the scan is 
complete and your server acknowledges receipt. The sending server 
then obligingly resends. Check the smtp logs for the corresponding 
duplicate email. You'll see 2 receipts for it if this is what's 
happening.


--
-Eric 'shubes'












!DSPAM:4ab2aed232718661119590!



Re: [vchkpw] vpopmail 5.5 SVN domain quota fix

2009-09-17 Thread Harm van Tilborg

Hi Matt,

I forgot to mention that with the current 5.5.0 release (on SF.net) all 
my problems with the weird total domain usage are gone. Well, with my 
both patches applied that is: the one in this topic's original message, 
and the one that deals with symbolic links.


I'm testing the 5.5.0 on a test server. I'll let you know if I find more 
things...


--
Kind regards,
Harm van Tilborg

Matt Brookings wrote:

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Harm van Tilborg wrote:

Hi people (Matt especially :]),

I've included a patch against vpopmail's current SVN trunk. It fixes a
wrong comparison of the quota, which makes domains with a quota almost
directly deny the message, since it believes the domain is over qutoa.

The quota listed in the vlimit is in megabytes (well, mibi to be exact).
The fix is quite trivial.

It also includes a missing `+OK' response (okay, a missing
`wait_write()') in vpopmaild - when there was no such alias.


I'll look over the patch.
Thanks!
- --
/*
Matt Brookings m...@inter7.com   GnuPG Key FAE0672C
Software developer Systems technician
Inter7 Internet Technologies, Inc. (815)776-9465
*/
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.9 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iEYEARECAAYFAkqypBMACgkQIwet2/rgZyxWKgCeNQeyTlmXzRBXHLd4Hh6qn3OK
q8oAniApT86WAsz3a9AaBV1tY6gLHzNA
=UMIs
-END PGP SIGNATURE-


!DSPAM:4ab3113932711054438968!