[vchkpw] virtual users

2003-10-17 Thread jean wainer
Is it possible to user vpopmail for managing ONLY virtual users for my
domain?
I dont want to use virtual domains, all the 50k users will be on the same
domain, and I dont want to make them type anything but their username.
My intentions is to make a webmail+pop system for 50k users.

Thanks in advance,

Jw




Re: [vchkpw] virtual users

2003-10-17 Thread Rick Macdougall


jean wainer wrote:

Is it possible to user vpopmail for managing ONLY virtual users for my
domain?
I dont want to use virtual domains, all the 50k users will be on the same
domain, and I dont want to make them type anything but their username.
My intentions is to make a webmail+pop system for 50k users.
Hi,

Yes, see vipmap

Regards,

Rick





Re: [vchkpw] virtual users

2003-10-17 Thread jean wainer
Thanks for all your help, and since you brought up that webmail subject, I
would like to ask your opinion about sqwebmail and other webmails.
I'm thinking about using sqwebmail for 3 reasons: As I understand, it reads
mail directly from the maildir, so I dont need to install a pop/imap server
and access to file should be faster.
Plus, i saw that i can customize it and probably have a better integration
with vpopmail for my client to manage the accounts.

Sorry if i'm talking bs here, i'm about to install qmail/vpopmail/sqwebmail
in a few minutes and haven't messed with inter7 tools yet.. :)

thanks

Jw

- Original Message - 
From: Richard Rawlings :: Pulse8 :: [EMAIL PROTECTED]
To: 'jean wainer' [EMAIL PROTECTED]
Sent: Friday, October 17, 2003 12:25 PM
Subject: RE: [vchkpw] virtual users


 I didn't mention...that config is for sqwebmail. If you choose to use it
 then it supports what you want to do. I prefer the 'feel' of IMP though.

 -Original Message-
 From: jean wainer [mailto:[EMAIL PROTECTED]
 Sent: 17 October 2003 16:00
 To: [EMAIL PROTECTED]
 Subject: [vchkpw] virtual users

 Is it possible to user vpopmail for managing ONLY virtual users for my
 domain?
 I dont want to use virtual domains, all the 50k users will be on the
 same
 domain, and I dont want to make them type anything but their username.
 My intentions is to make a webmail+pop system for 50k users.

 Thanks in advance,

 Jw









RE: [vchkpw] vpopmail 5.3.27 + mysql + mac osx mail

2003-10-17 Thread Russell Mann
 On Thursday, October 16, 2003, at 04:14  PM, Russell Mann wrote:
  On Thursday, October 16, 2003, at 09:55  AM, Russell Mann wrote:
  When a Mac OS X Mail.app client POP's in for mail, I always get an
  error
  log message like this:
 
  vchkpw-pop3: password fail (pass: 'd502e3b49fb33d7f7d419d469b51a5a0')
  EMAIL
  ADDRESS:IP ADDRESS
 
  Have them launch Mail.app, go into Preferences, select Accounts, 
  go
  to the Advanced tab and check the Authentication popup.  I'm able
  to use MD5 Challenge-Response or Password on my system.  See if they
  have it set to one of the Kerberos options.  Or, if it's set to MD5,
  have them try Password.
 
  I checked the Authentication preferences.  They were already set to
  password.  I set them to MD5 to see what happens and the MUA 
  wasn't able
  to POP in.
 
  Any other ideas?
 
 What version of vpopmail are you using, and which POP3 server?
 
 --
 Tom Collins  -  [EMAIL PROTECTED]


Vpopmail 5.3.27

./configure \
--enable-roaming-users=y \
--enable-tcpserver-file=/home/vpopmail/etc/tcp.smtp \
--enable-tcprules-prog=/usr/local/bin/tcprules \
--enable-relay-clear-minutes=180 \
--enable-auth-logging=y \
--enable-logging=p \
--enable-learn-passwords=y \
--enable-clear-passwd=y \
--enable-mysql=y \
--enable-incdir=/usr/include/mysql \
--enable-libdir=/usr/lib/mysql \
--enable-mysql-logging=y \
--enable-valias=y \
--enable-mysql-limits=n \
--enable-many-domains=n  \
--enable-qmail-ext=y \
--enable-defaultquota=5000


[EMAIL PROTECTED] bin]# more /service/qmail-pop3d/run 
#!/bin/sh
VPOPMAILUID=`id -u vpopmail`
VPOPMAILGID=`id -g vpopmail`
exec /usr/local/bin/softlimit -m 400 \
/usr/local/bin/tcpserver -H -R -v \
-u$VPOPMAILUID -g$VPOPMAILGID \
-c100 0 pop3 \
/var/qmail/bin/qmail-popup judah.khouse.org \
/home/vpopmail/bin/vchkpw \
/var/qmail/bin/qmail-pop3d Maildir 21





