Re: [vchkpw] PHP extension for vpopmail

2004-03-01 Thread rainer


 Eduardo M. Bragatto wrote:
 Rick Widmer wrote:

 There are two ways to run the extension that I know of.

 o Start a separate instance of Apache on its own port or IP address,
 running as the mail user.  This instance should only serve mail related
 pages.  This is very easy to do.

 o Don't allow any web sites on the mail server.  Only run QmailAdmin
 and
 sqWebmail on the mail server, and don't allow anyone but mail system
 administrators to login on the machine.  (This is the one I use.)


I've got a question.

If one runs such a dedicated apache-instance (uid=vpopmail) on a more or
less random port bound to localhost - would it be possible to
reverse-proxy your script through the main instance on port 80/443 ?
Generally, this works best when the site uses no JavaScript and only
relative links.
That would keep the single system image to end-users and administrators.



cheers,
Rainer


Re: [vchkpw] Problems with SMTP Relay

2004-03-01 Thread Marcos Dutra
I suggest smtp authenticate then pop before smtp.

Marcos


Em Sex 27 Fev 2004 10:57, Juliano Primavesi - CyberWeb Networks escreveu:
 Where can I find this patch?

 Juliano

 Neil Spierling wrote:
  Is there any special way of configure'ing vpopmail when tcpserver has
  the patch applied n installed (ie --enable-tcpserver-file etc flags)
 
  -Original Message-
  From: Shane Chrisp [mailto:[EMAIL PROTECTED]
  Sent: Friday, 27 February 2004 3:30 p.m.
  To: [EMAIL PROTECTED]
  Subject: RE: [vchkpw] Problems with SMTP Relay
 
  Your other option is to run the mysql patch for tcpserver. This lets
  tcpserver lookup the relay table instead of using the cdb. Far more
  efficient in my finding so far.
 
  Shane



Re: [vchkpw] POP3 Delays

2004-03-01 Thread Troy Bouchard
On Fri, 2004-02-27 at 16:54, W.D.McKinney wrote:
  
  not reliable? nonsense. My customers routinely send messages up to 100MB in 
  size.
  
 
 Paul is correct. We see large files all the time. No problems.
 
 Dee

Does anyone have a fix then?  Is there something I need to give you to
work out this problem?

Regards,

TroyB



Re: [vchkpw] Problems with SMTP Relay

2004-03-01 Thread Juliano Primavesi - CyberWeb Networks
Oi marcos, 

Qual, patch vocês instalaram aí?

Juliano

Marcos Dutra wrote:
 
 I suggest smtp authenticate then pop before smtp.
 
 Marcos
 
 Em Sex 27 Fev 2004 10:57, Juliano Primavesi - CyberWeb Networks escreveu:
  Where can I find this patch?
 
  Juliano
 
  Neil Spierling wrote:
   Is there any special way of configure'ing vpopmail when tcpserver has
   the patch applied n installed (ie --enable-tcpserver-file etc flags)
  
   -Original Message-
   From: Shane Chrisp [mailto:[EMAIL PROTECTED]
   Sent: Friday, 27 February 2004 3:30 p.m.
   To: [EMAIL PROTECTED]
   Subject: RE: [vchkpw] Problems with SMTP Relay
  
   Your other option is to run the mysql patch for tcpserver. This lets
   tcpserver lookup the relay table instead of using the cdb. Far more
   efficient in my finding so far.
  
   Shane


[vchkpw] I had a problem with this (Was: Re: [vchkpw] How do I enable roaming users?)

2004-03-01 Thread Marc Nicholas
FYI...I couldn't get -enable-roaming-users=y working on a recent
installation. Solution turned out to not use the 5.2.2 version on the Inter7
site and download the 5.4.0 dev snapshot! Worked like a treat after that...

(Netqmail-1.05 on RH9 install).

-marc


Marc Nicholas - Geekythings, Inc.
Vox: 416.543.4896 SMS: [EMAIL PROTECTED]


 From: Axiom [EMAIL PROTECTED]
 Reply-To: [EMAIL PROTECTED]
 Date: Sat, 28 Feb 2004 14:06:15 -0700
 To: [EMAIL PROTECTED]
 Subject: [vchkpw] How do I enable roaming users?
 
 Hi All, 
 
 I'm having great difficulty with something that I feel is pretty straight
 forward. 
 
 I cannot figure out how to get enable roaming users.
 
 I am running a system with FreeBSD 5.1 + qmail + vpopmail + courier-imap.
 
 All I want to be able to do is add the --enable-roaming-users=y option to my
 vpopmail installation. Apparently I didn't add this option when I originally
 installed vpopmail because I have edited ~vpopmail/etc/tcp.smtp to include
 my local network (192.168.1:allow,RELAYCLIENT=) to be able to relay mail
 through the server and then ran the ~vpopmail/bin/clearopensmtp program to
 update my ~vpopmail/etc/tcp.smtp.cdb file.
 
 I am still unable to send mail using Outlook 2003 from 192.168.1.2 address.
 I've tried re-compiling vpopmail and including the --enable-roaming-users=y
 and then re-installing it to the same location (/usr/local/Apps/Vpopmail)
 but it has made no difference.
 
 How can I enable roaming users in my current situation?
 
 It seems like it should just work for me already.
 
 Thank you in advance for any help,
 
 :: Casey Ralls ::
 :: Vector Networking Solutions ::
 :: http://www.vectorns.com ::
 :: [EMAIL PROTECTED]  ::
 



[vchkpw] Re: Quota Usage Plugin - UPDATED PATCH

2004-03-01 Thread Tom Collins
On Mar 1, 2004, at 3:37 AM, frankie wrote:
After patch, vsetuserquota seems to be ok. But problem still exist if 
the email account is created or amended by qmailadmin.
Any other suggestion ?
I guess you're right.  I'm surprised no one reported this earlier -- 
this code has been in vpopmail for many releases now.  The previous 
patch to vsetuserquota.c is unnecessary, use this patch to vpopmail.c 
instead.

--- vpopmail.c  22 Feb 2004 22:50:48 -  1.29
+++ vpopmail.c  1 Mar 2004 15:33:18 -
@@ -1543,6 +1543,7 @@
 int vsetuserquota( char *username, char *domain, char *quota )
 {
  struct vqpasswd *mypw;
+ char *formattedquota;
  int ret;
   if ( strlen(username) = MAX_PW_NAME ) return(VA_USER_NAME_TOO_LONG);
@@ -1558,7 +1559,8 @@
   /* correctly format the quota string,
* and then store the quota into the auth backend
*/
-  ret = vauth_setquota( username, domain, format_maildirquota(quota));
+  formattedquota = format_maildirquota(quota);
+  ret = vauth_setquota( username, domain, formattedquota);
   if (ret != VA_SUCCESS ) return(ret);
   mypw = vauth_getpw( username, domain );
@@ -1569,7 +1571,7 @@
char maildir[MAX_BUFF];
 snprintf(maildir, sizeof(maildir), %s/Maildir/, mypw-pw_dir);
 umask(VPOPMAIL_UMASK);
-(void)vmaildir_readquota(maildir, quota);
+(void)vmaildir_readquota(maildir, formattedquota);
 if ( vget_assign(domain, NULL, 0, uid, gid)!=NULL) {
   strcat(maildir, maildirsize);
   chown(maildir,uid,gid);
--
Tom Collins  -  [EMAIL PROTECTED]
QmailAdmin: http://qmailadmin.sf.net/  Vpopmail: http://vpopmail.sf.net/
Info on the Sniffter hand-held Network Tester: http://sniffter.com/