Displaying 20 results from an estimated 75 matches for "mailmessagestore".
2009 Mar 13
4
How can i override mail_location?
...is not correct. How can i override mail_location setting
in dovecot.conf?
LDAP user data and dovecot config are attached below. in dovecot config,
mail_location is:
----
mail_location = maildir:/%Lh/%Ld/%Ln/:INDEX=/%Lh/%Ld/%Ln/
----
but the correct maildir should be 'homeDirectory' + 'mailMessageStore':
----
maildir:/home/vmail/a.cn/w/ww/www/
----
LDAP user:
----
dn: mail=www at a.cn,ou=Users,domainName=a.cn,o=domains,dc=iredmail,dc=org
objectClass: inetOrgPerson
objectClass: mailUser
objectClass: top
cn: www
sn: www
uid: www
mail: www at a.cn
accountStatus: active
homeDirectory: /home/vmai...
2009 Nov 09
2
Missing 'mailbox' variable ?
Hi,
I'm using Dovecot with LDAP.
My users have an home directory and a field named 'mailMessageStore'.
Then the full mailbox path is 'homeDirectory/mailMessageStore'
In dovecot-ldap.conf i configured as follows :
user_filter = (&(objectClass=qmailUser)(cn=%u))
user_attrs =
qmailUID=uid,qmailGID=gid,homeDirectory=home,mailMessageStore=mail=maildir:~/%$
Everything is working as...
2006 Jun 16
1
Problem with default_mail_env in beta9
Hallo,
I am playing arround with dovecot
I hat version 1.0.beta7 running fine. After installing beta9 there is a problem with default_mail_env setting.
I have all users in ldap.
there is an attribute "mailMessageStore" which contains a relative path to users maildir
mailMessageStore: sca/
my mailer completes this relative pathinformation to /var/mail/sca/
therefor I setup default_mail_env to "maildir:/var/mail/%h"
dovecot-ldap.conf includes "user_attrs = mailMessageStore=home,uidNumber=uid,...
2009 Dec 16
2
Dovecot 1.2.+
...ry backend from
file rather than sql proxy for some reasons. Is it possible to get the full
path for dovecot-quota file location from LDAP like from mail variable
(/mailboxes/storage_01/domain.org/u/us/use/user/dbox/dovecot-quota)?
/etc/dovecot/dovecot-ldap.conf
user_attrs =
storageBase=home,mailMessageStore=mail=dbox:~/%$/dbox/,mailQuota=quota_rule=*:bytes=%$,mailQuotaMessageLimit=quota_rule2=*:messages=%$
Also is it also possible the same for sieve location?
I can solve the problem by adding in dovecot.conf
sieve = /var/sieve/%Ld/%Ln/dovecot.sieve
but i would like to have it all in one place ......
2011 Feb 08
1
converting from maildir to mdbox ?
I?m considering moving from maildir to mdbox, but don?t quite see how
I should do the conversion with minimal downtime. Our userdb is ldap,
and the we use this setting to point to the users maildirectory:
user_attrs = mailMessageStore=mail=maildir:%$:INDEX=/indexes/%1u/%1.1u/%u,mailQuota=quota_rule=*:storage=%$
i.e. every user has a "mailMessageStore" attribute in LDAP that points
to his INBOX. Any ideas for how we can migrate user by user to mdbox?
Can we add a mailboxFormat attribute to LDAP, and somehow get that
us...
2011 Apr 13
0
Dovecot-lda and multiple records after filter.
Hello.
Some records in my LDAP base have same values in mail field:
# extended LDIF
#
# LDAPv3
# base <ou=Mail, dc=ph, dc=local> with scope subtree
# filter:
(&(mail=someuser at p.ru)(|(AccountStatus=active)(accountStatus=shared)))
# requesting: mailMessageStore
#
dn: cn=lala,ou=Mail,dc=ph,dc=local
mailMessageStore: /var/mail/someuser/Maildir/
# Eset, Mail, ph.local
dn: cn=Eset,ou=Mail,dc=ph,dc=local
# admins, Mail, ph.local
dn: cn=admins,ou=Mail,dc=ph,dc=local
# search result
search: 2
result: 0 Success
# numResponses: 4
# numEntries: 3
Postfix with...
2012 Jul 26
4
Problem overriding default quota limit
...Our configuration is similar to the example from wiki (
http://wiki2.dovecot.org/Quota/Configuration ). This is the plugin
configuration
_plugin {_
_? quota = maildir:User quota_
_? quota_rule = *:storage=1G_
_? ?.........._
_}_
And this is the recovered fields in LDAP search:
_user_attrs =
mailMessageStore=home,mailquotasize=quota_rule=*:bytes=%$_
It works if user has mailquotasize in its LDAP entry. But if it hasn't
it Dovecot assign 0 instead of ?*:STORAGE=1G
This is the log when LTMP deliver a mail to a user without
mailquotasize attribute:
_auth: Debug: master in:
USER#0111#011eepp68#011se...
2008 May 23
4
Error while set mailQuota=0 with mbox and LDAP backend
...= subtree
deref = never
user_filter = (&(mail=%u)(objectClass=qmailUser)(accountStatus=active))
pass_filter = (mail=%u)
pass_attrs = userPassword=password
user_global_uid = 2000
user_global_gid = 2000
default_pass_scheme = CRYPT
user_attrs =
homeDirectory=home,mailMessageStore=dirsize:mail,mailQuota=quota=dirsize:storage
-------------- End /etc/dovecot-ldap.conf ---------------
transport entry in Postfix master.cf:
----------- /etc/postfix/master.cf ----------------
dovecot unix - n n - - pipe
flags=DRhu user=vmail:vmail argv=/usr/libe...
2010 Mar 23
7
PDC migration from suse 8.2 - samba 2.2.7 ldap - to latest versions on ubuntu 8.04
Hello,
Hopefully I'm in the right place asking for help :-)
I need to move from an old physical Suse 8.2 - samba 2.2.7 + ldap - to
latest samba versions, I would like to use an ubuntu 8.04 virtual machine.
The domain is in production on the physical server, to be dismissed after
migration. It is also the file server!!! so /DATA/ has all shared and
permission driven file access..
I was
2007 Mar 01
1
LDAP error
...tClass: qmailUser
sn:: T3BlcmHDp8OjbyBDZW50YXVy
cn:: T3BlcmHDp8OjbyBDZW50YXVy
mail: operacao.centaur at telbit.pt
uid: operacao.centaur
mailAlternateAddress: operacao.centaur at mail.telbit.pt
mailAlternateAddress: operacao.centaur at metropolis.telbit.pt
userPassword: {MD5}aOdpPfsu9maWY9xQnXmQRQ==
mailMessageStore: /var/qmail/maildirs/opcentaur at telbit.pt/
dn: uid=suporte.centaur,ou=projectos,ou=accounts,dc=telbit,dc=pt
objectClass: top
objectClass: person
objectClass: inetOrgPerson
objectClass: qmailUser
sn: Suporte
cn: Suporte Centaur
userPassword: {SHA}2xubExVzYyYev6WzvrlwXIY34Gk=
mail: suporte.centaur...
2008 Jan 16
1
Quota 1.1 problem
...ecot v1.1.beta13 lda with ldap. I made a tons of
change in configurations but still can't set quota from ldap. See below:
Log:
Jan 16 17:37:09 mailserver-03 dovecot: auth(default):
userdb(teste at xxx.com.br,127.0.0.1): Invalid GID value '*:bytes=1033'
dovecot-ldap.conf:
user_attrs =
mailMessageStore=home,qmailUID=uid,qmailGID=gid,mailQuotaSize=quota_rule=*:bytes=%$
ldap:
dn: cn=teste,ou=xxx.com.br,ou=accounts
mailHostAddress: 10.0.149.3
userPassword:: e1NIQX1kNXFTUFdteTRISjBleEdYVzZocFNkNFdjRGM9
mailQuotaSize: 10485760
deliveryMode: nombox
objectClass: top
objectClass: person
objectClass: org...
2009 Sep 10
1
quota_warning threshold from ldap
...quota_warning = storage=95%% /usr/local/bin/quota-warning.sh 95
quota_warning2 = storage=80%% /usr/local/bin/quota-warning.sh 80
quota_warning3 = storage=70%% /usr/local/bin/quota-warning.sh 70
reading the values 95, 80 and 70 from ldap.
I tried to do this in my dovecot-ldap.conf
user_attrs =
mailMessageStore=mail=maildir:/maildirs/%$,maildirquota=quota_rule=*:backend,
*maildirwarn1*=quota_warning = storage=*maildirwarn1%%
*/usr/local/bin/quota-warning.sh *maildirwarn1%%*
I'm sure that I'm doing something wrong. Any ideas?
This is my configuration:
# dovecot --version
1.2.4
# dovecot -n...
2009 Aug 27
2
missing .dovecot.lda-dupes file in LDAP/virtual user environment
...args: /etc/dovecot/dovecot-ldap.conf
userdb:
driver: passwd
userdb:
driver: ldap
args: /etc/dovecot/dovecot-ldap.conf
plugin:
quota: maildir:User Quota
acl: vfile:/etc/dovecot/acls
sieve_global_path: /etc/dovecot/default.sieve
and extract from dovecot-ldap.conf :
user_attrs = mailMessageStore=home,maildirquota=quota_rule=*:backend=%$
user_filter = (&(|(mail=%u at mydomain.it
)(mail=%u)(mailalternateaddress=%u)(mailequivalentaddress=%u))(objectclass=mailrecipient)(imap-status=true))
pass_attrs =
mail=user,userPassword=password,mailMessageStore=userdb_home,mailquota=userdb_quota_rule=...
2006 Dec 11
3
Problems with Mailstorage path.
...under /var/vmail like
this one:
/var/vmail/myuser1 at mydomain1.com
also, some have their folder names starting with caps like:
/var/vmai/mudomain1.com/Myuser1 at mydomain1.com
This creates problems when these users try to login. Here I want
dovecote to kind of assemble the mail storage path from
mailMessageStore ldap attribute of the particular user. i.e, dovecot
should add the mailMessageStore attribute's value to /var/vmail.
Can somebody help me in solving this issue?
regards,
raja.
--
+91 944 715 5548(Cell)
2009 Nov 24
2
Problem using LDAP generating Userhome
...are stored on nfs, indexes are stored local.
This is my dovecot-ldap.conf configuration:
pass_filter =
(|(&(objectClass=mailRecipient)(mail=%u))(&(objectClass=mailRecipient)(mailalternateAddress=%u))(&(objectClass=mailRecipient)(uid=%n)))
pass_attrs =
uid=user,userPassword=password,mailMessageStore=home=%$/telefonica.de/%Ln,mailFilterStore=sieve_dir=%$/telefonica.de/%Ln
user_filter =
(|(&(objectClass=mailRecipient)(mail=%u))(&(objectClass=mailRecipient)(mailalternateAddress=%u))(&(objectClass=mailRecipient)(uid=%n)))
user_attrs =
uid=user,mailMessageStore=home=%$/telefonica.de/%...
2011 Apr 11
1
trying to combine static userdb with LDAP passdb with per-user userdb_mail and userdb_home
...artition. I designed my own ldap schema and according to
dovecot documentation that user should always has home and mail directory
i added separate attributes for user home and mail. My typical user
that is stored in LDAP has homeDirectory (which stores value like
/var/vmail/domain.com/j/joe) and mailMessageStore (which stores value
like /var/vmail/domain.com/j/joe/Maildir). All data under /var/vmail is
owned by Postfix MTA user (which is called `postfix', uid=89). After
reading dovecot documentation I understand that my setup needs to
combine static userdb with LDAP passdb. But i also want dovecot t...
2005 Dec 16
2
LDAP schema for mailLocation?
Hi,
I would like to try implementing user specific default_mail_env's as described
here:
http://wiki.dovecot.org/moin.cgi/MailLocation
using the LDAP attribute 'mailLocation'.
However, I have been unable to find any LDAP schema which contains
mailLocation. What schema is this attribute part of?
Thanks,
Jason Pepas
2009 Oct 15
2
Expire issue
...15:33:03 Info: auth(default): master in: USER
1 user at mydomain.it service=expire
dovecot: 2009-10-16 15:33:03 Info: auth(default):
ldap(user at mydomain.it): user search: base=dc=mydomain,dc=it
scope=subtree
filter=(&(objectClass=inetOrgPerson)(mail=user at mydomain.it))
fields=mailMessageStore,mailquota
dovecot: 2009-10-16 15:33:03 Info: auth(default):
ldap(user at mydomain.it): result:
mailMessageStore(home)=/var/vmail/0/0/0/4/0
mailquota(quota_rule=*:backend)=104857600S
dovecot: 2009-10-16 15:33:03 Info: auth(default): master out: USER
1 user at mydomain.it home=/var/vm...
2013 May 20
1
Linking mdbox directories
Hi Timo/list,
We have a scenario in which some email accounts on dovecot (stored in
mdbox, separate paths for indexes, email, ALT storage and also using SIS
for attachments, LDAP directory) need their names changed. I know we
could just change the mail LDAP attribute (and leave mailMessageStore
alone) so they keep the same directories on disk, but this would throw a
spanner in the works for our backups.
Would it be possible to create a hard link of the user's directories
under the new name, and change the LDAP mailMessageStore attribute to
point to these without stopping and star...
2006 Feb 04
1
LDAP mailLocation weirdness
...still
I have no clue what is going wrong.
Our installation is LDAP based (for virtual hosting) and up to I think
alpha2 or 3 everything was working as expected. The trouble I have is
that dovecot does not correctly use the information it gets about
mailLocation.
This is what is stored in the MailMessageStore attribute for a user "f.someone":
mbox:/virtual/oeush.at/var/mail/f.someone:INBOX=/virtual/oeush.at/var/mail/f.someone
now despite of this setting, this user is unable to fetch any mail,
because dovecot partially ignores this setting:
---------CUT---------
dovecot: Feb 04 12:20:42 Inf...