Hi,

in vpopmail 5.4.30, but I think in all version, if I build vpopmail with "--enable-maildrop" and after I try to set "no maildrop flag" in domain limits the value is ignored:

mail01:/var/src/vpopmail-5.4.30# head config.log
This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake.

It was created by vpopmail configure 5.4.30, which was
generated by GNU Autoconf 2.62.  Invocation command line was

$ ./configure --enable-mysql-limits --enable-auth-module=mysql --enable-logging=p --enable-maildrop --enable-valias

Default setting:
mail01:/var/src/vpopmail-5.4.30# /home/vpopmail/bin/vmoddomlimits -S alessio.it
Domain: alessio.it
--
[...]
GID Flags:
Flags (for commandline):
Flags for non postmaster accounts:
  pop account:            ALLOW_CREATE ALLOW_MODIFY ALLOW_DELETE
[...]

Set "no maildrop flag":
mail01:/var/src/vpopmail-5.4.30# /home/vpopmail/bin/vmoddomlimits -g"m" alessio.it mail01:/var/src/vpopmail-5.4.30# /home/vpopmail/bin/vmoddomlimits -S alessio.it
Domain: alessio.it
--
[...]
GID Flags:
Flags (for commandline):
Flags for non postmaster accounts:
  pop account:            ALLOW_CREATE ALLOW_MODIFY ALLOW_DELETE
[...]

As you can see tha flag is not set.

If I set another flag (NO_WEBMAIL) works fine:

mail01:/var/src/vpopmail-5.4.30# /home/vpopmail/bin/vmoddomlimits -g"w" alessio.it mail01:/var/src/vpopmail-5.4.30# /home/vpopmail/bin/vmoddomlimits -S alessio.it
Domain: alessio.it
--
[...]
GID Flags:
  NO_WEBMAIL
Flags (for commandline): w
Flags for non postmaster accounts:
  pop account:            ALLOW_CREATE ALLOW_MODIFY ALLOW_DELETE
[...]

Works fine.

I discovered that the table of limits in MySQL, vpopmail.limits, the field for the value NO_MAILDROP is not present, and in vmysql.c "disable_maildrop" support is not present.

For me it would be very useful to have this feature, can you fix it?

Thanks

!DSPAM:4ccd2eb132711537220890!

Reply via email to