Re: qmail groups

Felipe Augusto van de Wiel <[email protected]> Wed, 01 Dec 2010 14:31:28 -0200
Newsgroups gmane.mail.qmail.ldap
Organization Complexo Pequeno Príncipe
Message-ID <[email protected]>
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

Hi Tobias,

On 01-12-2010 08:17, Tobias Hensel wrote:
> I like to use the qmail-group feature for generating a mailinglist like
> feature where I send a mail to [email protected] and the mail is
> delivered to [email protected] and [email protected].
> I guess this can be done via qmail-group and an qmailgroup object in my
> LDAP.

Notice that qmailGroup is an extension of qmailUser, you'll need to
have objects with both objectClasses (qmailUser and qmailGroup).


> My Question:
> Why must I define a mailmessagestore an why do I need one if the mail
> should not be delieverd to a the group-user but to the groupmembers?

The mailMessageStore is used to put administrative messages.  For
example, if you start using moderation, messages pending approval
will be held in mailMessageStore until moderator approves it.

It is also used by qmail-secretary to control the subscription
and confirmation messages. Of course, if you don't use any of
those features, the directory will be always empty, but it still
needs to exist.


> qmail-send checks if the maildir in mailmessagestore exists and also
> checks the correct permissions.
> Therefore I have to make a maildir with the appropriate permissions for
> every gmailgroup I configure. This seems to be a time consuming work I
> like to avoid.

You don't really need to create it.  You can use mkhomedir to
automagically create it for you, therefore making it easier
to maintain on large environments.


> Or do I miss something in the config an general use of the qmail-group
> feature?

Not really. :)

Don't forget to read /var/qmail/doc/QLDAPGROUP

Kind regards,
- -- 
Felipe Augusto van de Wiel <[email protected]>
Tecnologia da Informação (TI) - Complexo Pequeno Príncipe
http://www.pequenoprincipe.org.br/    T: +55 41 3310 1747
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iQIcBAEBCgAGBQJM9nhdAAoJECCPPxLgxLxPSbcQAJPEzQwPh/DyT8j1UT0ebia/
FJEtNca3pirllTDQxA9ck5/fuHLyX4vdyfDim+TcTmZOaOTwKOM8PDB/MPzr1DIM
RMXpsIvJ7lKlHKguyCG0YqnB5Awtt3IwmEbUrhDuRCumlQU3+8s94OxEjeJ0/X0J
U8BOxWjQQhQWluIcErPE4kBNE0zNqURFLlsQUbKE5u5+0TQN96eMDluPt5DP0STG
4xrmLdb+4YcqNxw8Ld+YvY1OEhgswVufwd8Ttpjx3wH/gUF2DlBShx1fysl0b7fC
Zi3UHy2T9NsYGUIBVpsluGc20nAyj+JDUaJ6oP6mo3p4shZuM71sTF/Tb4lqh4hH
gYabyIlrumTWpdE1Kw47OiX6m0VkDCMls8wheI8Q3rpjTVcasMYKj6Reix1SJAJ7
yhQJEW27eJ+aRI2Kw8YOAMAXKrLzdKLm+Jky7Ib8EcLIQqAPo+OkOXcGOmz26vQh
8Miif0Q12eXDzOB7QaOswHkgcP5B5VvolC254JNme2Awiih32F/cmkjrlmd8nrV4
oUQM2WkUje/oUGYXS63M7vEUYdkSBeqquheEm8pKFnFBPmudJmoFCHlNKTakQ/9w
zvPN9w4ACOlI84UKNEchZHepL7wtPNCTIGwioUmfSsnGrpN6hBt0a0VgJ35icjSP
1q8lg9Q09VNoGFFSjvY6
=o/Bq
-----END PGP SIGNATURE-----