[vchkpw] Vpopmail question

2003-10-17 Thread Mike Smith




If i were to install 
qmail and vpopmail on a second server and then just copy the entire 
/home/vpopmail folder
to the other 
machine, would all the email and mailboxes be tranferred to the new 
machine?

thanks

-Mike


Re: [vchkpw] virtual users

2003-10-17 Thread jean wainer
 I used sqwebmail for a few years, always hoping it would mature into a
 decent package.  The technical abilities of sqwebmail are great, but the
 interface is ugly and difficult for my end-users.  I recently bit the
 bullet, installed an IMAP server and went with SquirrelMail.  Happier
users,
 happier sysadmin.

Isn't sqwebmail interface customizable? What about squirrelmail? I use it at
home, but haven't messed with interface yet.

And for being written in PHP, is squirrelmail more lightweight than
sqwebmail (which is in perl, right?)?

What i'm about to build is a public 50k+ user webmail system, and the
interface must be customized.
I'd hate to have to write a webmail from scratch =[

Thanks,

Jw.





Re: [vchkpw] Vpopmail question

2003-10-17 Thread David Bristol
As far as vpopmail goes, you would need the cgi-bin directory as well.
Also, for both qmail and vpopmail you would have to have the same user
and group accounts with the same UID/GIDs on the machine that you are
transferring to. 

