Re: [Dovecot] troubleshooting new dovecot installation
Hi, El Martes, 8 de Mayo de 2007 05:13, Ray escribió: however, when I try to use the login method (that is what the command 1 login username password part is, isn't it?) That seems like an imap command, and I suppose that you're using a pop3 port... Aaagur. -- Joseba Torre. CIDIR Bizkaia. pgpGCge8LdMCl.pgp Description: PGP signature
Re: [Dovecot] global vs user script
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Tue, 8 May 2007, M1 wrote: I glanced over the current Sieve library (CMU): 1) 3 global scripts, 1 execute before user script, 1 execute after user script, 1 execute only if there is no user script. I didn't found an easy way to let the parser read in more than one script in a row. There is a function that translates just one file into the bytecode. It is not iterative. 2) Call global script from user script or call user script from global script. Maybe, one could expand Sieve to have some sort of include statement. It could work. However, there are at least two other Sieve implementations, too, there had been some suggestions to look into them, but nobody jump into til now. Bye, - -- Steffen Kaiser -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.6 (GNU/Linux) iQEVAwUBRkAcjS9SORjhbDpvAQJIVwf+P/IFkwlE5Hs+/B1d0vie2jzWAjWMOa4C xLuTS4kMvnaxS7NBQs26W9CVvHrcx1J1TNzxm0wy40p4MuN6R57K6k6XdtLUf8tJ ueoEIfd2Uf/l/ulCdn0t3hbz1Rwk43K9aKdoYEUcHMXsRy2kT8QrWNhxZKYH2G3u /k9Zg6Vjp8/ZqdDP34f365w9diNzylU+sdQbJXm5FvjLo/sbVXcxWQiI0c/NW78O Kqj9Clv/izufMcNqqLkk8z1FMcJRgpjqLCw2iGV1nBDHrEjBuN2Y4UuV3MqeLD9a bhkBDbw/GpanSgrB59YOUfKtuJrF9Vcg7duHVVaYnCBOfMYB30wXRw== =JXVy -END PGP SIGNATURE-
[Dovecot] Problems with Shared Mailbox
Hi, i've installed dovecot on a new mailserverand try to set up some shared mailboxes. I have everiting up an runnig so far. I have 3 mboxes to be shared. I have use the following setup namespace private { separator = prefix = location = inbox = yes hidden = yes } namespace public { separator = / prefix = zentrale/ location = mbox:/var/mail/shared:CONTROL=/var/mail/shared/.control:INDEX=/var/mail/shared/.index } the problem is with the dovecot.index files [EMAIL PROTECTED] /var/mail/shared/.index]# ls -alR total 6 drwxrwx--- 3 dovecot vhsal 512 May 7 13:49 . drwxrwx--- 4 mailnull vhsal 512 May 7 13:52 .. drwxrwx--- 5 dovecot vhsal 512 May 7 13:49 .imap -rw-rw 1 dovecot vhsal0 May 7 13:49 dovecot-shared ./.imap: total 10 drwxrwx--- 5 dovecot vhsal 512 May 7 13:49 . drwxrwx--- 3 dovecot vhsal 512 May 7 13:49 .. drwxrwx--- 2 dovecot vhsal 512 May 7 13:50 Eingang drwxrwx--- 2 dovecot vhsal 512 May 7 13:49 Erledigt drwxrwx--- 2 dovecot vhsal 512 May 7 13:50 Spam -rw-rw 1 dovecot vhsal0 May 7 13:49 dovecot-shared ./.imap/Eingang: total 38 drwxrwx--- 2 dovecot vhsal512 May 7 13:50 . drwxrwx--- 5 dovecot vhsal512 May 7 13:49 .. -rw-rw 1 dovecot vhsal 0 May 7 13:50 dovecot-shared -rw-rw 1 dovecot vhsal896 May 7 13:51 dovecot.index -rw-rw 1 dovecot vhsal 23552 May 7 13:51 dovecot.index.cache -rw-rw 1 dovecot vhsal 6824 May 7 13:51 dovecot.index.log ./.imap/Erledigt: total 30 drwxrwx--- 2 dovecot vhsal512 May 7 13:49 . drwxrwx--- 5 dovecot vhsal512 May 7 13:49 .. -rw-rw 1 dovecot vhsal 0 May 7 13:49 dovecot-shared -rw-rw 1 dovecot vhsal456 May 7 13:52 dovecot.index -rw-rw 1 dovecot vhsal 20480 May 7 13:45 dovecot.index.cache -rw-rw 1 dovecot vhsal 3364 May 7 13:52 dovecot.index.log ./.imap/Spam: total 26 drwxrwx--- 2 dovecot vhsal512 May 7 13:50 . drwxrwx--- 5 dovecot vhsal512 May 7 13:49 .. -rw-rw 1 dovecot vhsal 0 May 7 13:50 dovecot-shared -rw-rw 1 dovecot vhsal240 May 7 13:51 dovecot.index -rw-rw 1 dovecot vhsal 17408 May 7 13:45 dovecot.index.cache -rw-rw 1 dovecot vhsal648 May 7 13:51 dovecot.index.log When the directory is setup like this everthing works as planed. But sometimes (havn't quite figured when exactly the dovecot.index file of one of the Mailboxes is regenated with the false permissions set ./.imap/Eingang: total 38 drwxrwx--- 2 dovecot vhsal512 May 7 13:53 . drwxrwx--- 5 dovecot vhsal512 May 7 13:49 .. -rw-rw 1 dovecot vhsal 0 May 7 13:50 dovecot-shared -rw--- 1 estartu vhsal376 May 7 13:53 dovecot.index -rw-rw 1 dovecot vhsal 23552 May 7 13:53 dovecot.index.cache -rw-rw 1 dovecot vhsal 7116 May 7 13:53 dovecot.index.log How can I gate dovecot to set the permissions of this files to rw-rw I am using Dovecot v1.0.rc29 Regards Gerhard Schmidt -- Gerhard Schmidt| Nick : estartu IRC : Estartu | Fischbachweg 3 || PGP Public Key 86856 Hiltenfingen | EMail: [EMAIL PROTECTED] | on request Germany|| pgpk2zWyCR3cN.pgp Description: PGP signature
[Dovecot] Dovecot deliver discards emails (mail loss)
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hello, Dovecot deliver used with filesystem quota, sendmail v8.13 via .forward-mechanism causes mail loess: May 8 09:49:53 ux-2s11-9 deliver(dvtest): msgid=[EMAIL PROTECTED]: save failed to INBOX May 8 09:49:53 ux-2s11-9 deliver(dvtest): msgid=[EMAIL PROTECTED]: Return-Path missing, rejection reason: Not enough disk space May 8 09:49:53 ux-2s11-9 sendmail[29618]: l487nclf029596: to=| /etc/mail/runde, ctladdr=dvtest (31045/102), delay=00:00:15, xdelay=00:00:00, mailer=prog, pri=120033, dsn=2.0.0, stat=Sent /etc/mail/runde is a shell script to capture various status of the delivery attempt, incl. a strace log. Below are the last lines of the strace. Actually, I expected deliver to _tempfail_ the delivery attempt with out of quota. However, the mail is lost, I guess, because sendmail received a return code 0. == brk(0x8115000) = 0x8115000 time(NULL) = 1178610593 open(/var/cache/dovecot/31045/index/.INBOX/dovecot.index, O_RDWR|O_LARGEFILE) = 7 alarm(120) = 0 fcntl64(7, F_SETLKW64, {type=F_RDLCK, whence=SEEK_SET, start=0, len=0}, 0xbfaa8c44) = 0 alarm(0)= 120 fstat64(7, {st_mode=S_IFREG|0600, st_size=2144, ...}) = 0 mmap2(NULL, 2144, PROT_READ|PROT_WRITE, MAP_SHARED, 7, 0) = 0xb7ee6000 open(/var/cache/dovecot/31045/index/.INBOX/dovecot.index.log, O_RDWR|O_LARGEFILE) = 8 fstat64(8, {st_mode=S_IFREG|0600, st_size=2984, ...}) = 0 pread64(8, \1\0\30\0\214\267\377E\1\0\0\0\0\0\0\0\0\0\0\0\214\267..., 24, 0) = 24 fcntl64(7, F_SETLK64, {type=F_UNLCK, whence=SEEK_SET, start=0, len=0}, 0xbfaa8ca4) = 0 time(NULL) = 1178610593 stat64(/etc/localtime, {st_mode=S_IFREG|0644, st_size=837, ...}) = 0 stat64(/home/dvtest/MailDir/new, {st_mode=S_IFDIR|0700, st_size=12288, ...}) = 0 stat64(/home/dvtest/MailDir/cur, {st_mode=S_IFDIR|0700, st_size=4096, ...}) = 0 stat64(/home/dvtest/MailDir/tmp/1178610593.P29623Q0M537288.ux-2s11-9, 0xbfaa8d90) = -1 ENOENT (No such file or directory) umask(0)= 077 open(/home/dvtest/MailDir/tmp/1178610593.P29623Q0M537288.ux-2s11-9, O_WRONLY|O_CREAT|O_EXCL|O_LARGEFILE, 0600) = 9 umask(077) = 0 _llseek(9, 0, [0], SEEK_CUR)= 0 fstat64(9, {st_mode=S_IFREG|0600, st_size=0, ...}) = 0 writev(9, [{From [EMAIL PROTECTED]..., 70}, {\n, 1}], 2) = - -1 EDQUOT (Disk quota exceeded) utime(/home/dvtest/MailDir/tmp/1178610593.P29623Q0M537288.ux-2s11-9, [2007/05/08-09:49:53, 2007/05/08-09:49:53]) = 0 fsync(9)= 0 close(9)= 0 unlink(/home/dvtest/MailDir/tmp/1178610593.P29623Q0M537288.ux-2s11-9) = 0 time([1178610593]) = 1178610593 stat64(/etc/localtime, {st_mode=S_IFREG|0644, st_size=837, ...}) = 0 stat64(/etc/localtime, {st_mode=S_IFREG|0644, st_size=837, ...}) = 0 stat64(/etc/localtime, {st_mode=S_IFREG|0644, st_size=837, ...}) = 0 send(6, 22May 8 09:49:53 deliver(dvte..., 130, MSG_NOSIGNAL) = 130 time([1178610593]) = 1178610593 stat64(/etc/localtime, {st_mode=S_IFREG|0644, st_size=837, ...}) = 0 stat64(/etc/localtime, {st_mode=S_IFREG|0644, st_size=837, ...}) = 0 stat64(/etc/localtime, {st_mode=S_IFREG|0644, st_size=837, ...}) = 0 send(6, 22May 8 09:49:53 deliver(dvte..., 170, MSG_NOSIGNAL) = 170 close(8)= 0 munmap(0xb7ee6000, 2144)= 0 close(7)= 0 munmap(0xb7d6c000, 39020) = 0 munmap(0xb7ee7000, 8952)= 0 munmap(0xb7d43000, 166416) = 0 fcntl64(3, F_GETFD) = 0x1 (flags FD_CLOEXEC) close(3)= 0 close(5)= 0 exit_group(0) = ? === protocol lda { # Address to use when sending rejection mails. postmaster_address = [EMAIL PROTECTED] # Support for dynamically loadable plugins. mail_plugins is a space separated # list of plugins to load. mail_plugin_dir = /usr/local/dovecot/lib/dovecot/lda mail_plugins = quota mail_log cmusieve # Binary to use for sending mails. sendmail_path = /usr/sbin/sendmail # UNIX socket path to master authentication server to find users. auth_socket_path = /var/run/dovecot/auth-master # Log to syslog log_path = info_log_path = syslog_facility = mail } Bye, - -- Steffen Kaiser -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.6 (GNU/Linux) iQEVAwUBRkAvCC9SORjhbDpvAQKXiwgAoWOhnRqlqqqcWrT0r/vPB4vklFUylxFz rgNlNklola01iqZWT3SXsraxGbbK4xnU4D2XtxoA8uwONZ3pQny+2gdnwlDlcjcY Uqme8Rmr4TQz3JiTgMlT2I2gUGeSNrgckDV3Q9VvFfUT+23kEIhOahL4aBVD9tsv SV3YZDkekP4qndrfxRfW5cVwsaaRX4YJZsk47mx2oakmaoFb3qGk3QGV0x9sZRhj AvXeIKu8SQkHMC6rbSJiwr34oYZl/aGA7Z/vB3iTxE3NgkyqE1WoUfxgdo1EiXTJ
Re: [Dovecot] dovecot-dspam-integration
On Tue, 2007-05-08 at 03:39 -0600, Trever L. Adams wrote: @@ -152,9 +153,9 @@ close(fd); +execl (DSPAM, DSPAM, --user, user, --source=error, --stdout, class_arg, sign_arg, NULL); So with what configuration is that actually necessary? I know that my configuration works fine as-is. Should we make this optional? johannes signature.asc Description: This is a digitally signed message part
Re: [Dovecot] dovecot-dspam-integration
Hi, Usually dspam is able to either pick out the user from the signature (uid in signature setting for dspam) or from the user it's running under. I guess you're running some virtual user setup? Hmm, with my dspam patched or unpatched (to ignore the domain in the case of patch) this doesn't work for me. I am definitely NOT using virtual users (I have always had problems with doing that on qmail, sendmail and postfix, so I avoid it if possible). So your imap binaries are running as the real users? Oh. Do you use the dspam client/server setup? I am running dspam 3.8.0 which is the first version I have actually installed and used. I think I'm still on 3.6.something, latest debian/testing packages. Ok, well, I am meaning that if a message is available and its signature is your code handles everything properly right now (not for a cron job but for immediate action). Right. Ok, good to see that confirmed :) I believe we should fix it, if dspam would allow, to learn it as spam using --corpus or what not if that is still available and the appropriate option. However, this wasn't my complaint. Ah, it would allow that, but I'm not sure that's desirable. I'd have to look into the dspam docs more as to when you want to use that etc. My complaint is that an email which is in SPAM should move out, even if it gives a warning (if that is possible) so that email can be saved. I am not talking about reclassifying things as spam or not spam. Does that make any sense? Hmm. How did that mail end up in SPAM when it doesn't have a signature? I only move mail into SPAM that was classified by dspam as SPAM so hence also has a signature. Anyway, I hope the patch I sent a moment ago helps. I took the idea from the acl plugin. I am not sure if it works in a virtual environment or not. I don't know if it works there either :) I'll try the patch on my system and if it doesn't break anything I'll roll it in. Don't hold your breath though, it'll probably take me a week or two. However, as I said, I haven't been able to get dspam to recognize the user from the signature. Would you mind sharing your dspam.conf file and compile options so I can see if there is something in my setup which is broken. (My compile options are a bit custom, but the dspam.conf is pretty much the suggested on in doc/ for postfix.) I didn't compile dspam myself (debian) and my configuration is pretty straight forward, each user runs dspam and no client/server model is used. johannes signature.asc Description: This is a digitally signed message part
Re: [Dovecot] dovecot-dspam-integration
On Mon, 2007-05-07 at 18:43 +0200, Johannes Berg wrote: Hi Trever, Please copy the mailing list too. I am sorry about that. the cron job would have to iterate through all these files and call dspam depending on the contents of the file. And then it all has to be atomic. It's not really all that complex, but I was too lazy to implement it. johannes I understand. I have a few questions about your code. You do a case -3: on enh_error, yet there is NO such entry anywhere in the code. Additionally, you check for 0 for a good condition, yet there is no possibility of a changed enh_error value for 0 in call_dspam nor in the function that calls it. I am getting errors when I try to move things into the spam folder (default case error). DSPAM is installed, it is getting run and if I run it by hand with --user someone (without any domain junk) it runs fine. So, where does the 0 case get it's value where it doesn't show up in call_dspam? Am I reading the code incorrectly? Thanks, Trever -- History is nothing but a collection of fables and useless trifles, cluttered up with a mass of unnecessary figures and proper names. -- Leo Tolstoy signature.asc Description: This is a digitally signed message part
Re: [Dovecot] dovecot-dspam-integration
Hello, On Tue, 2007-05-08 at 11:41 +0200, Johannes Berg wrote: Hi, transaction. Alternatively, enh_error can be set != 0 if call_dspam returns an error which can happen when dspam returns an error code or isn't present. Yes, I found this. Which is where my patch came from. Not sure I understand your question now. Yes, it works only if I have --user USER as mentioned, without any domain stuff. So I don't have --user given No, you don't. (joe, not [EMAIL PROTECTED]). Anyway, I think I have fixed the program with two lines of code being changed (depending on the preferred coding style, this may be 1-3 lines...). I will send you the patch later today if I get some spam to test it out on. Basically it amounts to having the first two arguments after the program name to execl to be --user and the equivalent to getenv(USER). (Mine is two lines because I have done char *user=getenv(USER) at the beginning of call_dspam since most people seem to prefer that style instead of having getenv directly in the call to execl. Usually dspam is able to either pick out the user from the signature (uid in signature setting for dspam) or from the user it's running under. I guess you're running some virtual user setup? Hmm, with my dspam patched or unpatched (to ignore the domain in the case of patch) this doesn't work for me. I am definitely NOT using virtual users (I have always had problems with doing that on qmail, sendmail and postfix, so I avoid it if possible). I am running dspam 3.8.0 which is the first version I have actually installed and used. The point is that you have to (a) when no files exist: move into spam: create a file sig with contents spam move out of spam: create a file sig with contents notspam You said that you in your previous email. Heh, I was too lazy to dig it up. (B and C are indeed done.) A doesn't seem to happen. Well, no, B and C aren't really done either since we never touch any signature-database on disk. Ok, well, I am meaning that if a message is available and its signature is your code handles everything properly right now (not for a cron job but for immediate action). Your code complains about no signatures. I will dig into the code a little later and help out with this if you would like. For now, the code should be patched to allow things in the spam folder to be moved out even if their is no signature or the signature has expired (and no longer points to any cache in dspam). Maybe your code already does this. I haven't had a chance to test it yet. I think it *should* complain about signatures. If you try training such an old message that dspam no longer knows about it, it'll throw an error, and if you have a message without signature then you can't retrain it. I just delete the message in that case, though I suppose if you use a trash folder you'll have to use that configuration.. johannes I believe we should fix it, if dspam would allow, to learn it as spam using --corpus or what not if that is still available and the appropriate option. However, this wasn't my complaint. My complaint is that an email which is in SPAM should move out, even if it gives a warning (if that is possible) so that email can be saved. I am not talking about reclassifying things as spam or not spam. Does that make any sense? Anyway, I hope the patch I sent a moment ago helps. I took the idea from the acl plugin. I am not sure if it works in a virtual environment or not. However, as I said, I haven't been able to get dspam to recognize the user from the signature. Would you mind sharing your dspam.conf file and compile options so I can see if there is something in my setup which is broken. (My compile options are a bit custom, but the dspam.conf is pretty much the suggested on in doc/ for postfix.) Trever -- In Heaven an angel is nobody in particular. -- George Bernard Shaw (1856-1950) signature.asc Description: This is a digitally signed message part
Re: [Dovecot] Error: Master request X not found
Jordi Moles wrote: *Hi, I've been getting the following error from time to time since i started to use dovecot more than one year ago: dovecot: May 07 19:57:24 Error: auth(default): Master request 88729.43523 not found I haven't stopped upgrading dovecot with the hope that this would be a bug and would be fixed some day, but with v1.0.0, i keep getting the same error. I got such errors when experimenting with compiler options for code optimization.
[Dovecot] Dovecot Startup error
Hi, I have installed Dovecot 1.0.0 on a FreeBSD6.0 machine with Exim 4.66 and Vexim 1.5. When I restart the machine, dovecot does not load properly. The logs of /var/log/maillog are as: May 8 00:10:32 lhr dovecot: pop3-login: No authentication sockets found May 8 00:10:32 lhr dovecot: child 11478 (login) returned error 89 May 8 00:10:34 lhr dovecot: imap-login: No authentication sockets found May 8 00:10:34 lhr dovecot: child 11479 (login) returned error 89 When I kill it and then start it, then it starts working properly. /var/log/maillog:May 8 09:33:02 lhr dovecot: auth(default): Killed with signal 15 /var/log/maillog:May 8 09:33:02 lhr dovecot: Killed with signal 15 /var/log/maillog:May 8 09:33:13 lhr dovecot: Dovecot v1.0.0 starting up /var/log/maillog:May 8 09:33:13 lhr dovecot: auth-worker(default): mysql: Connected to 127.0.0.1 (exim) My configuration file is : lhr# dovecot -n # /usr/local/etc/dovecot.conf protocols: imap pop3 listen(default): *:143 listen(imap): *:143 listen(pop3): * ssl_disable: yes disable_plaintext_auth: no login_dir: /usr/local/var/run/dovecot/login login_executable(default): /usr/local/libexec/dovecot/imap-login login_executable(imap): /usr/local/libexec/dovecot/imap-login login_executable(pop3): /usr/local/libexec/dovecot/pop3-login first_valid_uid: 90 last_valid_uid: 93 first_valid_gid: 90 last_valid_gid: 93 mail_executable(default): /usr/local/libexec/dovecot/imap mail_executable(imap): /usr/local/libexec/dovecot/imap mail_executable(pop3): /usr/local/libexec/dovecot/pop3 mail_plugins(default): quota imap_quota mail_plugins(imap): quota imap_quota mail_plugins(pop3): quota mail_plugin_dir(default): /usr/local/lib/dovecot/imap mail_plugin_dir(imap): /usr/local/lib/dovecot/imap mail_plugin_dir(pop3): /usr/local/lib/dovecot/pop3 pop3_uidl_format(default): pop3_uidl_format(imap): pop3_uidl_format(pop3): %08Xu%08Xv auth default: verbose: yes debug: yes passdb: driver: sql args: /usr/local/etc/dovecot-sql.conf userdb: driver: sql args: /usr/local/etc/dovecot-sql.conf Please help me in this regard. Thanks in advance. Kamran Arshad - Don't pick lemons. See all the new 2007 cars at Yahoo! Autos.
[Dovecot] .imap files
Dovecot version: 1.0.rc7 OS: Red Hat Fedora Core 6 CPU: x86 Filesystem: Linux I have recently upgraded from Fedora Core 4 to Fedora Core 6 (the FC6 was a clean install, not an upgrade). Prior to the upgrade, I used Dovecot to handle IMAP email that talked to Outlook clients. After the FC6 install and copying the .imap* files to the newly recreated user accounts, Outlook is not seeing the old email. Dovecot is creating new dovecot.* files to hold new email, not looking in the existing .imap.* files. Is there a way to either convert the .imap* files into the new dovecot.* files or any way to recover the email that anyone knows about? Thanks! Scott
Re: [Dovecot] Dovecot deliver discards emails (mail loss)
Steffen Kaiser wrote: msgid=[EMAIL PROTECTED]: Return-Path missing, rejection reason: Not enough disk space May 8 09:49:53 ux-2s11-9 sendmail[29618]: l487nclf029596: to=| /etc/mail/runde, ctladdr=dvtest (31045/102), delay=00:00:15, xdelay=00:00:00, mailer=prog, pri=120033, dsn=2.0.0, stat=Sent Was the return-path of that message indeed empty/missing as indicated? Can you show the entire log history for message id l487nclf029596? Of course, if there was no return-path, then no bounce would be generated.
Re: [Dovecot] Moving new email from the mail spool to the inbox
Adrian Barker wrote: That's right: we cannot change the way that we deliver email, at least in the short to medium term, so need to maintain compatibility with the UW IMAP server. If we do decide to write a plugin that copies new email from the mail spool to the IMAP inbox, is there any documentation on how to write plugins ? I could not find any on the wiki. Adrian Barker, University College London. Another thought occurred to me. It needn't be a plugin as such, as it just needs to run before the imap process proper - see http://wiki.dovecot.org/PostLoginScripting. It could be something as simple as a shell script doing (though with rather more safeguards):- exim_lock /var/spool/$USER \ cat /var/spool/$USER ~/mbox rm /var/spool/$USER exec /path/to/dovecot/libexec/imap though you could probably write a utility using c-client to do it properly. Best Wishes, Chris -- --+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+- Christopher Wakelin, [EMAIL PROTECTED] IT Services Centre, The University of Reading, Tel: +44 (0)118 378 8439 Whiteknights, Reading, RG6 2AF, UK Fax: +44 (0)118 975 3094
Re: [Dovecot] troubleshooting new dovecot installation
On Tuesday 08 May 2007 12:33 am, Joseba Torre wrote: Hi, El Martes, 8 de Mayo de 2007 05:13, Ray escribió: however, when I try to use the login method (that is what the command 1 login username password part is, isn't it?) That seems like an imap command, and I suppose that you're using a pop3 port... It seems like your right, as this command does work when I use port 143, but the following is a direct copy and paste from http://wiki.dovecot.org/TestPop3Installation # telnet your.host.org 110 1 login username password So, I guess the next question becomes how come I can use # telnet localhost 110 user username pass password properly from any host, but a real client reports connection refused. (kmail is the main one I've been using) Ray Aaagur.
Re: [Dovecot] Dovecot Startup error
kamran arshad wrote: /var/log/maillog:May 8 09:33:13 lhr dovecot: auth-worker(default): mysql: Connected to 127.0.0.1 (exim) This looks a little strange - why would there be an (exim) in parens, are you running dovecot as your exim userid? Regardless, my first guess is that your MySQL instance has not finished starting and is not accepting connections before Dovecot is initiated, so the auth worker has no socket to connect to; what's the timing and order of your /etc/rc* tree look like? If you have the services starting in parallel, then you might have to move Dovecot further down the startup tree, or add a little shell voodoo to check for the MySQL socket before starting it... -te -- Troy Engel | Systems Engineer Fluid, Inc | http://www.fluid.com
Re: [Dovecot] .imap files
L. Scott Loftin wrote: Dovecot version: 1.0.rc7 I have recently upgraded from Fedora Core 4 to Fedora Core 6 (the FC6 was a ... Is there a way to either convert the .imap* files into the new dovecot.* files or any way to recover the email that anyone knows about? FC4 used the older 0.99 dovecot installs (0.99.14 it looks like), you will need to read the Wiki and docs, and migrate your Dovecot config to the newer style -- once you do that, I bet everything will start working as intended. http://wiki.dovecot.org/UpgradingDovecot Before even starting, the first thing I'd do is upgrade to the actual 1.0.0 release, there were... 25(?) further release candidates beyond rc7. Axel has an RPM ready for you: http://atrpms.net/dist/fc6/dovecot/ hth, -te -- Troy Engel | Systems Engineer Fluid, Inc | http://www.fluid.com
Re: [Dovecot] Dovecot not handling r/o mailboxes completely, and problem with ACL as a workaround
The shared mailbox and all its files and subdirectories are owned by the 'dovecot' user and by the 'domain users' group that all users belong to. The ACL restrictions cause a reduction (i.e. more fine-grained constraint) in privileges. In other words, at the system-file level, everyone can read the directory/files, but at the ACL level, only members of some particular list of groups should be able to read them. And as I said, the user=username constraint seems to work fine, but group=groupname does not. It looks like the group=groupname constraint just never matches anyone. So I might have group=admins and joeblow is in group admins, but Dovecot thinks that he isn't. Adam McDougall wrote: What are the directory and file permissions of your shared folder, and do your permissions cause an increase or reduction of permissions compared to the dir and file permissions, or some of both? On Mon, May 07, 2007 at 02:47:40PM -0400, Matt Zukowski wrote: I would just add to this that simply putting a dovecot-acl file in a shared folder with user=username permissions does work just fine for us (without the complicated setup described below). Our problem is that group-based restrictions don't work at all (i.e. group=groupname permissions, as described in the manual). I'm also trying to figure out what the force-group ACL identifier is supposed to mean. I gotta stop hitting reply for this list. I keep accidentally sending messages to the original authors rather than to the mailing list :) This e-mail message is privileged, confidential and subject to copyright. Any unauthorized use or disclosure is prohibited. Le contenu du pr'esent courriel est privil'egi'e, confidentiel et soumis `a des droits d'auteur. Il est interdit de l'utiliser ou de le divulguer sans autorisation.
Re: [Dovecot] troubleshooting new dovecot installation
On Tuesday 08 May 2007 1:28 pm, Kyle Wheeler wrote: On Tuesday, May 8 at 08:02 AM, quoth Ray: It seems like your right, as this command does work when I use port 143, but the following is a direct copy and paste from http://wiki.dovecot.org/TestPop3Installation # telnet your.host.org 110 1 login username password Ummm... maybe it's changed since you saw it, but that's not what I see on that page. It looks like I owe Joseba Torre an apology. I thought he was complaining about me, but it looks like he was complaining about an error in the docs which he or someone else has since fixed. The POP3 protocol (according to RFC 1939) supports only two forms of authentication: APOP and the USER/PASS mechanism (like you have below). # telnet localhost 110 user username pass password So, I guess the next question becomes how come I can use [that] properly from any host, but a real client reports connection refused. (kmail is the main one I've been using) That's an excellent question. How do you have kmail configured? Can you use a packetsniffer to snoop on its conversation with the server? ~Kyle I have learned a little more since then, and it is probably a postfix error. I posted a full description to the postfix list, but I'll give a summary here, just in case. I'm not sure what has changed, but for whatever reason I can now send/receive/and relay through kmail but I can only receive, and send to a known account through outlook express. the logs seem to indicate that OE isn't even trying to authenticate. Ray
Re: [Dovecot] What would you tell the CIO in an ABCs of Email overview?
On 5/7/07, Esther Schindler [EMAIL PROTECTED] wrote: One of the key points that came up when I researched and wrote the Five Things CIOs Should Know about Fighting Spam article (http:// www.cio.com/article/28830) was that they should know the basics of how email works. Otherwise, said plenty of techies, the CIO won't have the first idea of what the email admin is complaining about. While its not 'ABC' the email loop is covered quite well here and that loop is needed to understand spam. Any talk if rcpt rules, relays, dnsbl, group level / user level bayes, will havea good reference there. http://wiki.dovecot.org/MailServerOverview Buffetted with something like these http://www.dbmail.org/dokuwiki/doku.php?id=bigpicture http://www.postfix.org/big-picture.html -- Gabriel Millerd