[qmailadmin] can't create forward

2004-06-23 Thread Patrick Liechty
Hello,

I have Qmail Admin 1.2.0 on Solaris with NetQmail 1.05 and Vpopmail 5.40.  I
create a forward in Qmail Admin but it does not create the .qmail-user file
in the domains/domain directory.  I also checked to see if it creates a
.qmail file in the domains/domain/user directory, but it doesn't.  I don't
see any error messages.  It acts like it created the forward file
successfully.  Is this a bug?

Patrick Liechty




Re: [qmailadmin] can't create forward

2004-06-24 Thread Ken Jones
On Wednesday 23 June 2004 02:24 pm, Patrick Liechty wrote:
> Hello,
>
> I have Qmail Admin 1.2.0 on Solaris with NetQmail 1.05 and Vpopmail 5.40. 
> I create a forward in Qmail Admin but it does not create the .qmail-user
> file in the domains/domain directory.  I also checked to see if it creates
> a .qmail file in the domains/domain/user directory, but it doesn't.  I
> don't see any error messages.  It acts like it created the forward file
> successfully.  Is this a bug?
>
> Patrick Liechty

Does qmailadmin display the forward information?

Ken Jones


Re: [qmailadmin] can't create forward

2004-06-24 Thread Patrick Liechty


> On Wednesday 23 June 2004 02:24 pm, Patrick Liechty wrote:
> > Hello,
> >
> > I have Qmail Admin 1.2.0 on Solaris with NetQmail 1.05 and Vpopmail
5.40.
> > I create a forward in Qmail Admin but it does not create the .qmail-user
> > file in the domains/domain directory.  I also checked to see if it
creates
> > a .qmail file in the domains/domain/user directory, but it doesn't.  I
> > don't see any error messages.  It acts like it created the forward file
> > successfully.  Is this a bug?
> >
> > Patrick Liechty
>
> Does qmailadmin display the forward information?
>
> Ken Jones
>
>

If I create a forward manually, yes it will display it.  Last night I
installed Qmail Admin 1.06 and I was able to create forwards.  There must be
a bug in 1.2.0.  I even tried the developer version 1.2.1 and it didn't work
either.  I saw that dotqmail.c had not really changed between versions.  It
looks like the problem is in alias.c.  I am going to track down the problem
and fix it myself, but if anyone else has this problem and has already fixed
it, I would love to just get a patch.

Patrick




Re: [qmailadmin] can't create forward

2004-06-24 Thread Tom Collins
On Jun 24, 2004, at 8:20 AM, Patrick Liechty wrote:
If I create a forward manually, yes it will display it.  Last night I
installed Qmail Admin 1.06 and I was able to create forwards.  There 
must be
a bug in 1.2.0.  I even tried the developer version 1.2.1 and it 
didn't work
either.  I saw that dotqmail.c had not really changed between 
versions.  It
looks like the problem is in alias.c.  I am going to track down the 
problem
and fix it myself, but if anyone else has this problem and has already 
fixed
it, I would love to just get a patch.
1.2.1 introduced support for aliases stored in MySQL (valias).  If 
you're running vpopmail 5.4.0 or later with --enable-valias, then make 
sure you install QmailAdmin 1.2.1.

As long as QmailAdmin 1.2.1 is installed with the correct permissions 
(it needs to have access to ~vpopmail/etc/vpopmail.mysql) then it 
should work.

You can test this by TEMPORARILY making vpopmail.mysql world readable 
(and make sure the directories above it are world readable as well).  
If that solves the problem, then look to how qmailadmin was installed 
(suid isn't working as it should).

Be sure to set the permissions of vpopmail.mysql back when you're done. 
 It's a huge security hole to have that file world-readable.

--
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: [qmailadmin] can't create forward

2004-06-25 Thread Patrick Liechty


> On Jun 24, 2004, at 8:20 AM, Patrick Liechty wrote:
> > If I create a forward manually, yes it will display it.  Last night I
> > installed Qmail Admin 1.06 and I was able to create forwards.  There
> > must be
> > a bug in 1.2.0.  I even tried the developer version 1.2.1 and it
> > didn't work
> > either.  I saw that dotqmail.c had not really changed between
> > versions.  It
> > looks like the problem is in alias.c.  I am going to track down the
> > problem
> > and fix it myself, but if anyone else has this problem and has already
> > fixed
> > it, I would love to just get a patch.
>
> 1.2.1 introduced support for aliases stored in MySQL (valias).  If
> you're running vpopmail 5.4.0 or later with --enable-valias, then make
> sure you install QmailAdmin 1.2.1.
>
> As long as QmailAdmin 1.2.1 is installed with the correct permissions
> (it needs to have access to ~vpopmail/etc/vpopmail.mysql) then it
> should work.
>
> You can test this by TEMPORARILY making vpopmail.mysql world readable
> (and make sure the directories above it are world readable as well).
> If that solves the problem, then look to how qmailadmin was installed
> (suid isn't working as it should).
>
> Be sure to set the permissions of vpopmail.mysql back when you're done.
>   It's a huge security hole to have that file world-readable.
>
> --
> Tom Collins  -  [EMAIL PROTECTED]


Well, I don't really want to use MySQL.  I think 1.2.0 should work since
1.0.6 does (as far as suid goes).  What suid settings should I look for to
make sure they are correct?

Patrick




Re: [qmailadmin] can't create forward

2004-06-25 Thread Tom Collins
On Jun 25, 2004, at 3:51 PM, Patrick Liechty wrote:
Well, I don't really want to use MySQL.  I think 1.2.0 should work 
since
1.0.6 does (as far as suid goes).  What suid settings should I look 
for to
make sure they are correct?
I had assumed the problems were MySQL related...
If you're using CDB backend, then it should be working fine.  
QmailAdmin has enough privileges to access the vpasswd file to 
authenticate users, so it should also have enough access to create the 
.qmail-alias file.

If you could test some of the other releases (like 1.0.28) on 
qmailadmin.sf.net, it might help narrow down where the problem was 
introduced.

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