Qmail will barf on the queues as soon as you transfer it, but there is a
way (I don't remember personally) to regenerate the queues. Other than
that, theoretically, it should work.

On Fri, 2003-10-17 at 19:36, Mike Smith wrote:
 If i were to install qmail and vpopmail on a second server and then
 just copy the entire /home/vpopmail folder
 to the other machine, would all the email  and mailboxes be tranferred
 to the new machine?
  
 thanks
  
 -Mike




Re: [vchkpw] Vpopmail question

2003-10-17 Thread Matthew Berardi
I would start with a fresh queue on the new server and have the old
server deliver the queued mail to the new server by changing the controls:
remove the entries from control/virtualdomains and populate
control/smtproutes with static routes to the new server.
David Bristol wrote:
As far as vpopmail goes, you would need the cgi-bin directory as well.
Also, for both qmail and vpopmail you would have to have the same user
and group accounts with the same UID/GIDs on the machine that you are
transferring to. 

Qmail will barf on the queues as soon as you transfer it, but there is a
way (I don't remember personally) to regenerate the queues. Other than
that, theoretically, it should work.
On Fri, 2003-10-17 at 19:36, Mike Smith wrote:
 

If i were to install qmail and vpopmail on a second server and then
just copy the entire /home/vpopmail folder
to the other machine, would all the email  and mailboxes be tranferred
to the new machine?
thanks

-Mike
   



 







[vchkpw] 110 locks up qmail+vpopmail

2003-10-17 Thread martin
Hi -

 I got vpopmail up and running with qmail I created my virtual 
account and was able to send recieve a few emails with the accout...so 
life is good.  However..I added my 2nd v-domain and port 110 seems to 
have locked up.  I even attemept to telnet to 100 while in the machine 
and it just hange there saying connecting to 192.168.0.12 with the 
escape info...and that is it.  I rebooted the macine...and as was well 
for a little bit...then it has happened again.  Have I messed something up?

thanks,
Martin



Re: [vchkpw] virtual users

2003-10-17 Thread W.D. McKinney
On Fri, 2003-10-17 at 09:51, jean wainer wrote:
  I used sqwebmail for a few years, always hoping it would mature into a
  decent package.  The technical abilities of sqwebmail are great, but the
  interface is ugly and difficult for my end-users.  I recently bit the
  bullet, installed an IMAP server and went with SquirrelMail.  Happier
 users,
  happier sysadmin.
 
 Isn't sqwebmail interface customizable? What about squirrelmail? I use it at
 home, but haven't messed with interface yet.
 
 And for being written in PHP, is squirrelmail more lightweight than
 sqwebmail (which is in perl, right?)?
 
 What i'm about to build is a public 50k+ user webmail system, and the
 interface must be customized.
 I'd hate to have to write a webmail from scratch =[
 
 Thanks,
 
 Jw.
 

Take a look at http://atmail.com/index.ehtml
Written in perl, easily customized and works well with qmail, vpopmail,
and qmailadmin, etc.


-- 
W.D.McKinney (Dee)  | Affordable E-Mail and Internet Solutions
Alaska Wireless Systems | for Schools, Libraries, Clinics  Business'
http://www.akwireless.net   | Call 1-907-349-4308   




[vchkpw] Multi domain bounce message handling

2003-10-17 Thread Sigmund Gudvangen
Hi,

I am in the process of testing out a small qmail/vpopmail server, with two 
domains; domA.com and domB.com. I have set up one of the domains domA.com as 
the defult, i.e. /etc/qmail/defaultdomain contains domA.com.

Booth domains work as intended for normal mail delivery, but if I send mail to 
e.g. a nonexisting user at either domain, the bounce message is always from 
domainA.com:

Hi. This is the qmail-send program at domA.com. 
I'm afraid I wasn't able to deliver your message to the following addresses. 
This is a permanent error; I've given up. Sorry it didn't work out. 

Moreover, the failure notices are allways sent to [EMAIL PROTECTED], never 
to [EMAIL PROTECTED] 

Is there a way to ensure that bounce messages arrive from the correct domain 
and that fairure messages reches the correct postmaster? 

Regards
Sigmund.



Re: [vchkpw] 110 locks up qmail+vpopmail

2003-10-17 Thread David Bristol
When this happens, try running qmailctl stat and ps aux |more . Look for
any qmail services that are not running, or any readproctitle service
errors. Also, make sure you do not have any other servers/services
running on port 110 (qmailctl stop - then - nmap localhost. If anything
comes up on 110, qmail will not be able to bind to that port.) 

I had something similar to this happening on a system for a while, but
it was because the pop service kept dying (because of invalid DNS
entries as near as I can tell.)

On Fri, 2003-10-17 at 22:11, martin wrote:
 Hi -
 
   I got vpopmail up and running with qmail I created my virtual 
 account and was able to send recieve a few emails with the accout...so 
 life is good.  However..I added my 2nd v-domain and port 110 seems to 
 have locked up.  I even attemept to telnet to 100 while in the machine 
 and it just hange there saying connecting to 192.168.0.12 with the 
 escape info...and that is it.  I rebooted the macine...and as was well 
 for a little bit...then it has happened again.  Have I messed something up?
 
 thanks,
 Martin
 
 
 




Re: [vchkpw] Multi domain bounce message handling

2003-10-17 Thread X-Istence
Sigmund Gudvangen wrote:

Hi,

I am in the process of testing out a small qmail/vpopmail server, with two 
domains; domA.com and domB.com. I have set up one of the domains domA.com as 
the defult, i.e. /etc/qmail/defaultdomain contains domA.com.

Booth domains work as intended for normal mail delivery, but if I send mail to 
e.g. a nonexisting user at either domain, the bounce message is always from 
domainA.com:

Hi. This is the qmail-send program at domA.com. 
I'm afraid I wasn't able to deliver your message to the following addresses. 
This is a permanent error; I've given up. Sorry it didn't work out. 

Moreover, the failure notices are allways sent to [EMAIL PROTECTED], never 
to [EMAIL PROTECTED] 

Is there a way to ensure that bounce messages arrive from the correct domain 
and that fairure messages reches the correct postmaster? 

Regards
Sigmund.


 

I have the same problem, and have yet to find a fix.




Re: [vchkpw] Multi domain bounce message handling

2003-10-17 Thread David Bristol
This may not be the way to go about this, but have you verified that
both domains are in the qmail/control/locals file?

On Sat, 2003-10-18 at 02:16, X-Istence wrote:
 Sigmund Gudvangen wrote:
 
 Hi,
 
 I am in the process of testing out a small qmail/vpopmail server, with two 
 domains; domA.com and domB.com. I have set up one of the domains domA.com as 
 the defult, i.e. /etc/qmail/defaultdomain contains domA.com.
 
 Booth domains work as intended for normal mail delivery, but if I send mail to 
 e.g. a nonexisting user at either domain, the bounce message is always from 
 domainA.com:
 
 Hi. This is the qmail-send program at domA.com. 
 I'm afraid I wasn't able to deliver your message to the following addresses. 
 This is a permanent error; I've given up. Sorry it didn't work out. 
 
 Moreover, the failure notices are allways sent to [EMAIL PROTECTED], never 
 to [EMAIL PROTECTED] 
 
 Is there a way to ensure that bounce messages arrive from the correct domain 
 and that fairure messages reches the correct postmaster? 
 
 Regards
 Sigmund.
 
 
 
 
   
 
 I have the same problem, and have yet to find a fix.
 
 
 




Re: [vchkpw] Multi domain bounce message handling

2003-10-17 Thread Tom Collins
On Friday, October 17, 2003, at 05:27  PM, David Bristol wrote:
This may not be the way to go about this, but have you verified that
both domains are in the qmail/control/locals file?
Don't put vpopmail domains in control/locals.  You'll mess things up.

There isn't a known solution to what was asked.  Doublebounces go to 
the postmaster of the server.  Bounce messages refer to the name of the 
physical server, and not the domain name.

You might be able to modify qmail-send, but it would be very difficult 
to determine what hostname to use in the bounce message.

What if there are multiple recipients that bounced?
What if it's a message one of your user's is trying to send to a 
hotmail address?  You don't want it to say that your server is 
hotmail.com.

For debugging purposes, it's best to have the server use it's real 
name.  You can adjust that by editing control/bouncehost and setting it 
to a single name.

--
Tom Collins  -  [EMAIL PROTECTED]
Note: The Tom Logic offices will be closed October 23 to November 18.
QmailAdmin: http://qmailadmin.sf.net/  Vpopmail: http://vpopmail.sf.net/
Info on the Sniffter hand-held Network Tester: http://sniffter.com/



[vchkpw] Vpopmail with Ldap

2003-10-17 Thread Paulo Fragoso
Hi,

I'm trying to compile vpopmail 5.3.28 on FreeBSD 5.1 with 
--enable-ldap=y, but I'm getting that error:

vauth.c: In function `vauth_getpw':
vauth.c:289: `in_domain' undeclared (first use in this function)
vauth.c:289: (Each undeclared identifier is reported only once
vauth.c:289: for each function it appears in.)
gmake[2]: *** [vauth.o] Error 1
Why was `in_domain' undeclared in vauth.c?

Thanks,
Paulo.



Re: [vchkpw] Multi domain bounce message handling

2003-10-17 Thread X-Istence




David Bristol wrote:

  This may not be the way to go about this, but have you verified that
both domains are in the qmail/control/locals file?

On Sat, 2003-10-18 at 02:16, X-Istence wrote:
  
  
Sigmund Gudvangen wrote:



  Hi,

I am in the process of testing out a small qmail/vpopmail server, with two 
domains; domA.com and domB.com. I have set up one of the domains domA.com as 
the defult, i.e. /etc/qmail/defaultdomain contains domA.com.

Booth domains work as intended for normal mail delivery, but if I send mail to 
e.g. a nonexisting user at either domain, the bounce message is always from 
domainA.com:

Hi. This is the qmail-send program at domA.com. 
I'm afraid I wasn't able to deliver your message to the following addresses. 
This is a permanent error; I've given up. Sorry it didn't work out. 

Moreover, the failure notices are allways sent to [EMAIL PROTECTED], never 
to [EMAIL PROTECTED]. 

Is there a way to ensure that bounce messages arrive from the correct domain 
and that fairure messages reches the correct postmaster? 

Regards
Sigmund.




 

  

I have the same problem, and have yet to find a fix.




  
  


  

They are with me.




Re: [vchkpw] Vpopmail with Ldap

2003-10-17 Thread Tom Collins
On Friday, October 17, 2003, at 06:08  PM, Paulo Fragoso wrote:
I'm trying to compile vpopmail 5.3.28 on FreeBSD 5.1 with 
--enable-ldap=y, but I'm getting that error:

vauth.c: In function `vauth_getpw':
vauth.c:289: `in_domain' undeclared (first use in this function)
vauth.c:289: (Each undeclared identifier is reported only once
vauth.c:289: for each function it appears in.)
gmake[2]: *** [vauth.o] Error 1
Why was `in_domain' undeclared in vauth.c?
That's a known problem, fixed in CVS and the unreleased 5.3.29 on my 
server.  I'll try to release 5.3.29 sometime this weekend.

--
Tom Collins  -  [EMAIL PROTECTED]
Note: The Tom Logic offices will be closed October 23 to November 18.
QmailAdmin: http://qmailadmin.sf.net/  Vpopmail: http://vpopmail.sf.net/
Info on the Sniffter hand-held Network Tester: http://sniffter.com/



Re: [vchkpw] Multi domain bounce message handling

2003-10-17 Thread X-Istence
Tom Collins wrote:

On Friday, October 17, 2003, at 05:27  PM, David Bristol wrote:

This may not be the way to go about this, but have you verified that
both domains are in the qmail/control/locals file?


Don't put vpopmail domains in control/locals.  You'll mess things up.

There isn't a known solution to what was asked.  Doublebounces go to 
the postmaster of the server.  Bounce messages refer to the name of 
the physical server, and not the domain name.

You might be able to modify qmail-send, but it would be very difficult 
to determine what hostname to use in the bounce message.

What if there are multiple recipients that bounced?
What if it's a message one of your user's is trying to send to a 
hotmail address?  You don't want it to say that your server is 
hotmail.com.

For debugging purposes, it's best to have the server use it's real 
name.  You can adjust that by editing control/bouncehost and setting 
it to a single name.

--
Tom Collins  -  [EMAIL PROTECTED]
Note: The Tom Logic offices will be closed October 23 to November 18.
QmailAdmin: http://qmailadmin.sf.net/  Vpopmail: http://vpopmail.sf.net/
Info on the Sniffter hand-held Network Tester: http://sniffter.com/




Hrm, i have the domains in locals, and it has been there for like ever. 
Shrug.




[vchkpw] Changing vpopmail options..

2003-10-17 Thread Brian
Hello all,

I'm looking to implement domain quota's in vpopmail.  This is an existing
vpopmail install that previously was created w/o domain quota's.

My question is what do I have to do to add domain quotas to already existing
domains.. and how do I create new domains that are aware of the 'domain
quota'

It seems when I make new domains or new users in domains they get the same
old HARDQUOTA value..

what am I doing wrong?

Thanks in advance,

Brian


This is in FreeBSD, and below is the result from my make configure:

   vpopmail 5.3.28
Current settings
---

vpopmail directory = /usr/local/vpopmail
   uid = 89
   gid = 89
  ip alias = OFF --enable-ip-alias-domains=n (default)
address extentions = ON  --enable-qmail-ext=y
rebuild tcpserver file = YES  --enable-rebuild-tcpserver-file=y (default)
 roaming users = ON  --enable-roaming-users=y
tcpserver file = /usr/local/vpopmail/etc/tcp.smtp
open_smtp file = /usr/local/vpopmail/etc/open-smtp
user quota = 5242880S -enable-hardquota=5242880S
 domain quotas = ON  --enable-domainquotas=y
   auth module = mysql --enable-mysql=y
 mysql replication = OFF --enable-mysql-replication=n (default)
table optimization = many domains --enable-many-domains=y (default)
  system passwords = ON  --enable-passwd=y
  file locking = ON  --enable-file-locking=y (default)
 file sync = OFF --enable-file-sync=n disable vdelivermail fsync
 (default)
 make seekable = ON  --enable-make-seekable=y (default)
  auth logging = ON  --enable-auth-logging=y (default)
 mysql logging = ON  --enable-mysql-logging=y
  clear passwd = ON  --enable-clear-passwd=y (default)
 users big dir = ON  --enable-users-big-dir=y (default)
 valias processing = OFF --enable-valias=n
  mysql limits = OFF --enable-mysql-limits=n (default)
pop syslog = show failure attempts with clear text password
 --enable-logging=p
  auth inc = -I/usr/local/include/mysql
  auth lib = -L/usr/local/lib/mysql  -lmysqlclient -lz

This is how vpopmail is defined:

mysql describe vpopmail;
+-+---+--+-+-+---+
| Field   | Type  | Null | Key | Default | Extra |
+-+---+--+-+-+---+
| pw_name | char(32)  |  | PRI | |   |
| pw_domain   | char(64)  |  | PRI | |   |
| pw_passwd   | char(40)  | YES  | | NULL|   |
| pw_uid  | int(11)   | YES  | | NULL|   |
| pw_gid  | int(11)   | YES  | | NULL|   |
| pw_gecos| char(48)  | YES  | | NULL|   |
| pw_dir  | char(160) | YES  | | NULL|   |
| pw_shell| char(20)  | YES  | | NULL|   |
| pw_clear_passwd | char(16)  | YES  | | NULL|   |
+-+---+--+-+-+---+
9 rows in set (0.00 sec)

This is the contents of my .qmailadmin-limits in the test box that I am
trying this on:

maxpopaccounts: 10
maxaliases: 10
maxforwards: 10
maxautoresponders: 10
maxmailinglists: 10
quota:52428800S

(trying to make a 50M quota for this domain)