#3786 VPOPMail module does not support variable ownership

1.510
closed-remind
Jamie Cameron
5
2011-06-06
2010-10-27
Christian
No

The VPOPMail module only allows for setting the user and group used by VPOPMail system-wide. However, VPOPMail allows configuration of owneership on a per domain basis. As the quota support in VPOPMail has never worked well in the stable branch, this is useful to enforce quotas and also allows to add mail to the disk quota.

- The VPOPMail module should allow to set email owner according to the irtual server's owner.
- The VPOPMail module should possibly allow setting the mail directory for every virtual server.

(I filed this under QMail because there is no category "VPOPMail")

Discussion

1 2 > >> (Page 1 of 2)
  • Jamie Cameron
    Jamie Cameron
    2010-10-27

    Where did you download the vpopmail module from? It is not part of the core Webmin package .. so we can't really fix any problems with it.

     
  • Christian
    Christian
    2010-10-27

    I'm sorry for the confusion. I used the term VPOPMail module very loosely. I was really referring to VPOPMail support in the standard mail modules.

     
  • Jamie Cameron
    Jamie Cameron
    2010-10-28

    Ok .. so you are using Virtualmin's VPOPmail support, right?

     
  • Christian
    Christian
    2010-11-03

    Yes, that's correct. I'm using Virtualmin's Qmail module with VPOPMail support.

     
  • Jamie Cameron
    Jamie Cameron
    2010-11-03

    Ok .. so what you are looking for is for the mailboxes for each domain to be owned by a separate user? Is there a web page that documents this?

     
  • Christian
    Christian
    2010-11-03

    I don't know anything other than the vpopmail documentation. The usage of vadddomain ( http://www.qmailwiki.org/Vpopmail#vadddomain ) looks like this

    vadddomain: usage: vadddomain [options] virtual_domain [postmaster password]
    options: -v prints the version
    -q quota_in_bytes (sets the quota for postmaster account)
    -b (bounces all mail that doesn't match a user, default)
    -e email_address (forwards all non matching user to this address [*])
    -u user (sets the uid/gid based on a user in /etc/passwd)
    -d dir (sets the dir to use for this domain)
    -i uid (sets the uid to use for this domain)
    -g gid (sets the gid to use for this domain)
    -O optimize adding, for bulk adds set this for all
    except the last one
    -r[len] (generate a len (default 8) char random postmaster password)

    [*] omit @-sign to deliver directly into user's Maildir: '-e postmaster'

    So, you can set user, group and even directory separately for every domain.

    I would usually create a domain as

    vadddomain -i exampleuser -g vchkpw example.com

    The maildirs will then be owned by exampleuser:vchkpw.

     
  • Jamie Cameron
    Jamie Cameron
    2010-11-04

    This might actually be relatively easy to support.. unfortunately I don't have a system setup with vpopmail installed, so my ability to test it is limited. As you can probably tell, the vpopmail support in Virtualmin is not so popular compared to Postfix and Sendmail.

    However, if you like I could email you an updated Virtualmin .rpm or .deb file to test with?

     
  • Christian
    Christian
    2010-11-17

    That would be great. A .deb package would wok best for us, as all our servers are Debian lenny.

    We might also be able to give you access to a test system of ours soon, so you can test changes yourself if you prefer.

     
  • Jamie Cameron
    Jamie Cameron
    2010-11-19

    A test system would be awesome! If that is possible, email me directly at jcameron@webmin.com

     
  • Christian
    Christian
    2010-12-09

    I sent you an email re test system. It's all set up ready for you to play with.

     
1 2 > >> (Page 1 of 2)