Re: probable vmailmgr bug (only under freebsd?) with vchforwards

Olivier Mueller <[email protected]> Fri, 19 Nov 2010 16:29:13 +0100
Newsgroups gmane.mail.vmailmgr
Message-ID <[email protected]>
Hi,

Hi On Mon, 2010-01-11 at 12:58 +0100, Joan Picanyol i Puig wrote:
> Regarding the issue you found modifying forwards from the cli, could you
> confirm/deny that it's FreeBSD-only and/or that the patch in
> http://lists.untroubled.org/?list=vmailmgr&cmd=showmsg&msgnum=9905
> solves it for you?
> Just for the sake of the archives :)

11 months late answer, sorry... :)   But unfortunately it's "no", but
because I can't compile it anymore once patched:


gmake[2]: Entering directory `/usr/ports/mail/vmailmgr/work/vmailmgr-0.97/lib'
Making all in misc
gmake[3]: Entering directory `/usr/ports/mail/vmailmgr/work/vmailmgr-0.97/lib/misc'
c++ -DHAVE_CONFIG_H -I. -I../.. -I..    -O2 -fno-strict-aliasing -pipe -fno-rtti -fno-exceptions -Wall -MT crc32.o -MD -MP -MF .deps/crc32.Tpo -c -o crc32.o crc32.cc
c++ -DHAVE_CONFIG_H -I. -I../.. -I..    -O2 -fno-strict-aliasing -pipe -fno-rtti -fno-exceptions -Wall -MT exec.o -MD -MP -MF .deps/exec.Tpo -c -o exec.o exec.cc
c++ -DHAVE_CONFIG_H -I. -I../.. -I..    -O2 -fno-strict-aliasing -pipe -fno-rtti -fno-exceptions -Wall -MT itoa.o -MD -MP -MF .deps/itoa.Tpo -c -o itoa.o itoa.cc
c++ -DHAVE_CONFIG_H -I. -I../.. -I..    -O2 -fno-strict-aliasing -pipe -fno-rtti -fno-exceptions -Wall -MT keystrlist.o -MD -MP -MF .deps/keystrlist.Tpo -c -o keystrlist.o keystrlist.cc
mv -f .deps/itoa.Tpo .deps/itoa.Po
mv -f .deps/crc32.Tpo .deps/crc32.Po
c++ -DHAVE_CONFIG_H -I. -I../.. -I..    -O2 -fno-strict-aliasing -pipe -fno-rtti -fno-exceptions -Wall -MT list_table.o -MD -MP -MF .deps/list_table.Tpo -c -o list_table.o list_table.cc
c++ -DHAVE_CONFIG_H -I. -I../.. -I..    -O2 -fno-strict-aliasing -pipe -fno-rtti -fno-exceptions -Wall -MT lookup_baseuser.o -MD -MP -MF .deps/lookup_baseuser.Tpo -c -o lookup_baseuser.o lookup_baseuser.cc
mv -f .deps/keystrlist.Tpo .deps/keystrlist.Po
c++ -DHAVE_CONFIG_H -I. -I../.. -I..    -O2 -fno-strict-aliasing -pipe -fno-rtti -fno-exceptions -Wall -MT lookup_domain.o -MD -MP -MF .deps/lookup_domain.Tpo -c -o lookup_domain.o lookup_domain.cc
mv -f .deps/exec.Tpo .deps/exec.Po
c++ -DHAVE_CONFIG_H -I. -I../.. -I..    -O2 -fno-strict-aliasing -pipe -fno-rtti -fno-exceptions -Wall -MT maildir.o -MD -MP -MF .deps/maildir.Tpo -c -o maildir.o maildir.cc
maildir.cc: In function 'bool make_maildir(const mystring&)':
maildir.cc:49: error: 'errno' was not declared in this scope
maildir.cc:49: error: 'EEXIST' was not declared in this scope
maildir.cc:54: error: 'errno' was not declared in this scope
maildir.cc:54: error: 'EEXIST' was not declared in this scope
maildir.cc:60: error: 'errno' was not declared in this scope
maildir.cc:60: error: 'EEXIST' was not declared in this scope
gmake[3]: *** [maildir.o] Error 1
gmake[3]: *** Waiting for unfinished jobs....
mv -f .deps/lookup_baseuser.Tpo .deps/lookup_baseuser.Po
mv -f .deps/lookup_domain.Tpo .deps/lookup_domain.Po
mv -f .deps/list_table.Tpo .deps/list_table.Po
gmake[3]: Leaving directory `/usr/ports/mail/vmailmgr/work/vmailmgr-0.97/lib/misc'
gmake[2]: *** [all-recursive] Error 1
gmake[2]: Leaving directory `/usr/ports/mail/vmailmgr/work/vmailmgr-0.97/lib'
gmake[1]: *** [all-recursive] Error 1
gmake[1]: Leaving directory `/usr/ports/mail/vmailmgr/work/vmailmgr-0.97'
gmake: *** [all] Error 2
*** Error code 1

Stop in /usr/ports/mail/vmailmgr.
*** Error code 1

Stop in /usr/ports/mail/vmailmgr.

I'm around the next hours/days to test again if you have some other
suggestions. Probably there is just an include missing somewhere ? 


So the bug is still there (latest vmailmgrd port on freebsd 7.3) :

[o1a2@omicron ~]$ vadduser test1
Enter the user's new password: 
Please type it again for verification: 
vadduser: user 'test1' successfully added
[o1a2@omicron ~]$ ls -la users/test1
total 12
drwx------    5 o1a2  o1a2   512 Nov 19 16:21 .
drwxr-xr-x  108 o1a2  o1a2  2560 Nov 19 16:21 ..
drwxr-xr-x    2 o1a2  o1a2   512 Nov 19 16:21 cur
drwxr-xr-x    2 o1a2  o1a2   512 Nov 19 16:21 new
drwxr-xr-x    2 o1a2  o1a2   512 Nov 19 16:21 tmp
[o1a2@omicron ~]$ vchforwards test1 [email protected]
vchforwards: Could not change user 'test1':
  Can't create the mail directory './users/test1'
[o1a2@omicron ~]$ 

(but no problem over the daemon/vmailmgrd/omail-admin). 

Kind regards,
Olivier


PS: many thanks to Bruce for the latest upgrades btw :) 


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]