Re: [vchkpw] vadddomain -O is broken in 5.4.0-pre1

2003-12-14 Thread Casey Zacek
Tom Collins wrote (at Sun, Dec 14, 2003 at 02:28:36PM -0700):
> There's an open bug report for it on SourceForge now.

I suppose I should get used to using that thing... sorry.

> In the long run, the 
> solution is to cache the information on the newly-added domain so 
> vget_assign can pull from the cache instead of trying to read the 
> users/cdb file (which hasn't been rebuilt yet).

Of course!  In the meantime, I just added a '-p' flag to the
vadddomain command to not add a postmaster account (I use
forwards/aliases for it), and that fixed my problem.  Patches are
forthcoming, but it may be a few days.

-- 
Casey Zacek
Senior Engineer
NeoSpire, Inc.



Re: [vchkpw] vadddomain -O is broken in 5.4.0-pre1

2003-12-14 Thread Tom Collins
On Sunday, December 14, 2003, at 06:44  AM, X-Istence wrote:
Submit a patch on sourceforge or put it on the list if possible, as 
you know why the problem happens.

If not, let me know where to look exactly, and ill take a look.
There's an open bug report for it on SourceForge now.

It may have worked at one time, but it doesn't now.  For the 5.4 
release, we may have to disable the flag.  In the long run, the 
solution is to cache the information on the newly-added domain so 
vget_assign can pull from the cache instead of trying to read the 
users/cdb file (which hasn't been rebuilt yet).

We're on top of it.

--
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/



Re: [vchkpw] Default and/or Virtual domain POP Access problem

2003-12-14 Thread foo
Casey Zacek <[EMAIL PROTECTED]> wrote:
>> I can use either the real or alias domain to login to sqwebmail and
>> qmailadmin on my server..  Sqwebmail even shows the "whatever you
>> logged in with" domain as your login name.

Hey, what do you know, it does work.  I remember a year or so ago it didn't.
Maybe it was a bug or something that got fixed, and I just never checked up
on it.  Oh well, thanks.




Re: [vchkpw] Default and/or Virtual domain POP Access problem

2003-12-14 Thread Casey Zacek
[EMAIL PROTECTED] wrote (at Sun, Dec 14, 2003 at 01:54:47PM -0500):
> From: "Casey Zacek" <[EMAIL PROTECTED]>
> | Why not just vaddaliasdomain?  Symlinks are for oldschool
> | crappy-method aliasdomains.
> 
> vaddaliasdomain doesn't let you truely interchange domains.  For example,
> you won't be able to use [EMAIL PROTECTED] as your username, only
> [EMAIL PROTECTED]  Yeah, this isn't a big deal, but when you've got a
> company where half the users use one domain, and half the users use another,
> it's just easier.  You avoid the retards saying "I DONT UNDERSTAND HOW IT'S
> WORKING??? MY EMAIL ADDRESS IS NOT @DOMAIN2.COM, IT'S @DOMAIN.COM!!!" when
> checking webmail.  Oh the horror sales reps bring upon me...
> 
> :(

I can use either the real or alias domain to login to sqwebmail and
qmailadmin on my server..  Sqwebmail even shows the "whatever you
logged in with" domain as your login name.

-- 
Casey Zacek
Senior Engineer
NeoSpire, Inc.



Re: [vchkpw] vadddomain -O is broken in 5.4.0-pre1

2003-12-14 Thread Casey Zacek
X-Istence wrote (at Sun, Dec 14, 2003 at 08:44:53AM -0500):
> Casey Zacek wrote:
> 
> >'vadddomain -O' is broken in 5.4.0-pre1, and probably others.
> >
> >The problem is that vget_assign() looks in [/var/qmail/]users/cdb for
> >the domain, and it's not there yet for the vadduser(postmaster) call.
> >
> >vsetuserquota(), after vadduser(), also uses vget_assign(), as does
> >vadddomain's main() directly if a catchall has been chosen.
> >
> >It's not a big deal to me, but I thought I'd point it out because it
> >probably shouldn't be broken in 5.4.0.
> 
> Submit a patch on sourceforge or put it on the list if possible, as you 
> know why the problem happens.
> 
> If not, let me know where to look exactly, and ill take a look.

The problem is that I don't see how this ever worked.  The -O causes
vadddomain to skip steps that are used by vget_assign().  The solution
is to not use the -O option.  Either that, or make the -O option take
domain names on standard input, read from a file, or take multiple
domain names on the command-line, perhaps.  That would be cool.  Right
now, though, I don't think I have time to patch it; I'm under
time-crunch (which is why I was using -O to begin with). :)

Actually, reading domain names from a file or stdin should be pretty
easy.  Maybe I'll do that.

-- 
Casey Zacek
Senior Engineer
NeoSpire, Inc.



Re: [vchkpw] Default and/or Virtual domain POP Access problem

2003-12-14 Thread foo
From: "Casey Zacek" <[EMAIL PROTECTED]>
| Why not just vaddaliasdomain?  Symlinks are for oldschool
| crappy-method aliasdomains.

vaddaliasdomain doesn't let you truely interchange domains.  For example,
you won't be able to use [EMAIL PROTECTED] as your username, only
[EMAIL PROTECTED]  Yeah, this isn't a big deal, but when you've got a
company where half the users use one domain, and half the users use another,
it's just easier.  You avoid the retards saying "I DONT UNDERSTAND HOW IT'S
WORKING??? MY EMAIL ADDRESS IS NOT @DOMAIN2.COM, IT'S @DOMAIN.COM!!!" when
checking webmail.  Oh the horror sales reps bring upon me...

:(




Re: [vchkpw] vadddomain -O is broken in 5.4.0-pre1

2003-12-14 Thread X-Istence
Casey Zacek wrote:

'vadddomain -O' is broken in 5.4.0-pre1, and probably others.

The problem is that vget_assign() looks in [/var/qmail/]users/cdb for
the domain, and it's not there yet for the vadduser(postmaster) call.
vsetuserquota(), after vadduser(), also uses vget_assign(), as does
vadddomain's main() directly if a catchall has been chosen.
It's not a big deal to me, but I thought I'd point it out because it
probably shouldn't be broken in 5.4.0.
 

Submit a patch on sourceforge or put it on the list if possible, as you 
know why the problem happens.

If not, let me know where to look exactly, and ill take a look.

X



[vchkpw] quotawarn messages

2003-12-14 Thread Werner Amon
Hi,

I have customers they become a quotawarnmessage, but their boxes are empty.
When i look in their box i can see a empty file quotawarn. It seems like 
that
vpopmail not delete this file automaticly, thats a great prob.

Any hints, someone?

greets from austria
Werner



Re: [vchkpw] Default and/or Virtual domain POP Access problem

2003-12-14 Thread Casey Zacek
[EMAIL PROTECTED] wrote (at Sun, Dec 14, 2003 at 12:36:22AM -0500):
>On Saturday, December 13, 2003, at 07:04 PM, nathan Gordon wrote:
>>
>>> Can I set Domain1.com up to allow POP access from the clients (in
>the
>>> same way as in Domain2.com and Domain3.com)?
>>
>> Compile vpopmail with --enable-passwd option to support system
>> accounts.
> 
>.. Or you could do this:
> 
>(domain.com is already setup on the box)
> 
>vadddomain domain2.com
> 
>rm -rf /home/vpopmail/domains/domain2.com
> 
>ln -s /home/vpopmail/domains/domain.com
>/home/vpopmail/domains/domain2.com
> 
>vadddomain domain3.com
>rm -rf /home/vpopmail/domains/domain3.com
>ln -s /home/vpopmail/domains/domain.com
>/home/vpopmail/domains/domain3.com
> 
>This allows for true mirror'd domains.

Why not just vaddaliasdomain?  Symlinks are for oldschool
crappy-method aliasdomains.

-- 
Casey Zacek
Senior Engineer
NeoSpire, Inc.