Re: LDA ignores virtual mailbox settings
Hi, Toni Mueller, 27.12.20: 16:04:16 dovecot: lda(u...@example.com)<5291>: Error: Mailbox INBOX: Failed to autocreate mailbox: Mailbox INBOX: open(/var/mail/u...@example.com) failed: Permission denied (euid=12345(mailbox) egid=12345(mailbox) missing +w perm: /var/mail, we're not in group 8(mail), dir owned by 0:8 mode=0775) 16:04:16 dovecot: lda(u...@example.com)<5291>: msgid=<20201226224933.014...@laptop.example.com>: save failed to open mailbox INBOX: Mailbox INBOX: Failed to autocreate mailbox: Mailbox INBOX: open(/var/mail/u...@example.com) failed: Permission denied (euid=12345(mailbox) egid=12345(mailbox) missing +w perm: /var/mail, we're not in group 8(mail), dir owned by 0:8 mode=0775) 16:04:16 postfix/pipe[5284]: 8CD6CE072E: to=, orig_to=, relay=dovecot, delay=62083, delays=62083/0.04/0/0.04, dsn=4.3.0, status=deferred (temporary failure) In /etc/postfix/master.cf, I have this to call it: dovecot unix - n n - - pipe flags=DRhu user=_mailbox argv=/usr/lib/dovecot/deliver -f ${sender} -d ${user}@${domain} -a ${recipient} I've tried strace-ing dovecot-lda, but it didn't really help me to understand why it discards the result of the userdb lookup. Can anyone please provide a cluebat, please? I'd change the setup towards postfix handing over the messages to dovecot via lmtp. You can easily achive this by setting relay_domains = btree:/etc/postfix/relay-transport in your postfix configuration and creating a file /etc/postfix/relay-transport: your_mail_domain lmtp:unix:private/lmtp-dovecot Mit freundlichen Grüßen Christian Schmidt -- No signature available.
Re: Outlook with Dovecot
Elise, 13.12.20: I think the origin of this issue is caused by Outlook itself. Setting up a new account in Outlook, one has to provide an email address instead of a user name. With using BSD usermanager, adding a user named 'i...@mydomain.com' is converted automatically to user 'ilse'. I am not expecting that Microsoft will solve this issue on short term though. Good old "Control Panel" -> "Mail" offers some more detailed configuration options. Just use this way to set up mail accounts instead of doing it with Outlook. Mit freundlichen Grüßen / Kind Regards Christian Schmidt -- Signature not available. smime.p7s Description: S/MIME Cryptographic Signature
Re: Cannot log in to IMAP server and logs are unclear as to why
On 05.06.20 22:42, Scott A. Wozny wrote: Again, thanks very much for your response. Your solution of adding the colons worked. Actually, I futzed with it a little bit and it works with as few as 2 added colons. This is interesting since in the examples section ofhttps://doc.dovecot.org/configuration_manual/authentication/passwd_file/ it explicitly states: ---> This file can be used as a passdb: The error message in your log was: Jun 3 23:35:34 imap dovecot: auth: Error: passwd-file /etc/dovecot/users: User t...@test.com is missing userdb info passdb != userdb Kind Regards Christian Schmidt -- No signature available.
Re: dovecot 2 samba ad-dc
Hi Phil, phil, 20.02.20: I try to build a mail server based on Centos 7, postfix and dovecot 2. My backend is a Samba4 ad-dc. I tried a lot and I don't know what else I could try.I'm new to this mailing list so please forgive me if I don't give right information or anything Samba4 ad-dc is up incl. dns. Win10 Client joined domain and authentication works. Postfix is up and checks against ldap whether recipient address exists. It takes mail via telnet and queues them. But can't give it to dovecot. You told postfix to hand over the messages to dovecot using dovecot-deliver. I 'm not sure which privileges are used/needed by dovecot in this case. Your dovecot has been configured to use uid/gid vmail/vmail, and maybe this causes problems. I'd give lmtp a try. Just define a "transport" for postfix which hands over messages for "local delivery" to dovecot using lmtp. From my point of view, this makes life easier qith dovecot running with vmail/vmail. You should take another look at dovecot's userdb settings as dovecot's last log line states "Userdb lookup failed". After having taken a closer look, I'm just wondering about your user_filter = (mailRoutingAddress=%u) There is no such attribute (MailRoutingAddress) in your ldapsearch results. My conclusion: dovecot is looking for something non-existant - and can't find it ;-)... I'd also recommend using a preceding "%L" to make dovecot use lowercase characters, e.g.: user_attrs = uid=%Lu,=home=/mail/%Ld/%Ln This can make life easier sometimes... Kind Regards, Christian -- No signature available. smime.p7s Description: S/MIME Cryptographic Signature
Re: Upgrading to 2.3
Hi, @lbutlr via dovecot, 08.03.19: On 8 Mar 2019, at 05:54, Aki Tuomi via dovecot wrote: https://wiki.dovecot.org/Upgrading Duh. I wasn't looking for a URL that was specific. https://wiki2.dovecot.org/Upgrading/2.3 ;-) Kind Regards Christian -- No signature available. smime.p7s Description: S/MIME Cryptographic Signature
Re: Dovecot v2.2.36.1 released (Pigeonhole 0.4.24.1)
Hi, Stephan Bosch via dovecot, 05.02.19: Here is the associated release for Pigeonhole: With the line deb http://xi.dovecot.fi/debian/ stable-auto/dovecot-2.2 main in my /etc/apt/sources.list, apt update fails with a Hash sum mismatch: Err:14 http://xi.dovecot.fi/debian stable-auto/dovecot-2.2/main amd64 Packages Hash Sum mismatch Hashes of expected file: - Filesize:20770 [weak] - SHA512:e2272b4dc431f5fae85f96f80170f20e5e2e955bc288b1ac28d447ad06eaf9336bf5131ea9cdf178e36fc46e5986b5baff4eabdd562c665b97e762c4f44c0b06 - SHA256:936acd204d9b147225f763fb136e3a673d9003960a2104319b414a6602bb28a5 - SHA1:363e915b19b242b4011c01e6d2dc177e06414733 [weak] - MD5Sum:0f56fd080c93b5257e39e979335e5582 [weak] Hashes of received file: - SHA512:76306aaddd2f48a526a9a3b8cb8c4cf1b3b10f3f13cdd8fcf50d1969f95e0c0a6e44df94fc0f36b7efcf8ad1718f4dd78b6db97d962a192a72f700e99e7647a8 - SHA256:5b31992a7ed1a356c666dacf08d3e45fe5de527d177ecfb4c0079fc238d6d3f3 - SHA1:9dfb0af157863b2d916eedb8faf16739151698c1 [weak] - MD5Sum:4f047a8fc01ba5b7645ef63244972068 [weak] - Filesize:17109 [weak] Last modification reported: Tue, 05 Feb 2019 14:48:20 + Release file created at: Tue, 05 Feb 2019 14:35:10 + Could you please check this? TIA & Regards, Christian -- No signature available. smime.p7s Description: S/MIME Cryptographic Signature
Re: mbox 2 Maildir
Hi, Tamas Hegedus, 29.01.19: * Configuration uses mail_location = mbox:~/mails * setup per-user mail location and do for each user individually in a serial manner: -- doveadm sync maildir:~/Maildir; mbox is synced to Maildir, long running time -- doveadm sync maildir:~/Maildir; rerun to do it for new messages (fast) -- add USER to userdb and set extra field to maildir:~/Maildir users not present in the userdb should default to dovcot default; conditionally optional: doveadm auth cache flush IMHO there is no need to create or change special userdb entries. See https://wiki.dovecot.org/MailLocation: "By default the mail_location setting is empty, which means that Dovecot attempts to locate automatically where your mails are." Regards, Christian -- No signature available. smime.p7s Description: S/MIME Cryptographic Signature
Re: Timout for LDAP connection
Hi Steffen, On 03.03.2016 13:29, Steffen Kaiser wrote: > I don't understand, where the downtime shall come from? Gordon wrote "this leads to an mailserver interruption when updating the local ldap daemon" What he meant IMHO was updating the local ldap server software - not the data held in the directory. Regards, Christian -- No signature available. smime.p7s Description: S/MIME Cryptographic Signature
Re: Timout for LDAP connection
Hi Gordon, On 03.03.2016 09:55, Gordon Grubert wrote: > On 03/03/2016 09:09 AM, Christian Schmidt wrote: >> What about replicating the directory onto the dovecot host and send the >> ldap queries to localhost? > > of course, this would be possible. E.g., for our DNS we are using > exactly this solution. But this means, there is one additional daemon. > Additionally, this leads to an mailserver interruption when updating > the local ldap daemon. Well, just switch dovecot to another LDAP server before local LDAP's "downtime". ;-) Regards, Christian -- No signature available. smime.p7s Description: S/MIME Cryptographic Signature
Re: Timout for LDAP connection
Hello Gordon, On 29.02.2016 16:18, Gordon Grubert wrote: > we are using a round robin dns record for connections to our ldap > system. This works fine for almost all cases. In particular, for > dovecot does this mean, when an ldap server is stopped, dovecot > instantly reconnects to another ldap server. > > But when the network connection to the active ldap server is broken, > dovecot sticks to the failed ldap server. Is there any possibility to > define a connection timeout? What about replicating the directory onto the dovecot host and send the ldap queries to localhost? Regards Christian -- No signature available. smime.p7s Description: S/MIME Cryptographic Signature
Re: LMTP crashes on Debian with dovecot backports from rename-it.nl
Hello Stephan, On 30.12.2015 16:47, Stephan Bosch wrote: > Usually, it is built automatically within the hour. This change is now > first included in the 2:2.2.21-1~auto+5 package, as published at 14:58. Wonderul, I'll give it a try. Thank you very much. Kind Regards, Christian -- No signature available. smime.p7s Description: S/MIME Cryptographic Signature
Re: LMTP crashes on Debian with dovecot backports from rename-it.nl
Hello Timo, On 29.12.2015 19:25, Timo Sirainen wrote: > So looking up a header causes a crash. Can you send me one such mail > that causes this crash? I'll ask one of the users suffering from the crash if I may "borrow" one of the mails. This will probably take some days. Thank you! Best wishes for the new year, Christian -- No signature available. smime.p7s Description: S/MIME Cryptographic Signature
Re: LMTP crashes on Debian with dovecot backports from rename-it.nl
Hello Timo, On 30.12.2015 14:24, Timo Sirainen wrote: >> On 30 Dec 2015, at 03:45, Christian Schmidt >> <christian.schm...@chemie.uni-hamburg.de> wrote: >> >> Hello Timo, >> >> On 29.12.2015 19:25, Timo Sirainen wrote: >>> So looking up a header causes a crash. Can you send me one such mail >>> that causes this crash? >> I'll ask one of the users suffering from the crash if I may "borrow" one >> of the mails. This will probably take some days. > Actually no need. This should fix it: > https://github.com/dovecot/core/commit/a4392e9d312e3b5973fe5dbaee7028197a700ff0 Great!!! Thank you very much, Timo! Do you (or does anybody )know when this patch will make it into Stephan Bosch's repository? Kind Regards & all the best for 2k16, Christian -- No signature available. smime.p7s Description: S/MIME Cryptographic Signature
LMTP crashes on Debian with dovecot backports from rename-it.nl
Hello dovecot-users, we're running Debian 7.9 with dovecot from Stephan Bosch's repository: deb http://xi.rename-it.nl/debian/ oldstable-auto/dovecot-2.2 main Starting with dovecot 2.2.20-1 build 28, we suddenly discovered that some mails (to be locally delivered) "got stuck". dovecot's log revealed messages like the following one: Dec 29 09:56:50 mailhost dovecot: lmtp(mailrecipi...@chemie.uni-hamburg.de): Error: Raw backtrace: /usr/lib/dovecot/libdovecot.so.0(+0x8360f) [0x7f58fce4f60f] -> /usr/lib/dovecot/libdovecot.so.0(+0x8366e) [0x7f58fce4f66e] -> /usr/lib/dovecot/libdovecot.so.0(i_fatal+0) [0x7f58fcdf8a3e] -> /usr/lib/dovecot/libdovecot-storage.so.0(+0x3cc75) [0x7f58fd107c75] -> /usr/lib/dovecot/libdovecot-storage.so.0(+0xabeda) [0x7f58fd176eda] -> /usr/lib/dovecot/libdovecot-storage.so.0(index_mail_get_first_header+0xba) [0x7f58fd17723a] -> /usr/lib/dovecot/libdovecot-storage.so.0(mail_get_first_header+0x38) [0x7f58fd108cd8] -> /usr/lib/dovecot/modules/lib20_mail_log_plugin.so(+0x1b5c) [0x7f58fb16cb5c] -> /usr/lib/dovecot/modules/lib20_mail_log_plugin.so(+0x22e9) [0x7f58fb16d2e9] -> /usr/lib/dovecot/modules/lib15_notify_plugin.so(notify_contexts_mail_copy+0x46) [0x7f58fb371576] -> /usr/lib/dovecot/modules/lib15_notify_plugin.so(+0x2750) [0x7f58fb372750] -> /usr/lib/dovecot/modules/lib10_quota_plugin.so(+0xbc20) [0x7f58fb580c20] -> /usr/lib/dovecot/libdovecot-storage.so.0(mailbox_copy+0x7d) [0x7f58fd11305d] -> /usr/lib/dovecot/libdovecot-lda.so.0(mail_deliver_save+0x171) [0x7f58fd4019c1]-> /usr/lib/dovecot/libdovecot-lda.so.0(mail_deliver+0x11b) [0x7f58fd401dfb] -> dovecot/lmtp [DATA mailrecipi...@chemie.uni-hamburg.de](+0x7263) [0x7f58fd831263] -> dovecot/lmtp [DATA mailrecipi...@chemie.uni-hamburg.de](+0x79d9) [0x7f58fd8319d9] -> /usr/lib/dovecot /libdovecot.so.0(io_loop_call_io+0x5b) [0x7f58fce6282b] -> /usr/lib/dovecot/libdovecot.so.0(io_loop_handler_run_internal+0xd7) [0x7f58fce63c07] -> /usr/lib/dovecot/libdovecot.so.0(io_loop_handler_run+0x25) [0x7f58fce628d5] -> /usr/lib/dovecot/libdovecot.so.0(io_loop_run+0x38) [0x7f58fce62a78] -> /usr/lib/dovecot/libdovecot.so.0(master_service_run+0x13) [0x7f58fcdfe443] -> dovecot/lmtp [DATA mailrecipi...@chemie.uni-hamburg.de](main+0x19c) [0x7f58fd82f8dc] -> /lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xfd) [0x7f58fca5fead] -> dovecot/lmtp [DATA mailrecipi...@chemie.uni-hamburg.de](+0x59ad) [0x7f58fd82f9ad] Dec 29 09:56:50 mailhost dovecot: lmtp(mailrecipi...@chemie.uni-hamburg.de): Fatal: master: service(lmtp): child 15897 killed with signal 6 (core dumps disabled) Dec 29 09:56:51 mailhost dovecot: lmtp(mailrecipi...@chemie.uni-hamburg.de): Panic: file ../../../src/lib/array.h: line 219 (array_idx_i): assertion failed: (idx * array->element_size < array->buffer->used) All dovecot builds newer than 2.2.20-1~auto+26 show the same behaviour. Is there anything we can do? # doveconf -n # 2.2.20 (): /etc/dovecot/dovecot.conf # Pigeonhole version 0.4.10 # OS: Linux 3.2.0-4-amd64 x86_64 Debian 7.9 ext4 auth_default_realm = chemie.uni-hamburg.de auth_master_user_separator = * auth_mechanisms = plain login auth_verbose = yes login_log_format_elements = user=<%u> method=%m rip=%r lip=%l mpid=%e %c %k mail_gid = vmail mail_location = maildir:/mail/%d/%n/Maildir mail_plugins = acl mail_log notify quota zlib mail_uid = vmail managesieve_notify_capability = mailto managesieve_sieve_capability = fileinto reject envelope encoded-character vacation subaddress comparator-i;ascii-numeric relational regex imap4flags copy include variables body enotify environment mailbox date index ihave duplicate mime foreverypart imapflags notify namespace { list = children location = maildir:/mail/%%d/%%n/Maildir:INDEX=/mail/%d/%n/shared/%%u:CONTROL=/mail/%d/%n/shared/%%u prefix = SHARED/%%u/ separator = / type = shared } namespace inbox { hidden = no inbox = yes list = yes location = mailbox Drafts { auto = subscribe special_use = \Drafts } mailbox Sent { auto = subscribe special_use = \Sent } mailbox "Sent Messages" { auto = no special_use = \Sent } mailbox Trash { auto = subscribe special_use = \Trash } prefix = INBOX/ separator = / subscriptions = yes type = private } passdb { args = /etc/dovecot/deny-users deny = yes driver = passwd-file } passdb { args = /etc/dovecot/master-users driver = passwd-file master = yes } passdb { args = /etc/dovecot/dovecot-ldap.conf.ext driver = ldap } plugin { acl = vfile acl_shared_dict = file:/var/lib/dovecot/shared-mailboxes mail_log_events = delete undelete expunge copy mailbox_delete mailbox_rename mail_log_fields = uid box msgid size quota = maildir:Mailbox-Quota quota_warning = storage=95%% quota-warning 95 %u quota_warning2 = storage=80%% quota-warning 80 %u sieve = file:~/sieve;active=~/.dovecot.sieve sieve_extensions = +notify +imapflags zlib_save = gz zlib_save_level = 6 } pop3_client_workarounds =
Re: [IMAP] Nothing in INBOX
Hello Yvon, On 30.09.2015 15:14, Yvon Thoraval wrote: > I've just installed Postfix + Dovecot on Xubunto 14.04 LTS. > Following this page : > Setup a mail server with Postfix and Dovecot on Ubuntu / Debian > <http://www.binarytides.com/install-postfix-dovecot-debian/> > > although I'm able to send emails to GMail and other kind of domain, nothing > appears on Thunderbird INBOX, nor using openssl : > [..] > However, using mail, i can read the emails : > > > $ mail > > Heirloom mailx version 12.5 6/20/10. Type ? for help. > > "/var/mail/desktop": 20 messages 9 new 18 unread > [..] > my dovecot setup uses vhosts : > > > $ ls -al /var/mail/vhosts/// > [..] > with nothing in new subfolder: As you wrote, mail accesses and displays /var/mail/desktop, but you told dovecot to serve mails from var/mail/vhosts//. You probably want postfix to hand over mails to dovecot via lmtp. Mit freundlichen Grüßen Christian Schmidt -- No signature available. smime.p7s Description: S/MIME Cryptographic Signature
Re: multiple messages per second to a single mailbox
On 14.08.2015 23:20, Andrzej A. Filip wrote: As I understand: * maildir is designed for allowing fast lockless parallel deliveries * dovecot's LDA updates some dovecot specific index/cache files even for deliveries to maildir = making postfix deliver to maildir without updating dovecot specific files may solve your performance problems ...with disabling dovecot to update its indexes, sieve filters and so on. I would not configure the system this way. Kind Regards, Christian -- No signature available. smime.p7s Description: S/MIME Cryptographic Signature
Re: backing up IMAP server on a hard drive
On 06.08.2015 18:11, Kevin Laurie wrote: I am not sure what the parameter for the -host2 should be(apart from localhost? ) localhost. Regards, Christian Schmidt -- No signature available. smime.p7s Description: S/MIME Cryptographic Signature
Re: backing up email / saving maildir on external hard drives
On 11.08.2015 15:45, Götz Reinicke - IT Koordinator wrote: talking of rsync and compression is may be also a bit misleading. On the destination there will be no compressed files if you transfer with rsync! ...unless your dovecot is working with compressed maildir files. ;-) Kind Regards, Christian Schmidt -- No signature available. smime.p7s Description: S/MIME Cryptographic Signature
Re: Install process breaks its self by design
On 29.03.2015 20:58, Merlin at Desktop Masters wrote: When you install it asks you if you want to use self signed certificates. I have certificates so I said, No. Why on earth don't you let the system install dovecot with a self-signed certificate first and point dovecot to your own certificate afterwards? Regards, Christian -- No signature available.
Re: Postfix - dovecot-lda - Permission denied
On 27.02.2015 16:16, Wöltje, Marcus wrote: So far, Postfix is delivering the mail into ~/Maildir. But as soon as I add the line: mailbox_command = /Applications/Server.app/Contents/ServerRoot/usr/libexec/dovecot/dovecot-lda in /etc/postfix/main.cf I get the following entry in the mail.log. Why don't you let postfix hand over the mail data to dovecot using lmtp? Regards, Christian -- No signature available.
Re: Virtual User Authentication
On 11.11.2014 16:13, Jerry wrote: Dovecot has so many individual conf files that it is difficult to figure out where everything is. I really like the Postfix method where the last rule wins. It's just the same with dovecot. I have not figured out in what file the pam setting resides that is being picked up by Dovecot. Give grep a chance. Regards, Christian -- No signature available.
Re: [Dovecot] Dovecot 2 | Creating message rules
02.06.2014 16:11, Reindl Harald: Am 02.06.2014 15:55, schrieb Jos Chrispijn: Bubreg István: I'm using roundcube for this, it has a 'managesieve' plugin which works with dovecot well. Do you mean that I can create rules with Roundcube and have them processed by Dovecot without having to open Roundcube itself (or any other mailclient) to process these rules? Thant would be a perfect solution then! Can you tell me more or hint me a URL where I can raise my learning curve? that's what sieve is supposed to do in general The rules defined in the sieve language will be stored on the (mail) server. They get applied whenever an e-mail is submitted to (sieve-enabled) dovecot. The Horde project (see http://www.horde.org) offers a web interface for creating sieve rules, too. Regards, Christian -- No signature available.
Re: [Dovecot] Dovecot LDAP issue
7.04.2014 20:43, Deeztek Support: On 4/7/2014 2:08 PM, Oscar del Rio wrote: On 04/ 7/14 01:46 PM, Deeztek Support wrote: I'm authenticating users through AD and it seems to work with no problems. Unfortunately, when I try to send e-mail from a user who's not in the testou container I get the following error: Sender address rejected: User unknown in virtual mailbox table #SMTP#. Looks like a Postfix error, not Dovecot. I don't think so. Postfix already looks from the root of the AD down and it has no problems. Dovecot does not authenticate at all if I simply put the AD root in the ldap configuration file. User unknown in virtual mailbox table is what *postfix* tells you. Dovecot does not do SMTP (yet). Thus, I suppose that dovecot doesn't get involved at all (although this depends on your configuration). I recommend to check the restrictions you defined in your postfix configuration. Mit freundlichen Grüßen Christian Schmidt -- No signature available.
Re: [Dovecot] connection Dovecot to samba4
16.12.2013 16:14, Pascal den Bekker: I changed the lines in the dovecot config you sent me.. When I try to login into the sogo gui, im getting the following error message: 2013-12-16 16:10:07 auth: Info: ldap(administrator,127.0.0.1,DBQZNajtqQB/AAAB): unknown user 2013-12-16 16:10:07 auth: Error: userdb(administrator,127.0.0.1,DBQZNajtqQB/AAAB): user not found from userdb ldap 2013-12-16 16:10:07 imap: Error: Authenticated user not found from userdb, auth lookup id=4126670849 (client-pid=5503 client-id=1) 2013-12-16 16:10:07 imap-login: Info: Internal login failure (pid=5503 id=1) (internal failure, 1 succesful auths): user=administrator, method=PLAIN, rip=127.0.0.1, lip=127.0.0.1, mpid=5504, secured, session=DBQZNajtqQB/AAAB When I look in samba4: samba-tool user list Administrator krbtgt Guest ldap The user seems to be there..:-( Administrator is not the same as administrator - at least in the Unix part of the world... Regards, Christian -- No signature available.
Re: [Dovecot] postfix and dovecot - no emails in new folder
25.11.2013 09:00, Kai Hendry: You probably need to set dovecot as the Local Delivery Agent, like so: $ grep mailbox /etc/postfix/main.cf mailbox_command = /usr/lib/dovecot/deliver I would consider making postfix talk to dovecot using LMTP instead. Regards, Christian -- No signature available.
Re: [Dovecot] Odd Feature Request - RBL blacklist lookup to prevent authentication
22.10.2013 21:31, Marc Perkel: I would like to have a list of IPs (hacker list) that I can do a lookup on so that if anyone tries to authenticate to dovecot they always fail if they are on my list. You could enable dovecot's tcpwrapper support for this. Kind Regards, Christian Schmidt -- No signature available.
Re: [Dovecot] Migrating from Maildir to Maildir:LAYOUT=fs
Hello Rainer, 24.08.2013 12:42, Rainer M Krug: I have use dovecot together with offlineimap to download my gmail account on a single user computer and I have only one maildir (~/Maildir). As I switched to Mac, I would like to use spotlight to index my mails, which apparently does not work as they are in hidden directories (.directories). So I would like to change to LAYOUT=fs. Is there an easy way to migrate my email structure? I have several folders and subfolders, but a manual solution would be fine with me as well. Wouldn't it be best for spotlight if you used local storage for your mails? In other words: Just download them from your server into your local account. The you're done, and spoltlight will be able to index them. Mit freundlichen Grüßen Christian Schmidt -- No signature available.
Re: [Dovecot] pop3 login ok then disconnects right away..outlook
Hello markh, markh, 07.05.2013 (d.m.y): I have dovecot with postfix on ubuntu server 12 I cannot log into outgoing server with outlook. That's no dovecot issue. Outgoing mails will (or will not) be accepted by your postfix (if it is configured in a way that permits relaying). You should check if you can connect to the smtp (25) or submission (587) port of your server, take a look at your mail log etc. Gruss/Regards, Christian Schmidt -- You have been selected for a secret mission.
Re: [Dovecot] userdb static Quota from LDAP?
Hello Timo, Timo Sirainen, 12.09.2011 (d.m.y): On Fri, 2011-09-09 at 23:58 +0200, Christian Schmidt wrote: userdb { driver = static args = uid=vmail gid=vmail home=/var/maildir/%u } These can be replaced with global settings: mail_uid = vmail mail_gid = vmail mail_home = /var/maildir/%u Now I'd like to add per-user quotas that will also be stored in the LDAP directory, and I'm not sure how to put things together. IMHO quota is the only userdb information requested from LDAP, and I'd like to leave all the other userdb pieces as the are. I changed the userdb definition to: userdb { driver = ldap args = /etc/dovecot/conf.d/ldap-userdb.ext } My /etc/dovecot/conf.d/ldap-userdb.ext contains (along other lines): user_attrs = uid=vmail,gid=vmail,home=/var/maildir/%u,mailQuota=quota=quota_rule=*:storage=%$ Just set those global settings and drop uid/gid/home from here. Or you could get them working here too, but the syntax is slightly wrong: user_attrs = =uid=vmail, =gid=vmail, .. (With the above settings you're telling Dovecot that LDAP uid field will be assigned to Dovecot's vmail field, and the gid field immediately overrides it, and LDAP home field's value is set to Dovecot's /var/maildir/%u field.) This is working now: user_attrs = mailQuota=quota_rule=*:bytes=%$ Thank you, Timo! Gruss/Regards, Christian Schmidt -- You're at the end of the road again.
[Dovecot] userdb static Quota from LDAP?
Hi all, I just configured Dovecot 2.0.14 for virtual (i.e. non-system-) users: passdb { driver = ldap args = /etc/dovecot/conf.d/ldap-passdb.ext } userdb { driver = static args = uid=vmail gid=vmail home=/var/maildir/%u } Works fine so far - thanks for this great piece of software, Timo!!! Now I'd like to add per-user quotas that will also be stored in the LDAP directory, and I'm not sure how to put things together. IMHO quota is the only userdb information requested from LDAP, and I'd like to leave all the other userdb pieces as the are. I changed the userdb definition to: userdb { driver = ldap args = /etc/dovecot/conf.d/ldap-userdb.ext } My /etc/dovecot/conf.d/ldap-userdb.ext contains (along other lines): user_attrs = uid=vmail,gid=vmail,home=/var/maildir/%u,mailQuota=quota=quota_rule=*:storage=%$ My quota configuration looks like this: plugin { quota = maildir:Mailbox-Quota quota_rule = *:storage=1G quota_warning = storage=80%% /usr/local/bin/quotawarn.sh 80 %u quota_warning2 = storage=95%% /usr/local/bin/quotawarn.sh 95 %u } Using this setup, doveadm quota get -u username doesn't reveal any quota information (except from the headings). Instead, dovecot logs: doveadm(username): Fatal: GID 0 isn't permitted When switching back to userdb static, I receive the correct (but also) static quota information. What am I doing wrong? Thank you very much, Christian Schmidt -- question = ( to ) ? be : ! be; -- Wm. Shakespeare
Re: [Dovecot] Over quota and send Mails
Hello Sven, Sven Hartge, 11.04.2011 (d.m.y): Jim Knuth j...@jkart.de wrote: if a user over quota is, he can do no mails more receive. So far, so good. But why he can do, nevertheless, mails do send? Has that to do something with dict option? Sending mails has nothing to do with dovecot. You need to configure your MTA to prevent the user from sending any mails. Is there anyone running somethig like this? If so, could you please provide some details? Gruss/Regards, Christian Schmidt -- Tomorrow will be cancelled due to lack of interest.
Re: [Dovecot] (Dis)advantage of using lmtp?
Hello Timo, Timo Sirainen, 22.11.2010 (d.m.y): On 22.11.2010, at 21.10, Christian Schmidt wrote: are there any (dis)advantages in connecting dovecot and an MTA (in our case: exim) using LMTP over using other methods (e.g. the exim transports definitions that can be found in the wiki)? LMTP should have better performance, since less processes are started. LMTP doesn't have equivalent of some dovecot-lda parameters, but you probably won't need them. Ah, I see. Thanks! Gruss/Regards, Christian Schmidt -- Alimony and bribes will engage a large share of your wealth.
Re: [Dovecot] sieve or another vacation/autoreply
Hello Lampa, Lampa, 25.01.2010 (d.m.y): Need autmatic delivery notification. You will sent email to supp...@domain.tld (reporting bugs or problem) and you will get back delivery notification (autogenerated). Maybe a Trouble Ticket System (e.g. Request Tracker) will fit those and some more needs...? Gruss/Regards, Christian Schmidt -- English literature's performing flea. -- Sean O'Casey on P. G. Wodehouse
Re: [Dovecot] Problems with listescape and mutt
Hello Daniel, Daniel Spannbauer, 09.12.2009 (d.m.y): Hmmm, there is truely a small script, which lets mutt find the folders: mailboxes `echo -n + ; find ~/.maildir -maxdepth 1 -type d -name .* -printf +'%f' ` Hmm, I think this is the error With find you are doing a *file system*-based search... Gruss/Regards, Christian Schmidt -- You may be recognized soon. Hide.
Re: [Dovecot] compiling issue 1.2.6 - Solaris
Hello Chris, Chris Wakelin, 06.10.2009 (d.m.y): Works for me on Solaris 10, gcc 3.4.3, openssl 0.9.8k. What do you have for your configure line? Are you sure you're picking up your compiled library and not the default Solaris one? I've got something like: CFLAGS=-I/usr/local/openssl/include -L/usr/local/openssl/lib \ -g -O2 \ ./configure --prefix=/usr/local/dovecot --with-ssl=openssl I had to review my configure script. It now uses a fresh OpenSSL installation. Building dovecot works fine now. Gruss/Regards, Christian Schmidt -- Your society will be sought by people of taste and refinement. signature.asc Description: Digital signature
Re: [Dovecot] compiling issue 1.2.6 - Solaris
Hello Timo, Timo Sirainen, 06.10.2009 (d.m.y): What OpenSSL version do you have? I thought those compression functions were new enough that everyone would have them by now.. I'm experiencing the same problem when buidling dovecot on Solaris 10 (SPARC). I just updated my OpenSSL to version 0.9.8k, but the error remains. Regards, Christian Schmidt -- It is a wise father that knows his own child. -- William Shakespeare, The Merchant of Venice signature.asc Description: Digital signature
Re: [Dovecot] Email box as mulitples files
Hello Ammad, Ammad Shah, 20.09.2009 (d.m.y): i have configured Dovecot to save all emails (Sent/recieve) in multiple files (MailDir) but still emails are stored in single file (POP3 account) also a single file in /var/spool/mail. What abut your MTA? Is it configured to use Maildir? Gruss/Regards, Christian Schmidt -- Q: What's the difference between Bell Labs and the Boy Scouts of America? A: The Boy Scouts have adult supervision.
Re: [Dovecot] Enabling security on POP3 and IMAP
Hello Richard, Richard Hobbs, 10.09.2009 (d.m.y): Thanks for the advice - how do i generate ssl cert files and ssl key files? Just use OpenSSL. There's a short description of what to do on http://www.apache-ssl.org - or in any other OpenSSL Howto... Gruss/Regards, Christian Schmidt -- Having nothing, nothing can he lose. -- William Shakespeare, Henry VI signature.asc Description: Digital signature
Re: [Dovecot] mailutil?
Hello Timo, Timo Sirainen, 24.03.2009 (d.m.y): On Mon, 2009-03-23 at 20:25 -0400, Timo Sirainen wrote: - What should the tool be called? Probably not mailutil to avoid confusion. doveutil? dovemail? dovetool? mailtool? dovestore, dovemail, doveadm, doveadmin, dovetool are probably usable names. I'm beginning to think doveadm or doveadmin would be good. Because Cyrus had cyradm :) I'd favor dcutil or dctool. And what about (even shorter) dool? ;-) Gruss/Regards, Christian Schmidt -- You will engage in a profitable business activity. signature.asc Description: Digital signature
Re: [Dovecot] sieve - Sendmail process terminated abnormally, exit status 70
Steffen Kaiser, 13.08.2008 (d.m.y): On Tue, 12 Aug 2008, Thomas Harold wrote: Check out /usr/include/sysexits.h what exit code 70 means on your system - 70 is internal software error in Linux. Then check when /usr/lib/sendmail will exit with this code. Deliver will run /usr/lib/sendmail with the uid of the target mailbox, you said virtual user - so you've configured the id in dovecot.conf, I guess. I just had a similar problem caused by the fact that /usr/lib/sendmail was missing. As I'm using exim as MTA, I created /usr/lib/sendmail as a symlink pointing to the exim binary. Regards, Christian -- Q: What's a WASP's idea of open-mindedness? A: Dating a Canadian.
Re: [Dovecot] Install from source of dovecot 1.1.2
Hello Guy, Guy, 10.08.2008 (d.m.y): I have what I'm sure is a stupid question. I'm trying to install Dovecot 1.1.2 from source and my command sequence is this: cd dovecot-1.1.2 ./configure --prefix=/usr --exec-prefix=/usr --with-mysql --with-storagesmaildir --sysconfdir=/etc/dovecot make make install cd ../dovecot-sieve-1.1.5 ./configure --with-dovecot=../dovecot-1.1.2 make make install I don't get any errors during either install OK, but you do make install as root, don't you? I've done the odd config on dovecot to try and keep it as close to the install dirs used by the Dovecot package included with Ubuntu. Once it's done, dovecot -n still looks in /usr/local/etc and when I try and start dovecot it looks for the libexec dir in /usr/local instead of /usr. Is there something I'm missing on the configure? Please check what you $PATH variable looks like and if there exists another dovecot in /usr/local/sbin (which maybe is mentioned in your $PATH before /usr/sbin). Or just call /usr/sbin dovecot -n. Gruss/Regards, Christian Schmidt -- You are a bundle of energy, always on the go.
Re: [Dovecot] Certificate Server name!
kbajwa, 06.07.2008 (d.m.y): Setup of Dovecot went smoothly. Now when I try to retrieve mail from the server, I get the following message: Security Error: Domain name mismatch You have attempted to establish a connection to mail.tib.com However, the security certificate presented belongs to imap.example.com. How to fix this message? Re-create your SSL certificate and key and take care that the COmmon Name (CN) is set to your hostname (mail.tib.com). Gruss/Regards, Christian Schmidt -- Accent on helpful side of your nature. Drain the moat.
Re: [Dovecot] (no subject)
Hello LDB, LDB, 12.10.2007 (d.m.y): Version: 1.0.beta8 Well, 1.0 has been released long time ago... Is it possible to listen on just specific IP addresses as opposed a single IP or just all IPs on the same server? It is. Take a look at your configuration file. Search for listen. Gruss/Regards, Christian Schmidt -- You will be audited by the Internal Revenue Service.
Re: [Dovecot] [Pkg-exim4-users] Exim-dovecot-Horde/imp-Mysql
Hello Andre, Andre Eisvogel, 21.08.2007 (d.m.y): I'm running a linuxbox with ' Dovecot-Exim-horde/IMP- Mysql ', this is a very good combination and works excellent for the system users. Now I want to change the configuration and authenticate against the mysql database from horde. That way it is much easy for me to create (virtual) mail users. I also want to use the mail alias of the horde users for Exim and Dovecot. My questions are; is it possible to use the horde mysql database for this? Yes - you can (and most probably need to) create additional tables in the horde database. Using the stock horde database would not help you, because horde just uses it as a container to store your users' preferences. And is it also possible for the mail alias of horde? What is the mail alias of horde? IMO, horde in general and imp in special isn't aware of aliases at all. Gruss/Regards, Christian Schmidt -- Save energy: be apathetic.
Re: [Dovecot] Maildir Skeleton
Hello Sebastian, Sebastian Ganschow, 07.08.2007 (d.m.y): Scott Silva schrieb: What are you using to create users? MAybe you could add something to the user creation system. I'm using postfixAdmin but I don't want to modify it. What you could do is create a wrapper script that 1. invokes postfixAdmin and after that 2. creates the maildirs as needed. Keep it simple! Gruss/Regards, Christian Schmidt -- You have no real enemies.
Re: [Dovecot] Subfolders
Hello Azher, Azher Amin, 05.08.2007 (d.m.y): Thnx for the replies. I am using 1.0.2 and mbox, but from which option you choose that this folder will have subfolders or will it contain only files ?? I used the New SubFolder Option. Our mail server is running with mbox files. Whenever I want to create a folder that is designated to contain subfolders, its (the folder's) name needs to end with a trailing slash. Tested with Thunderbird and Outlook. Gruss/Regards, Christian Schmidt -- No violence, gentlemen -- no violence, I beg of you! Consider the furniture! -- Sherlock Holmes
Re: [Dovecot] Fatal: Login process must not run as root
Hello santhosh, santhosh, 11.06.2007 (d.m.y): How to create users in the dovecott ? Dovecot cannot administer a user list of its own. Instead, you can connect it to whatever user administration tool your system is using, e.g. LDAP, MySQL or plain passwd-like files. Gruss/Regards, Christian Schmidt -- You should emulate your heros, but don't carry it too far. Especially if they are dead.
Re: [Dovecot] Will pay $500 towards a Dovecot feature
Marc Perkel, 23.05.2007 (d.m.y): IMAP establishes a connection between the client and the server. Wouldn't it be great if it could be a conduit to let custom Thunderbird plugins talk to custom server application over the IMAP interface? For example, personalized server settings. Suppose for example I want Thunderbird to edit my server side white lists or black lists or any other setting? Wouldn't it be nice if IMAP supported these changes? AFAIK, the M in IMAP stands for Mail, not for Calendar or Schedules. The connection is made. It's a secure connection that's been authenticated. You can also use LDAP and/or Kerberos to authenticate your users for other services - e.g. HTTP/WebDAV access to their Calendars, for managing their Sieve filters and so on. Thus, your proposal sounds to me a bit like reinventing the wheel. And I think that what we want is dovecot, not Exchange. Nevertheless, feel free to give me $500. ;-) Gruss/Regards, Christian Schmidt -- Always do right. This will gratify some people and astonish the rest. -- Mark Twain
Re: [Dovecot] Return error instead of dying on time back skip?
Hello Amon, Amon Ott, 02.05.2007 (d.m.y): All our systems run ntpd, but they might be offline for a while before they get contact to a time server, e.g. because of DSL problems. Define one of your internal systems as master time server that connects to other NTP servers outside your networks and make your other systems synchronize their system time with this machine. Gruss/Regards, Christian Schmidt -- Writing is easy; all you do is sit staring at the blank sheet of paper until drops of blood form on your forehead. -- Gene Fowler