Re: [Dovecot] Mbox corruption - Inbox beginning with 'FFrom' or 'FrFrom'
Erik Kratzenberg put forth on 7/27/2010 8:32 AM: >> If you delete all messages from mailbox, INTERNAL DATA message doesn't >> show up there? The mbox file size becomes zero? If so, it doesn't sound >> like you're really using Dovecot v1.x.. > > It looks like if I'm starting without the folder existing (whether it's > a new delivery rule or you delete the folder from IMAP), deliver doesn't > create the FOLDER INTERNAL DATA so it will just start appending messages > to it. > > Once that first message is received, IMAP won't create the FOLDER > INTERNAL DATA message until I delete all the messages from the folder. > > When I delete all the messages from the folder, they are not actuall > removed until I restart my mail client. If new messages are received to > that folder before I restart my mail client, then it also won't create > the FOLDER INTERNAL DATA message. > > I'm not sure if that's directly related to this issue, but I know the > corrupted From line is always the first message in a mailbox and is > never the FOLDER INTERNAL DATA message. I've only had this problem once, many months ago. I solved it by making sure the user was not logged in, editing the mbox file with vi, removing the leading "F", and saving the file. IIRC I then deleted the Dovecot index files to be on the safe side (not sure if it was necessary) and let them auto rebuild. -- Stan
Re: [Dovecot] SSHA256 scheme
Patrick Westenberg wrote on 27.07.2010: > Hi again, > I`m a bit confused how to store a SSHA256 password in the database and > I can`t find any information in the wiki. > Do I have to store the SHA256 hash and the salt separately (what would > the password_query be like in this way) or just the final SSHA256 hash? when you create a password with dovecotpw or doveadm you can copy&paste the generated password into your database. If you use the same password scheme for all users you can use "default_pass_scheme = ..." or as far as I know you can also override the password scheme for the users in MySQL. Just insert the password with the scheme prefix like "{SHA256}Password" into your MySQL password field to override the default password scheme. The query looks like password_query = SELECT username, password \ FROM users WHERE username = '%u' even for other password schemes than PLAIN... -- Daniel
Re: [Dovecot] Mbox corruption - Inbox beginning with 'FFrom' or 'FrFrom'
If you delete all messages from mailbox, INTERNAL DATA message doesn't show up there? The mbox file size becomes zero? If so, it doesn't sound like you're really using Dovecot v1.x.. It looks like if I'm starting without the folder existing (whether it's a new delivery rule or you delete the folder from IMAP), deliver doesn't create the FOLDER INTERNAL DATA so it will just start appending messages to it. Once that first message is received, IMAP won't create the FOLDER INTERNAL DATA message until I delete all the messages from the folder. When I delete all the messages from the folder, they are not actuall removed until I restart my mail client. If new messages are received to that folder before I restart my mail client, then it also won't create the FOLDER INTERNAL DATA message. I'm not sure if that's directly related to this issue, but I know the corrupted From line is always the first message in a mailbox and is never the FOLDER INTERNAL DATA message.
[Dovecot] AntiSpam Plugin
I'm getting Errors in Thunderbird, when using the antispam plugin: [SERVERBUG] failed to send email What am I doing wrong? there isn't that much to configure? I'm using Dovecot version 1.2.12. Does anyone know about that bug aswell, cause google research showed me that it might be a common bug?! Regards
[Dovecot] SSHA256 scheme
Hi again, I`m a bit confused how to store a SSHA256 password in the database and I can`t find any information in the wiki. Do I have to store the SHA256 hash and the salt separately (what would the password_query be like in this way) or just the final SSHA256 hash? Regards Patrick
Re: [Dovecot] Cyrus Virtual Domains: Domain migration from Cyrus
On Tue, Jul 27, 2010 at 10:12:54AM +0200, Denny Schierz wrote: > /var/imap/domain.a/user/foo .. > /var/imap/domain.b/user/foo .. > /var/imap/domain.c/user/foo .. You can utilize the same directory structure with Dovecot, dependent on whether you want to go with 'Maildir' or something else. Other considerations are using a static userdb vs. something driven by passwd-files, LDAP or MySQL... Choice is yours. Also individual overrides per user are possible. > > In a exported skiplist DB, it shows like: > > = > > domain.a!user.foobar 0 int foo...@domain.a lrswipcda postmas...@domain.a > domain.a!user.han 0 int h...@domain.a lrswipcda > domain.b!user.solo 0 int s...@domain.b lrswipcda > domain.b!user.yoda 0 int y...@domain.b lrswipcda > domain.c!user.luke 0 int l...@domain.c lrswipcda postmas...@domain.c ACLs are also possible. > What is the best way, to use this layout under Dovecot? http://wiki.dovecot.org/VirtualUsers Depends on your authentication backend. > ps. Cyrus gets this mails via LMTP over TCP from sendmail and Dovecot > 1.x dont' have this service and I use postfix for smtp-> > smtp-local-lmtp-> Dovecot. LMTP is available in Dovecot 2.x which is just around the corner and among this brings other great enhancements. Regards Thomas
[Dovecot] Cyrus Virtual Domains: Domain migration from Cyrus
hi, we want to migrate from Cyrus 2.x to Dovecot 1.x (!). We use the virtual domain feature from Cyrus for a better disk partitioning: /var/imap/domain.a/user/foo .. /var/imap/domain.b/user/foo .. /var/imap/domain.c/user/foo .. In a exported skiplist DB, it shows like: = domain.a!user.foobar 0 int foo...@domain.a lrswipcda postmas...@domain.a domain.a!user.han 0 int h...@domain.a lrswipcda domain.b!user.solo 0 int s...@domain.b lrswipcda domain.b!user.yoda 0 int y...@domain.b lrswipcda domain.c!user.luke 0 int l...@domain.c lrswipcda postmas...@domain.c That allows us, to separate the domains from each other on the filesystem. The cyrus imapd.conf config: defaultpartition: domaina partition-domaina /var/spool/imap/domaina partition-domainb /var/spool/imap/domainb partition-domainc /var/spool/imap/domainc What is the best way, to use this layout under Dovecot? cu denny ps. Cyrus gets this mails via LMTP over TCP from sendmail and Dovecot 1.x dont' have this service and I use postfix for smtp-> smtp-local-lmtp-> Dovecot. -- Denny Schierz signature.asc Description: Dies ist ein digital signierter Nachrichtenteil