Re: [Courier-imap] make failed - RHEL4 x86_64 - courier-imap-4.0.6
kadafax writes: /usr/lib/gcc/x86_64-redhat-linux/3.4.4/../../../../include/c++/3.4.4/bits/stl_algobase.h:64:28: bits/c++config.h: No such file or directory Your C++ compiler installation is broken. You are missing system header files. pgpaBewWnefeQ.pgp Description: PGP signature
Re: [Courier-imap] Duplicate messages when leaving mail on Server.
Jerry Moore writes: The actual message in the maildir doesn't change. The UID stored in the courierpop3dsizelist file does change however. It'll start in a long format and then suddenly at random intervals switch to the shorter (normal?) format. That means that something deletes the UIDL file, so the POP3 server recreates it, in the new format. The only situation that this may happen due to only the POP3 server's actions is if you are using filesystem quotas, the mailbox exceeds the quota and the POP3 server cannot even update the UIDL file, so it gets deleted. pgpkFCEbfbqZ3.pgp Description: PGP signature
Re: [Courier-imap] Problem with Exim and Courier-Imap
Jonathan Chong writes: However, when I try to send an email via Courier-IMAP, it tells me that relaying is not allowed. You cannot send an email via Courier-IMAP any more than you can fly in an automobile. And IMAP server provides access to mail in existing accounts. That's all any IMAP server does. IMAP has nothing to do with sending mail. This is probably an exim issue. pgpS4Ux7k6Bbt.pgp Description: PGP signature
Re: [Courier-imap] ERR: authdaemon: s_connect() failed: No such file or directory
Scott Courtney writes: DEBUG: LOGIN: ip=[(null)], [EMAIL PROTECTED] DEBUG: LOGIN: ip=[(null)], password=(password_here) ERR: authdaemon: s_connect() failed: No such file or directory Authentication FAILED: No such file or directory You probably forgot to start authdaemond. See “Starting and stopping the authentication daemon” in courier-authlib's INSTALL. pgpOM1WAspVoZ.pgp Description: PGP signature
Re: [Courier-imap] ERR: authdaemon: s_connect() failed --- SOLVED
Scott Courtney writes: By way of payback I'd be willing to write this up more lucidly, as a brief FAQ entry, if someone can tell me to whom it should be submitted for publication. (I'm new to this list.) Nearly all of the documentation is generated from either an HTML or a Docbook SGML document. INSTALL is generated from an HTML document, man pages, and other stuff is Docbook SGML. http://www.courier-mta.org/cvs.html tells you how to check stuff out of CVS. Once you've identified which document you'd like to update, check out the correct module, and you'll get the original files. The stuff that you get from CVS is the only thing you must modify -- everything else that goes in each tarball is generated from these files. After making your changes run "cvs diff -U 3" to generate the patch and mail it to me. pgpnRDqUV3nZD.pgp Description: PGP signature
Re: [Courier-imap] Can anybody please unsubscribe me from this list??
Hemant Thakre writes: [ nothing ] There's an old saying: unsubscribing from a mailing list that you previously subscribed to is a basic intelligence test on the Internet. pgpkJ6ruVeCoD.pgp Description: PGP signature
Re: [Courier-imap] Firefox client connection cache exceeded error?
Michael Peters writes: When I connect to the IMAP server using Firefox, You must mean Thunderbird. I get connection cache exceeded error messages. I tweaked the daemons=5 to daemons=20 setting There's no such setting for the IMAP server. The closest settings are MAXDAEMONS and MAXPERIP in the imapd configuration file. I suspect that you're referring to the number of authlib processes in the courier-authlib package. That's something else, entirely. You need to adjust MAXDAEMONS and MAXPERIP settings in the imapd configuration file, then restart the IMAP server. pgp1ExVA1eXU4.pgp Description: PGP signature
Re: [Courier-imap] Courier-IMAP with mySQL
Jonathan Chong writes: Hi I also have this installed if it's relevant. courier-authlib-mysql-0.58-1 and rpm is telling me that it is already installed. In that case, the correct start command is: service courier-authlib start pgpV5rNPYAKrH.pgp Description: PGP signature
Re: [Courier-imap] Courier-IMAP with mySQL
Jonathan Chong writes: Thanks for this. Though the error about libauthmysql not being found is still occurring. Do I need to rebuild Courier-IMAP, something I don't really want to do since rpm is reporting that libauthmysql is already installed? This is normal. pgpdihIDzcRGU.pgp Description: PGP signature
Re: [Courier-imap] UID SORT command ...
Hrvoje Habjanic writes: Hi! I'm reading through RFC, but i'm unable to find precise, what will happen when mailbox is _empty_ and you issue UID SORT command? For example, on courier v4.0.6: 0004 UID SORT (SUBJECT) US-ASCII ALL * BYE [ALERT] Fatal error: Invalid argument But, everything works if tere _are_ some messages in mbox: 0004 UID SORT (SUBJECT) US-ASCII ALL * SORT 17 2 18 5 15 21 8 20 13 7 10 14 22 19 1 11 Is this correct behaviour? Or is related to my setup only (it is my fault)? I cannot reproduce this behavior. a select INBOX.Drafts * FLAGS (\Draft \Answered \Flagged \Deleted \Seen \Recent) * OK [PERMANENTFLAGS (\* \Draft \Answered \Flagged \Deleted \Seen)] Limited * 0 EXISTS * 0 RECENT * OK [UIDVALIDITY 1135725678] Ok * OK [MYRIGHTS "acdilrsw"] ACL a OK [READ-WRITE] Ok a UID SORT (SUBJECT) US-ASCII ALL * SORT a OK SORT done. pgpN0x1Z6GZzr.pgp Description: PGP signature
Re: [Courier-imap] Failed to create cache file: maildirwatch error
Jonathan Chong writes: Hello everyone I'm getting this error in my mail log and I don't know if it's a problem with my Exim or my Courier-Imap configuration. Dec 28 00:07:46 vps imapd: Failed to create cache file: maildirwatch ([EMAIL PROTECTED]) Dec 28 00:07:46 vps imapd: Error: Input/output error Dec 28 00:07:46 vps imapd: Check for proper operation and configuration Dec 28 00:07:46 vps imapd: of the File Access Monitor daemon (famd). I never received this error before today. The only change I've done is compiled Exim with mysql support and use Courier-Imap to authenticate from mysql. If I'm posting to the wrong list I apologise but I'm not sure what is causing the famd error. A search on Google says that it's most likely to be Courier, but I want to be sure. A few solutions (like turning on fam and famd) didn't work, but I never previously needed these. Yes, you did. This error indicates that FAM is not functioning properly. At the moment, no emails are being delivered to their mailboxes and I am presuming that the error above is the cause of this. No, it's not. Courier-IMAP has nothing to do with delivering mail. An IMAP server's responsibility consists only of providing access to existing mail in existing mailboxes. How mail gets there is something that the IMAP server has absolutely no involvement in. But, it's rather likely that whatever's responsible for breaking FAM on your box is also responsible for breaking mail delivery in your mail server. pgpFB0gRH6toO.pgp Description: PGP signature
Re: [Courier-imap] UID SORT command ...
Hrvoje Habjanic writes: On Wednesday 28 December 2005 00:22, Sam Varshavchik wrote: Hrvoje Habjanic writes: > Hi! > > I'm reading through RFC, but i'm unable to find precise, what will happen > when mailbox is _empty_ and you issue UID SORT command? > > For example, on courier v4.0.6: > > 0004 UID SORT (SUBJECT) US-ASCII ALL > * BYE [ALERT] Fatal error: Invalid argument > > But, everything works if tere _are_ some messages in mbox: > > 0004 UID SORT (SUBJECT) US-ASCII ALL > * SORT 17 2 18 5 15 21 8 20 13 7 10 14 22 19 1 11 > > Is this correct behaviour? Or is related to my setup only (it is my > fault)? I cannot reproduce this behavior. Sorry, wrong version - it's 4.0.2. Upgrade to 4.0.6, and try again. pgpLnaG6P4QBM.pgp Description: PGP signature
Re: [Courier-imap] automatically remove old messages
Chris Purves writes: [EMAIL PROTECTED] wrote: Hello, I would like to know if it is possible to have courier remove old messages, say 6 months old, from trash or mailing list folders. I am using courier-imap with maildirs. imapd file That has the capability that I want, but is it possible to have a seperate file for each user? No. pgpBJvxSyknsO.pgp Description: PGP signature
Re: [Courier-imap] automatically remove old messages
Chris Purves writes: On Fri, December 30, 2005 7:51 pm, Sam Varshavchik said: Chris Purves writes: [EMAIL PROTECTED] wrote: I would like to know if it is possible to have courier remove old messages, say 6 months old, from trash or mailing list folders. I am using courier-imap with maildirs. imapd file That has the capability that I want, but is it possible to have a seperate file for each user? No. What would be the best way to do what I want? Write a script that deletes old files and add that to my crontab? That'll work. Be sure to watch out for common pitfalls. find ~user/cur -mtime +30 --exec rm {} \; The user doesn't log in, or get any mail for 30 days. You get paged at 2am by an alarm for a failed cron job, because rm tried to remove the cur directory itself. pgpxWfGcCPvsd.pgp Description: PGP signature
Re: [Courier-imap] automatically remove old messages
Chris Purves writes: On Sat, December 31, 2005 10:27 am, Sam Varshavchik said: Chris Purves writes: On Fri, December 30, 2005 7:51 pm, Sam Varshavchik said: Chris Purves writes: [EMAIL PROTECTED] wrote: I would like to know if it is possible to have courier remove old messages, say 6 months old, from trash or mailing list folders. I am using courier-imap with maildirs. imapd file That has the capability that I want, but is it possible to have a seperate file for each user? No. What would be the best way to do what I want? Write a script that deletes old files and add that to my crontab? That'll work. Be sure to watch out for common pitfalls. find ~user/cur -mtime +30 --exec rm {} \; The user doesn't log in, or get any mail for 30 days. You get paged at 2am by an alarm for a failed cron job, because rm tried to remove the cur directory itself. Thanks for your help. I made a bash script using your suggestion that removes old mail from specified directories: #!/bin/bash # this script purges mail older than specified days from specified directories # enter directory names to be purged, seperated by spaces DIRS="trash sent-mail lists.clamav-announce" # enter number of days to purge if older DAYS="180" for DIR in $DIRS do find ~/Maildir/.$DIR/cur -mtime +$DAYS -exec rm {} \; done Like I said, there'll be a small chance that you'll get paged at 2am in the morning, six months from now, or so, to clean up after a failed job. pgpyZgbRWQXho.pgp Description: PGP signature
Re: [Courier-imap] winbind auth for courier
Guillaume writes: hi, I configure samba & winbind on an courier imap server. When i run the getent passwd command, it return me some informations: ERITEST\administrateur:*:15000:15000:Administrateur:/home/ERITEST/administrateur/:/bin/bash ERITEST\invitÃ(c):*:15001:15001:InvitÃ(c):/home/ERITEST/invitÃ(c)/:/bin/bash ERITEST\support_388945a0:*:15002:15000:SUPPORT_388945a0:/home/ERITEST/support_388945a0/:/bin/bash ERITEST\oo1:*:15003:15000:oo1:/home/ERITEST/oo1/:/bin/bash ERITEST\oo2:*:15004:15000:oo2:/home/ERITEST/oo2/:/bin/bash ERITEST\install:*:15005:15000:install:/home/ERITEST/install/:/bin/bash ERITEST\ungoliant$:*:15006:15002:UNGOLIANT:/home/ERITEST/ungoliant_/:/bin/bash ERITEST\krbtgt:*:15007:15000:krbtgt:/home/ERITEST/krbtgt/:/bin/bash ERITEST\mail$:*:15008:15003:mail:/home/ERITEST/mail_/:/bin/bash why i cannot authenticate myself on the imap server? i see my windows users whith getent... Any idea? You must use the userids verbatim to log in: "ERITEST\oo1", etc… Furthermore IMAP requires all backslashes to be doubled in text that's transmitted "over-the-wire", and your buggy IMAP client may fail to do that. Try logging in as "ERITEST\\oo1", etc… Finally, you must either have a PAM module installed that validates passwords, use courier-authlib's authpam module, and properly configure your PAM stack accordingly; or you must have a hacked getspnam() function that returns the accounts' passwords that are encrypted using any of them supported hash functions (traditional triple-DES crypt, MD5 hash, etc…) pgpklTZGGIWTf.pgp Description: PGP signature
Re: [Courier-imap] Horde login takes ages on account with 1000's folders
Warwick Bruce Chapman writes: Three of the mailboxes include 1500 or more folders (including all subfolders) and it is only when logging into Horde as any of these three users that problems occur. Basically what happens is the login 'hangs' for a up to 3 minutes, while the courier-imap process hits 100%. I assume that what is happening is Courier or Horde is trying to traverse the entire tree of folders before login may complete. Courier does not traverse anything by itself. It must be Horde that's doing that. If the IMAP client requests the server to open 1500 folders, the server has no option but oblige. There's nothing that the server can do about it. Suggest that you report this as a Horde problem. pgpymX1aABDJ0.pgp Description: PGP signature
Re: [Courier-imap] UID SORT command ...
Hrvoje Habjanic writes: search_internal(si, sihead, mycharset, isuid, sort_callback, &sm); if (sm.nmsgs >= 0) { size_t i; struct sortmsginfo *o; /* Convert it to an array */ sm.array= (struct sortmsginfo **) malloc(sm.nmsgs * sizeof(struct sortmsginfo *)); if (!sm.array) write_error_exit(0); ... I did add "+1" to sm.nmsgs in malloc line. I would like somebody to explain why this works in the first place? Is sm.nmsgs==0 true if there are no matches in this search? Is so, why is there sm.nmsgs >= 0? Please, anyone? Most likely because even a zero message count is considered to be a valid result, and a negative message count indicates an internal error. pgpR4EEfsu99l.pgp Description: PGP signature
Re: [Courier-imap] configure error couriertls
Andi Voss writes: Hi, I`m getting the following error when I try to compile courier-imap-4.0.6 with the following options: ./configure --enable-workarounds-for-imap-client-bugs --enable-unicode --without-socks ... ... ... ./.libs/libcouriertls.a(libcouriertls.o)(.text+0x1159): In function `cache_add': /home/andi/courier-imap-4.0.6/tcpd/libcouriertls.c:604: undefined reference to `i2d_SSL_SESSION' ./.libs/libcouriertls.a(libcouriertls.o)(.text+0x11df):/home/andi/courier-imap-4.0.6/tcpd/libcouriertls.c:621: undefined reference to `i2d_SSL_SESSION' ./.libs/libcouriertls.a(libcouriertls.o)(.text+0x1331): In function `get_func': /home/andi/courier-imap-4.0.6/tcpd/libcouriertls.c:694: undefined reference to `d2i_SSL_SESSION' collect2: ld returned 1 exit status make[3]: *** [couriertls] Error 1 make[3]: Leaving directory `/home/andi/courier-imap-4.0.6/tcpd' make[2]: *** [all] Error 2 make[2]: Leaving directory `/home/andi/courier-imap-4.0.6/tcpd' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/home/andi/courier-imap-4.0.6' make: *** [all] Error 2 I think there is something wrong whit ssl!? Yes, there's something wrong. But, we can only guess; you are the only one who knows exactly what's installed or not installed on this machine. The symbol in question is an ordinary function in the OpenSSL library. If the link fails, one of many possible reasons is that your OpenSSL libraries are corrupted, or not properly installed. pgpPbnyK21794.pgp Description: PGP signature
Re: [Courier-imap] Solaris 9 Install Help
David writes: Hello, I am trying to install courier-imap on Solaris 9. I managed to run ./configure ok after setting LDFLAGS and CPPFLAGS to point to libs. When I run make check I am getting ld.so.1: ./testgdbm: fatal: libstdc++.so.6: open failed: No such file or directory If I do make install it completes with no errors but when I try to start it I’m getting the below error in syslog. imapd: [ID 702911 mail.info] ld.so.1: /usr/lib/courier-imap/libexec/couriertcpd: fatal: libgdbm.so.3: open failed: No such file or directory Any help appreciated. Your Solaris box is misconfigured. You have many libraries, such as the C++ library, and GDBM, installed in some location -- probably /usr/local/lib -- which is search by your C compiler, but is not searched by your loader at run time. As such, you can succesfully link against these libraries, but cannot run the resulting executables because your system does not search this directory at runtime for the required shared libraries. pgpOhX8j0dohC.pgp Description: PGP signature
Re: [Courier-imap] specifying name of "sent" folder
oliver howe writes: and everything works fine, but when i use Outlook via courier-imap to connect to these mailboxes, it saves any sent messages into a new folder it creates called "Sent". So then I end up with a ".sent" and a ".Sent" folder on the server. Same thing happens with drafts. Is there a way to tell courier-imap to specify to any clients connecting that the "sent" folder is called ".sent" and not ".Sent" ? No. The IMAP server is not going to arbitrarily rename random folders to random names. Or do I have to rename all my ".sent" folders to ".Sent" just to keep Outlook happy? You have to reconfigure Outlook to use the correct folder name. pgpR35rJTwJ1n.pgp Description: PGP signature
Re: [Courier-imap] Courier didn't create mailbox
Karen Almog writes: I've just finishing working according to this howto - http://flurdy.com/docs/postfix/>http://flurdy.com/docs/postfix/ to set up a postfix/courier mail server. I only found the problem once everything was done, and i noticed that there wasn't any place in the tutorial that reffered to the actual creating of the mailboxes themselves. I understood later, after reading a bit, that courier is supposed to be able to create the inbox itself? No, that would be your job, as the system administrator. An IMAP server provides access to mail in existing mailboxes. How those mailboxes are created in the first place, and how mail gets there, is not something the IMAP server cares about. I'm very new at this, as you might imagine, and for some reason i could hardly find any useful information that could help me solve this problem... The mailboxes are supposed to be located under /var/spool/mail/virtual. After creating one of the users' folder manually, i now get an error of "unable to open the inbox" whenever i try to login. I need all the help i can get on this one... :) Ok, so you've decided to place your mailboxes at that location. Unfortunately, Courier lacks the mindreading plugin module which allows it to determine where you decided the mailboxes should be created. The standard, default location for maildirs is $HOME/Maildir, so whatever home directory you have specified for an individual account, Courier expects the account's mailbox to be $HOME/Maildir, and, as you've discovered yourself, it will complain if it's not there. You neglected to state which authentication modules you are using, so nobody can help you any further. If you are using one of the standard system authentication modules, that read your passwd file, the home directory, the uid and gid is obtained from your /etc/passwd, or an equivalent. If you are using one of the other authentication modules: LDAP, MySQL, PostgreSQL, or userdb, the home directory is obtained from the appropriate attribute/database field that you've set in the appropriate configuration file. Some of these modules also provide for an extra mailbox field/attribute which can be used to override the $HOME/Maildir default, on a per-account basis, but you should refrain from messing with it until you have some more experience with the system. I suggest that you begin by creating a single account's home directory, use maildirmake to create the Maildir subdirectory in that directory, taking care to use the same uid/gid for the Maildir as it's parent, home directory, then add the corresponding information to either your passwd file, your LDAP server, or your database table, whatever the case may be. pgp6xwaOHL2xj.pgp Description: PGP signature
Re: [Courier-imap] UID Command bug (returns 0 instead of 1 message for big:*)
Robert J. Cups writes: Basically, 4 and 5 should return data for at least one message (the highest UID message). Instead, they return data for no messages. RFC 3501, page 60 (6.4.8 UID Command): That paragraph isn't in RFC 2060. Mark Crispin added it after he had a major cow when Courier-IMAP followed the RFC 2060 behavior to the letter, which he apparently privately thought it was a mistake, but wasn't willing to admit it. Courier-IMAP does not seem to treat the range as being independent of the order of the range endpoints, nor does it include the UID of the last message in the mailbox. Correct. This is mostly academical hairsplitting and bellyaching, and nobody else in the world, besides Crispin, gives a fig. pgpM3rh4Yyrr8.pgp Description: PGP signature
Re: [Courier-imap] UID Command bug (returns 0 instead of 1 message for big:*)
Robert J. Cups writes: I realize that if I had X EXISTS cached somewhere I could do a fetch with that, but I didn't have convenient access to that value and capturing it would require additional processing, the overhead of which I wished to avoid. All IMAP clients must keep track of the number of messages in the mailbox, if they want to perform any kind of a useful task. This is one of the basic IMAP tenets. I am aware that I could request STATUS (UIDNEXT), but this is not guaranteed to be fast. Courier also does not seem to send an untagged UIDNEXT on SELECT either. If you have any suggestions on a better way to get the highest (or next highest) UID that is reasonably efficient on Courier as well as the other major IMAP servers, I would be all ears. I'm not trying to split hairs, I'm honestly trying to accomplish something. First of all, if the highest existing UID is 5, you cannot assume that the next message you see will have UID of 6. Nope, nope. If you thought so, think again. For starters, by the time you get around to checking for new messages, another message could've been added to the mailbox, got a UID of 6, then someone else deleted and expunged it, so the next message you get will have a UID of 7. Yes, that means that UIDNEXT is completely and utterly meaningless as well, for precisely the same exact reasons. If you rely on what UIDNEXT tells you, you're going to have a spectacular blowup the next time someone manages to sneak in and quickly delete a message, under your nose. UIDNEXT is fundamentally broken. It is completely meaningles. Well, it's there, but only because it's supposed to be there. The closest thing to what you want is: FETCH * UID should get you the UID of the last message in a nonempty mailbox. For empty mailboxes you may get an error, or no results, depending on the server. But I still think that whatever you're trying to do, your approach is not the right one. I wrote an fully-functional IMAP client. It does everything with an IMAP client that any IMAP client might want to do, including IDLE, and the whole jazz, while side-stepping all that's broken with IMAP. And I never needed to twist myself into such a pretzel, not even close. As an IMAP client, if you do it right you will always know exactly what's in the folder. You get the message count when you SELECT it, and by paying attention to EXISTS, FLAGS, and EXPUNGED messages you know exactly what's in it, at any time. When you initially SELECT the mailbox you do, sadly, need to do a "FETCH 1:* UID FLAGS", to capture the mailbox's state (which I think is a design flaw), but from that point on you're in the driver's seat and you will always know exactly what's in there, simply by paying attention to three messages when you receive them. pgpHkxfwQgeLl.pgp Description: PGP signature
Re: [Courier-imap] restrict mail deletion for some mailbox
Ali Çelik writes: is it possible? Only if: 1) Virtual accounts are used 2) The mailbox belongs to someone else In that case the "someone else" may set ACLs on the mailbox that will prohibit others from deleting mail from the mailbox. pgpctLDlS9wYO.pgp Description: PGP signature
Re: [Courier-imap] courier imap mail dir shared folders
alan walters writes: I have been reading literature for the past few weeks about creating shared imap folders. I am hoping someone could shed a little light on it for me In understand the maildirmake -S will make my folder shared. From README.sharedfolders: Courier-IMAP and SqWebMail actually have two different shared folder implementations, for two situations: A) Filesystem permissions-based shared folders, for systems with traditional shell login accounts, and mailboxes; and B) virtual shared folders, for closed systems that provide mail access only, with all mailboxes using the same system userid/groupid, and no end-user shell login access. maildirmake -S is used with filesystem permissions-based shared folders. So my confusion lies in the how to's that I have seen seem to Layout similar to below. But I don't seem to have maildir folders? Read the rest of this README file, which explains in detail how everything works. It tells you all the commands that you need to run, and which files to modify. pgpxnwP5Q8hkf.pgp Description: PGP signature
Re: [Courier-imap] Problems sending/receiving Mail Courier-IMAP 4.0.1
Richard Broersma Jr writes: When I send an email using POP3 the following logs are generated. You cannot send mail using POP3 any more than you can fly in an automobile. POP3 is a protocol to download mail from a mailbox, and nothing more. ---Logs from send an Email using POP3 - Jan 20 22:32:18 [postfix/smtpd] connection established This is a Postfix issue -- try the Postfix mailing list. ---Logs generated from syncing my IMAP connection --- I get the same logs for [imapd] --- Jan 20 22:54:32 [imapd-ssl] LOGIN FAILED, user=richard, ip=[:::192.168.1.100] Jan 20 22:54:32 [imapd-ssl] authentication error: Input/output error Invalid password supplied. Check your password. pgpLLUDDGIHah.pgp Description: PGP signature
Re: [Courier-imap] "Delete Items" not working
Julie S. Lin writes: Hi I had IMAP_TRASHFOLDERNAME=Trash and it worked fine. Now I need to enable this for outlook compatiability. I've changed my imapd as follows and restarted courier, even did a stop and start just in case. It does not work. Under outlook, tHe messages just sit there marked as deleted and do not get moved automatically to the deleted items folder. Messages do not jump between folders all by themselves. When I use thunderbird, it deleted mail still goes to "Trash" That's because Thunderbird sends the command to move deleted messages into the Trash folder. Is there something else I need to do? Any help would be greatly appreciated. thanks. I'm a newbie to courier and probably just missed something simple. This has nothing to do with Courier. You need to configure your IMAP client correctly. pgp0d5OcPZvcb.pgp Description: PGP signature
Re: [Courier-imap] moving from qmail-pop3d and uidl changes
Marten Lehmann writes: Hello, we are about to move from qmail-popup/qmail-pop3d as it doesn't include SSL. qmail-pop3d is using the filename of a message as UIDL. As far as I know courier-imap/pop3 is using something different by default. Is it possible to change the default? Or is it possible to generate a file containing the UIDLs for existing messages manually? You should not need to do anything. The first time Courier pop3d opens a maildir, any existing messages will have the same UIDL as qmail; and from that point on new messages will receive Courier-specific uidls. pgpwEFrvK5EZq.pgp Description: PGP signature
Re: [Courier-imap] Squirrelmail Sorting
Sandeep Agarwal writes: hello list, i am using squirrelmail as the mail client having server side sorting enabled that gets the mails sorted from the IMAP server (assuming IMAP provides the sorted result). I am facing problem when i sort the message list by Sender (From:). it gives a list sorted by email address and if the From: field is in the form From: abc <[EMAIL PROTECTED]> From: gpl <[EMAIL PROTECTED]> then the sorted list is (sort on email address) From: gpl <[EMAIL PROTECTED]> From: abc <[EMAIL PROTECTED]> while the desired result is From: abc <[EMAIL PROTECTED]> From: gpl <[EMAIL PROTECTED]> please forgive me if this is a squirrelmail issue. i am assuming that sorting is done on the server end and thus this is a IMAP issue. i am using Courier-IMAP-4.0.2, Courier-authlib-0.55, Squirrelmail-1.44. My MTA is qmail, its a qmr install hope the information is adequate. From RFC 3501: The defined sort criteria are as follows. Refer to the Formal Syntax section for the precise syntactic definitions of the arguments. If the associated RFC-822 header for a particular criterion is absent, it is treated as the empty string. The empty string always collates before non-empty strings. [ . . . ] FROM RFC-822 local-part of the first "From" address. In other words, a SORT by the FROM header sorts by the E-mail address, disregarding the sender's name, which is what Courier does here. pgppg7i0YTjZG.pgp Description: PGP signature
Re: [Courier-imap] Problem with famd - unable to start/restart
Charles Marcus writes: Looking in the logs, everything is running smoothly for months, then all of a sudden, I see this: "Jan 28 14:09:31 moria famd[6105]: segfault at rip rsp 7fa0acd8 error 14 Jan 28 14:09:31 moria imapd-ssl: FAMNextEvent: Input/output error Jan 28 14:09:31 moria imapd-ssl: FAMNextEvent: Input/output error Jan 28 14:09:31 moria imapd-ssl: FAMNextEvent: Input/output error Jan 28 14:09:31 moria imapd-ssl: FAMNextEvent: Input/output error Jan 28 14:09:31 moria imapd-ssl: FAMNextEvent: Input/output error Jan 28 14:09:31 moria imapd-ssl: FAMNextEvent: Input/output error Jan 28 14:09:31 moria imapd-ssl: FAMNextEvent: Input/output error Jan 28 14:09:31 moria imapd-ssl: FAMNextEvent: Input/output error" FAM crashed. Could be an internal bug, could be flaky hardware. And from that point on I get a ton of these: "Jan 28 14:09:31 moria imapd-ssl: Failed to create cache file: maildirwatch (user) Jan 28 14:09:31 moria imapd-ssl: Error: Input/output error Jan 28 14:09:31 moria imapd-ssl: Check for proper operation and configuration Jan 28 14:09:31 moria imapd-ssl: of the File Access Monitor daemon (famd)." Everything is still working fine, just these messages in the logs. Courier has a "Plan B" when FAM breaks, which is why "everything is still working fine". For now. I have tried stopping/restarting courier-imap, famd, and portmap, all to no avail. When I try to stop famd, I get the two red [!!] indicating a problem stopping it. If I try to restart it, I get the same thing, and if I try to start it, it says it is already started. You probably have an existing hung famd process. Find its pid and kill it. If all fails, reboot the box. pgpgTUVQi00BZ.pgp Description: PGP signature
Re: [Courier-imap] Shared Folders
Reikan - Sidney Ferreira writes: I'll put my efforts to avoid it ^^ First of all, yes, Im new here but I need this solution and the person that would help me just left the project. Let me explain a bit more to be sure. Usually the 10kb message would be delivered in each account, so, 10kb * 10,000 = 100MB. Making a shared folder will allow to keep just this one 10kb message, but each user will still see it as UNREAD dispite of the fact of other users had readed it? What about deleting? See maildir/README.sharedfolders.html for answers to your questions. There's no need to repeat what's already explained in this document. pgp8Zj1BhUNzK.pgp Description: PGP signature
Re: [Courier-imap] login with [EMAIL PROTECTED]
Tom Lee writes: how to get the crypt value for a user such as [EMAIL PROTECTED] r from the OS? I tried to put some valubes for the table, but the it is rejected for the data. Use the authpasswd command. pgpYlBYPEWvWh.pgp Description: PGP signature
Re: [Courier-imap] courier scale
Andrew Woods writes: « HTML content follows » Hi, we are building an application which uses courier imap. We need to run fine with 100,000 mailboxes overall. When we created 100,000 mailboxes and tried to view the mail in one of the boxes the following java mail exception was thrown. 2006-01-30 10:31:56,280 ERROR [com.anam.mmsportal.action.IMAPAction] Failed to Connect: could not connect to folder: INBOX on: localhost exception: javax.mail.MessagingException: * BYE Temporary problem, please try again la ter; nested exception is: com.sun.mail.iap.ConnectionException: * BYE Temporary problem, plea se try again later This has nothing to do with the mailbox's size. You can't even log in, because you do not have authentication configured correctly. Did you follow the instructions in courier-authlib's INSTALL, and verified that you can authenticate userids and passwords properly. I’m just wondering if there is a configuration file where a threshold for maximum amount of mailboxes is set? Put the horse BEFORE the cart, first. pgp5gBOTfkZZO.pgp Description: PGP signature
Re: [Courier-imap] Mixing 3.0.5 and 4.0.2 on different architectures...
Need Coffee writes: Hello, I'm in a bit of a bind and may be in a position where I would have to have 2 different architectures running different major versions of courier-imap against the same set of mailboxes. Currently all access is from courier-imap 4.0.2 on Solaris 8/sparc64. I would be adding 3.0.5 on OpenBSD/amd64 (bizarre, I know, running older software). I realize this is a loaded question, and I hesitate to ask it, but... is it safe to say that I can expect problems with this mix? The upgrade docs I've found don't seem to say the world will end, but I'm thinking of endianness issues etc. Thanks in advance for any response... it's appreciated. I don't believe you will have any problems. pgps8yZA0ialu.pgp Description: PGP signature
Re: [Courier-imap] "deleted items" folder still not working with OE
Julie S. Lin writes: Hi All, I'm am trying to get the behavior such that using an courier IMAP account a user on Outlook or Outlook Express can delete an email and have it move to their "Deleted Items" folder. The default behavior of the line and permanently deleted with "purge" is not so good. I'm under the impression that this is possible somehow, perhaps a workaround? Unfortunately, when a client connects to the server, the server is not capable of hacking back into the client and reprogramming it to work differently. Check Outlook or Outlook Express documentation for information on how to configure it to behave the way you want. I have set my IMAP_TRASHFOLDERNAME="Deleted Items" and IMAP_MOVE_EXPUNGE_TO_TRASH=0 That's not going to do anything. The first setting sets the name of the folders whose messages will be purged after a certain amount of intervals. The second setting turns off the automatic movements of messages that are purged from other folders into the designated trash folder. pgpqmJ42W13S4.pgp Description: PGP signature
Re: [Courier-imap] having problem with imap ?
Mehmet Fatih AKBULUT writes: « HTML content follows » Please don't send HTML garbage to Internet mailing lists. Feb 5 00:12:21 localhost imapd: LOGIN, user= mailto:[EMAIL PROTECTED]>[EMAIL PROTECTED], ip=[:::http://127.0.0.1>127.0.0.1], protocol=IMAP Feb 5 00:12:21 localhost imapd: LOGOUT, user=mailto:[EMAIL PROTECTED]>[EMAIL PROTECTED] , ip=[:::http://127.0.0.1>127.0.0.1], headers=0, body=0, time=0 . . any idea how i can fix this problem ? Nothing above shows any evidence of any problem with the IMAP server. If your IMAP client repeatedly disconnects and reconnects to the server, this is an issue with your IMAP client. pgp7BirxY7wLw.pgp Description: PGP signature
Re: [Courier-imap] [Courier authlib] warning: signedness
Jim Wright writes: I decided to stop at this point since this seemed like it might be a rather serious issue. Is there a compile flag that I'm missing that No, it's not. These warnings should already be fixed in commited code, and the next release. pgpP7Ga9VdaPn.pgp Description: PGP signature
Re: [Courier-imap] server initiated read receipt
nancy rapheal writes: Can I set a read acknowledge using IMAP? if yes, how? No. There's no such thing as “read acknowledge” in IMAP. pgpZK60vpT4L8.pgp Description: PGP signature
Re: [Courier-imap] shared folders
Kai Stannigel writes: Hi, I have a problem regarding shared folders with courier-imap. I'd like to have the following: 1.) A couple of Unix-Users (users with shell-login) are supposed to take care of a common mailbox. 2.) I need global "seen"-flags on the messages in the common mailbox 3.) All users are supposed to be able to do everything (including deleting messages that someone else moved to a folder, creating new subfolders etc.) I've been trying a lot but wasn't able to find a satisfying solution yet. First the choice is whether I have to use filesystem based shared folders or virtual shared folders. According to README.sharedfolders.html filesystem based shared folders do not satisfy the third requirement. In addition I read on this list that they don't satisfy point (2) as well. Correct. That seems to leave virtual shared folders. So here's my main question: Is it possible for Users with login-accounts to access virtual shared folders? No, because all virtual shared folders will presumably use a different uid/gid that's reserved for virtual mail accounts, and thus will be unaccessible to the IMAP server that runs under the system account's uid/gid. pgpfVkNOycE3g.pgp Description: PGP signature
Re: [Courier-imap] quota enforcement
Rudy Gevaert writes: Hello, I have set up virtual users with quota. All my information is stored in an ldap database. When I change the quota entry in the ldap database, the imap servers notices this. But I would like to disable the quota for certain users. I tried with '0S', but when I request the quota through my imap client it still shows the previous installed quota. Try setting the quota string to an "X". If it works, it's a hack. Also an other quota related question. If quota information is called from ldap, then I dont' need to make the initial maildir with the -q flag? The short answer: whatever works. pgpvOBn8AqY0J.pgp Description: PGP signature
Re: [Courier-imap] [PATCH] - TRASHQUOTA omission
Alain NAKACHE writes: Hi Sam, Does this patch breaks an optimization or corrects an omission in TRASHQUOTA management ? You're almost right. I think it should be ifndef, instead. pgpqDSNTfIyXG.pgp Description: PGP signature
Re: [Courier-imap] Make install-configure - error code 2
james cooke writes: « HTML content follows » On FreeBSD 5.4, no problems til this: # make install-configure *** Error code 2 Stop in /usr/local/src/courier-imap-4.0.6. As INSTALL tells you: use gmake instead of make on BSDs. pgpEtq3P9Et07.pgp Description: PGP signature
Re: [Courier-imap] [PATCH] - Toogle ACL IMAP capability
Alain NAKACHE writes: Hi all, Here is a small patch to enable/disable ACL capabilities announces. I need it on my proxies to reflect capabilities on the final server which doesn't implement it yet. Did you set IMAP_PROXY_FOREIGN=1? pgp1vj00dOObH.pgp Description: PGP signature
Re: [Courier-imap] Multiple domains with Imap-SSL
Maik Musall writes: Hi folks, I have a courier-imap server running and I'm quite happy with it, except that the SSL certificate I need is bound to one specific hostname. I'd like to access the server from different clients under different names (like mail.foo.com and mail.bar.com), but whenever I use any other hostname than specified in the certificate, I get a log message "Server CommonName mismatch" in fetchmail. I don't want my users to bother with this warning message, but I don't want them to use a hostname of another domain, either. I didn't see any possibility to create different certificates for the different domains. Did I oversee something? You oversaw a known technical flaw in SSL, which cannot validate multiple hostnames on the same IP address. This applies equally well to IMAP, HTTP, or any other protocol. Each hostname must have a dedicated IP address, and Courier supports this, by naming each certificate as $CERTFILE.aaa.bbb.ccc.ddd, where aaa.bbb.ccc.ddd is the IP address that corresponds to the hostname. Someday, perhaps, this will even be documented… pgpHggVptZruo.pgp Description: PGP signature
Re: [Courier-imap] Multiple domains with Imap-SSL
Charles Marcus writes: You oversaw a known technical flaw in SSL, which cannot validate multiple hostnames on the same IP address. This applies equally well to IMAP, HTTP, or any other protocol. Isn't this what wildcard certificates are for? www.heebs.ch/computer/notes/wildcardcert Good luck trying to get a wildcard certificate for *.com pgpaEPnjHmeI2.pgp Description: PGP signature
Re: [Courier-imap] IMAP SSL with wildcard certificate
Josh Berry writes: Hi, I am trying to get IMAP over SSL working with a wildcard (chain) SSL certificate. The certificate works with apache on existing platforms but I am having problems getting it working with Courier. What happens is when the wildcard cert is being used in the imapd-ssl config file and I try and collect mail using a client it just hangs - there are no error messages in to the syslog and the client provides no clues either. If I use a self signed certificate then it works fine (other than asking me to accept the cert as it is cannot be verified). Has anyone got a chain certificate working, and if so what needs to be done. I have included my relevant configuration options below. The server is running on Solaris 10 for X86. TLS_PROTOCOL=SSL3 TLS_STARTTLS_PROTOCOL=TLS1 #TLS_CIPHER_LIST="ALL:!ADH:RC4+RSA:+SSLv2:@STRENGTH" TLS_CERTFILE=/share/admin/mailauth/sslcert # TLS_TRUSTCERTS= TLS_VERIFYPEER=NONE The certfile is in the format: -BEGIN RSA PRIVATE KEY- MIIJKAIBAAKCAgEAtg ...-END RSA PRIVATE KEY- -BEGIN CERTIFICATE- MIIFkTCCA3kCAQ ... -END CERTIFICATE- If you need to use a chained cert, append the intermediate cert to the certfile. pgp8ih6wdMxpt.pgp Description: PGP signature
Re: [Courier-imap] Multiple domains with Imap-SSL
Maik Musall writes: On Wed, Feb 08, 2006 at 07:18:32PM -0500, Sam Varshavchik wrote: Each hostname must have a dedicated IP address, and Courier supports this, by naming each certificate as $CERTFILE.aaa.bbb.ccc.ddd, where aaa.bbb.ccc.ddd is the IP address that corresponds to the hostname. Someday, perhaps, this will even be documented??? Thanks for the information - I'm glad it wasn't me not reading the docs thorough enough. Unfortunately, I don't have the option in this case to acquire as many IP addresses as I have domains to serve. That's closes the issue. Either you have to get a separate IP address for each domain, or use the same hostname and cert for everyone. pgpw2HAafSU0W.pgp Description: PGP signature
Re: [Courier-imap] [PATCH proposition] - To accept to deliver until the last byte in quota is reached
Alain NAKACHE writes: Hi Sam, Here's a patch I wrote to permit the control of inbound SMTP only for under quota accounts. In my mail system, when a maildrop throw an overquota status (EXITCODE=77) I flag in a database that no more mail can be accepted into the account until customer clean his mailbox. SMTP servers query this flag on each RCPT and gracefully (deferral) deny if associated account is overquota. This already happens in the current version of Courier, and the default configuration. pgpZUZuALWthM.pgp Description: PGP signature
Re: [Courier-imap] Logon Failed on Imap server
Jai Rangi writes: I am trying to configure my First Mail server. Starting with very basics.. I configure postfix + courier-imap. on Fedora 4, Got the rpm for postfix, So that part was easy.. Got the source code for courier-imap and courier-authlib, was able ti install from the source. You should not've done that. You should've built RPMs according to the instructions in INSTALL. pgpV0F6apjhC9.pgp Description: PGP signature
Re: [Courier-imap] the imap protocol and server-side filtering...
Andrew Burke writes: If, however, there were support for configuring Sieve server-side filtering built into the IMAP protocol (and by extension, servers and clients), all this could become consistent across clients for the user. I assume this may have been discussed before and I would love to be No, you're the first person to bring it up -- at least in recent memory. Someone might've mentioned something maybe 3-4 years ago, I suppose. directed to any relevant discussions. I'm curious about how the courier community views the concept of integrating Sieve scripts into the server and possibly extending the IMAP protocol to allow configuration of said scripts. Sieve is a typical design-by-a-committee-of-pointy-headed-academicians product. Convoluted, confusing, and generally not worth the implementation effort. Although, in principle, I agree that a standardized mechanism for a client to furnish mail filtering instruction would be useful, Sieve isn't going to fill the need. Which is why you see such lackluster support for Sieve, in both client and server mail software. pgpmaQ33nYQms.pgp Description: PGP signature
Re: [Courier-imap] problems building courier-authlib
Ben writes: I'm trying in vain to build courier-authlib-0.58 on Fedora 4. I download the tarball, extract it, and run: ./configure --with-pgsql-libs=/usr/lib64/pgsql --with-pgsql-includes=/ usr/include/pgsql --with-redhat --with-mailuser=501 --with-mailgroup=501 501 is the uid and gid of the courier user. The --with-mailuser and --with-maildrop options take user and group names, not numerical IDs. pgp182CJiagqi.pgp Description: PGP signature
Re: [Courier-imap] No Emails after Update to Debian Sarge
[EMAIL PROTECTED] writes: I tried to copy this dirs/files to an old subfolder and then i can see the emails. But the folders have many subfolders und this is much :-( Is there an converter or some other tool, that can update my mailfolters ? There is no converter for the simple reason that if Courier-IMAP is properly upgraded, the new files and directories will get created automatically. pgpnHMNeD6Ftm.pgp Description: PGP signature
Re: [Courier-imap] No Emails after Update to Debian Sarge
Markus Ungermann writes: Stefan Hornburg <[EMAIL PROTECTED]> schrieb am 12.02.06 20:14:15: Just copy the old mail storage without any changes should do the trick. This didn't work: 1) Copy the whole Maildir into the users home directory using the same passwords 2) Connect with Thunderbird Syslog: Feb 12 22:40:30 alara imaplogin: Error reading ACLs for INBOX.Linux: No such file or directory This means that you did not copy things correctly, but there's really no way to tell what's broken without examining the contents of the individual files and directories in question. You have a very confusing setup, and I don't think anyone can follow clearly what you're trying to do. You need to take one step at a time. Perform one simple, concrete step. Verify that it works, move on to the next one. pgpHXNVEGGvju.pgp Description: PGP signature
Re: [Courier-imap] pop and imap login
Tom Lee writes: Hello, I configured the file /etc/authlib/authmysqlrc and created the database necessary in my linux box. it works fine for imap login with [EMAIL PROTECTED] however, for pop login, it only accepts username, not [EMAIL PROTECTED] as a user ID. is ther a way to make both imap and pop to use the same login name [EMAIL PROTECTED] Change all the account names in your mysql table from username to [EMAIL PROTECTED] pgpXuuRZiBqWc.pgp Description: PGP signature
Re: [Courier-imap] pop and imap login
Tom Lee writes: From: Sam Varshavchik <[EMAIL PROTECTED]> To: courier-imap@lists.sourceforge.net Subject: Re: [Courier-imap] pop and imap login Date: Mon, 13 Feb 2006 18:27:08 -0500 Tom Lee writes: Hello, I configured the file /etc/authlib/authmysqlrc and created the database necessary in my linux box. it works fine for imap login with [EMAIL PROTECTED] however, for pop login, it only accepts username, not [EMAIL PROTECTED] as a user ID. is ther a way to make both imap and pop to use the same login name [EMAIL PROTECTED] Change all the account names in your mysql table from username to [EMAIL PROTECTED] Just checked that the password for "username" in /etc/passwd is different from what I have in the database. Once I make both the same, it works fine. It seems that authlib will check the password in /etc/passwd for "username" and then look for the password "[EMAIL PROTECTED]" in the database. authlib tries all the active authentication modules in the order they are listed in authdaemonrc pgpmWivgUaHP0.pgp Description: PGP signature
Re: [Courier-imap] quota enforcement
Rudy Gevaert writes: Hi Brian and follow courier users, Thanks for your reply. Deleting the field in ldap and remove the maildirsize file does make it work.Another little question. I suspect that the upper limit of the quota is arround 4 GIG. Is it The actual limit is 2 GB. possible to increase this? Yes. Either upgrade to a 64-bit CPU, or upgrade to a platform that represents file offsets as 64-bit quantities. pgpn3VIuFzfKi.pgp Description: PGP signature
Re: [Courier-imap] Maildir Implementation
Aaron Wiebe writes: Getting to the point, I need a little direction here. No offence, but 40 .c files makes for difficult reading. I specifically need to know the points at which courier-imap directly interacts with the maildir itself - getting a list of messages, determaning flags on messages, moving and deleting messages, and inserting messages. There are many places where something happens to messages in a folder. There is no centralized abstraction layer that can be replaced in order to read messages from some alternative source. This IMAP server was designed for one purpose only: to provide IMAP access to mail in maildirs. As such, everything gets accessed directly, without any elaborate tap-dancing show-and-tell. There are some common functions that are used frequently for some common tasks (the expected message filename does not exist -- perhaps someone changed the message's status, so rescan the maildir and look for the renamed file). In the future, once this project is done, I may be interested in rewriting your maildir implementation into something a little more flexible and readable. Do you folks accept patches, or is there a contribution doc somewhere I can browse through? There are no formal contribution procedures. If I don't know you, you will need to make your case and convince me beforehand that what you want to do: 1) makes sense, and 2) is useful. I generally look at unsolicited, out-of-the-blue code patches only from people I already know and trust, and who've proven themselves in the past. pgplh8S3eLY32.pgp Description: PGP signature
Re: [Courier-imap] IMAP-COPY
Doug Appleton writes: When using IMAPCOPY to move messages from one messages server to another this is the error that I am receiving.. It will copy all of contents of INBOX, but l'm dealing with users that have multiple folders under the Maildir Folders ..Could not create Test : 5 NO Invalid mailbox name. Hope this is the right forum to post to! "Test" is not a valid mailbox name. With Courier, all mailboxes are prefixed by "INBOX."; you should be specifying "INBOX.Test" instead. pgpKR9ZICy1eS.pgp Description: PGP signature
Re: [Courier-imap] Saving space with Maildir format
Christian Ferrari writes: After some googling, I'm writing to this list to check if anyone else know something about "Postfix", "Maildir format" and "UNIX filesystem links". This is the issue: a guy sent an e-mail with a large attach to 6 job mates. 6 people do receive the same e-mail. 6 identical file are stored inside Maildir structure. Can I substitute 5 copies of the file with UNIX links (not symbolic links but hard links in the filesystem)? No, because each copy of the message should have a different Delivered-To: header, that names this copy's recipient. pgpuRwJnwwxwh.pgp Description: PGP signature
[Courier-imap] Announcing the Insight Connector for Courier-IMAP
“Good news, everyone!” -- Prof. H. Farnsworth Insight Connector for Courier-IMAP is a commercial plugin for Microsoft Outlook™ that allows native Outlook groupware capabilities using Courier-IMAP. Outlook users can perform tasks typically available only when using the Exchange server, including folder sharing. Some of the features include folder sharing, public folders sharing, appointments/tasks scheduling, real-time data management, calendar sharing and other collaborative tasks. A trial version of Connector can be downloaded from http://courier.bynari.net. This software is supported by Bynari. pgpkdAIeFpNnG.pgp Description: PGP signature
Re: [Courier-imap] Build error with FAM on Debian
Yves Goergen writes: Hello, I'm trying to build Courier-IMAP 4.0.6 with FAM on a Debian 3.1 system. I have installed the packages fam, libfam-dev and all dependencies. Courier-IMAP's configure script seems to find fam.h anf the FAMOpen function. But make fails at some point with this error: /usr/lib/libfam.a(fam.o)(.text+0x39): In function `FAMOpen2': : undefined reference to `operator new(unsigned)' /usr/lib/libfam.a(fam.o)(.text+0x11e): In function `FAMOpen2': : undefined reference to `operator delete(void*)' /usr/lib/libfam.a(fam.o)(.text+0x139): In function `FAMOpen2': : undefined reference to `operator delete(void*)' /usr/lib/libfam.a(fam.o)(.text+0x1bc): In function `FAMClose': : undefined reference to `operator delete(void*)' (...) collect2: ld returned 1 exit status make[3]: *** [maildirkw] Error 1 make[3]: Leaving directory `/home/yves/src/courier-imap-4.0.6/maildir' (...) I've searched the web for this error message but there was no usable hit. Any idea how to use Courier-IMAP with FAM? I'm currently running it without, and just thought it would be nice to have it. If there should be no way to get it work, I can live without. A previous build without the fam package installed worked fine. (And I did a make clean in between...) Your FAM installation is broken. You should be linking against the shared FAM library, libfam.so, instead of the static libfam.a pgptWEUheWIVY.pgp Description: PGP signature
Re: [Courier-imap] I get and error when try to make courier-authlib-0.58
[EMAIL PROTECTED] writes: g++ -DHAVE_CONFIG_H -I. -I. -I. -fhandle-exceptions -c -o testgdbm.o testgdbm.C ./../depcomp: line 504: exec: g++: not found make[3]: *** [testgdbm.o] Error 127 make[3]: Leaving directory `/home/jose/courier-authlib-0.58/gdbmobj' make[2]: *** [all] Error 2 make[2]: Leaving directory `/home/jose/courier-authlib-0.58/gdbmobj' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/home/jose/courier-authlib-0.58' make: *** [all] Error 2 The following software is installed, gcc, libtool, expect, make. gdbm-devel Now, you need to install gcc-c++, and libstdc++-devel pgppM3YfDrt4D.pgp Description: PGP signature
Re: [Courier-imap] How to enable debug logging?
Yves Goergen writes: Next problem: I installed Courier-IMAP without FAM for now because I needed to get further with my server installation. I have installed Courier-IMAP 3 on my old server and found that version 4 is current. So I downloaded all the stuff for it, read the INSTALL files, compiled and installed it all and added my previous configuration again. I have only virtual users, stored in a MySQL database. On version 3 it works fine for two years now, but on version 4 it doesn't at all. I cannot login to my IMAP mailbox. It just says "login failed", also in the syslog, you See "UPGRADING" in Courier-IMAP's INSTALL file. pgpqVN4Fo9Z2U.pgp Description: PGP signature
Re: [Courier-imap] How to enable debug logging?
Yves Goergen writes: On 19.02.2006 03:20 (+0100), Sam Varshavchik wrote: See "UPGRADING" in Courier-IMAP's INSTALL file. What is that (random?) message supposed to help me? I did read those files, both for Courier-IMAP and authlib. It just doesn't connect to MySQL or spit out any debug information. There was nothing in your initial message that suggested that you installed courier-authlib. Your previous message showed that you have installed the entire kitchen sink, except for the mysql module, which is why you don't see any MySQL activity. You have both authpwd and authshadow installed, which is never correct; you also have a bunch of other modules, except for authmysql. Mystery solved. You need to install the MySQL development toolkit, and recompile courier-authlib to get mysql support. pgpLADVtXkjiq.pgp Description: PGP signature
Re: [Courier-imap] How to enable debug logging?
Yves Goergen writes: On 19.02.2006 18:09 (+0100), Sam Varshavchik wrote: There was nothing in your initial message that suggested that you installed courier-authlib. Okay, to be clear, this is what I did: Downloaded courier-authlib 0.58 and called: ./configure \ --prefix=/usr/courier \ --with-mailuser=mail \ --with-mailgroup=mail \ --without-authpwd \ --without-authshadow \ --without-authpam \ --with-authcram \ --without-authvchkpw \ --without-authldap \ --without-authpgsql \ --without-authuserdb \ --without-authcustom \ --without-authpipe \ --with-authmysql Stop. This does not agree with the syslog that you posted earlier. Your syslog clearly showed that you compiled and installed both the authpwd and authshadow modules. Try again, this time posting something that supports your claims. Otherwise, everyone here will be chasing shadows, and wasting their time. make su make install make install-configure vim /usr/courier/etc/authlib/authmysqlrc Now I set up my MySQL connection like this: MYSQL_SERVER127.0.0.1 (or also "localhost" and sometimes explicitly with MYSQL_PORT 3306) Check for any trailing spaces. MYSQL_USERNAME webadmin MYSQL_PASSWORD * MYSQL_DATABASE webadmin MYSQL_USER_TABLEmailusers MYSQL_CRYPT_PWFIELD cryptpass MYSQL_CLEAR_PWFIELD clearpass #MYSQL_UID_FIELD #MYSQL_GID_FIELD MYSQL_LOGIN_FIELD CONCAT(local, '@', domain) #MYSQL_HOME_FIELD #MYSQL_NAME_FIELD MYSQL_MAILDIR_FIELD maildir And started the authdaemon server. Then downloaded courier-imap 4.0.6 (which cannot be compiled without authlib, iirc): ./configure \ --prefix=/usr/courier \ --enable-unicode=utf-8 make make check su make install make install-configure And started the IMAP server only for now. Then I tried to access that IMAP mailbox from Thunderbird which only tells me that I cannot do that. Afterwards I set DEBUG_LOGIN=2 as described above and changed my syslog.conf to explicitly put all mail.debug info into a new file, because I'm not sure if the default Debian config really already did that before. (I don't fully understand their config options so I added a new one to be sure.) It doesn't try to connect to MySQL. I set MYSQL_PORT 3305 and ran a local port forwarder which didn't show any connection attempt. That my forwarder works is for sure because I could read the plain IMAP connection between the client and the server the other time. But also in the raw IMAP stream, no additional error cause can be found. -- Yves Goergen "LonelyPixel" <[EMAIL PROTECTED]> "Does the movement of the trees make the wind blow?" http://newsboard.unclassified.de - Unclassified NewsBoard Forum --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642 ___ Courier-imap mailing list Courier-imap@lists.sourceforge.net Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-imap pgpEhvERID1O2.pgp Description: PGP signature
Re: [Courier-imap] TLS error
Richard Scobie writes: Hi, I wonder if some one could tell me what would be causing this error message. couriertls: accept: error:1408F10B:SSL routines:SSL3_GET_RECORD:wrong version number: 1 Time(s) There does not seem to an obvious problem to the user, but I am just wondering what the "wrong version number" refers to - SSL library perhaps? The client is attempting to establish an encrypted session using the wrong protocol. pgpvLi2T69J6z.pgp Description: PGP signature
Re: [Courier-imap] SEEN(read) Flag
nancy rapheal writes: « HTML content follows » May I know where exacly in the courier IMAP code (file and function) the SEEN (read) flag is being set? There are two places: do_fetch() - sets the SEEN flag automatically after reading an unread message; do_store() - sets the SEEN flag as per the STORE command. pgpp1J6cjiQzE.pgp Description: PGP signature
Re: [Courier-imap] Build error with FAM on Debian
Yves Goergen writes: On 20.02.2006 15:50 (+0100), mess-mate wrote: Yves Goergen <[EMAIL PROTECTED]> wrote: | Aha, and where do I get that? I used the only fam thing that came with Debian. Do I need to | build my own one? | dpkg -S libfam.so libfam0: /usr/lib/libfam.so.0 libfam0: /usr/lib/libfam.so.0.0.0 libfam-dev: /usr/lib/libfam.so Well, yes, it's there. Only why didn't courier-imap use it? Courier supplies the -lfam option when linking. It is your compiler's responsibility to link against the shared library, when it's installed. If your compiler insists on linking against libfam.a, when libfam.so is also present, it's a bug or a misconfiguration with your compiler. pgpwtouu454bI.pgp Description: PGP signature
Re: [Courier-imap] Edit the Subject
Nancy Rapheal writes: Hi, Can I edit the subject in postfix? What exactly I want is, I want to have a unique number appended to the subject in the receivers copy and if possible in the senders copy as well. How can I do this? Please throw some light on this scenario. The Postfix mailing list is down the hall, last door on your right. pgpnvfBJDexFD.pgp Description: PGP signature
Re: [Courier-imap] Edit the Subject
Nancy Rapheal writes: Sam Varshavchik <[EMAIL PROTECTED]> wrote: Nancy Rapheal writes: > Hi, > > Can I edit the subject in postfix? What exactly I want is, I want to have > a unique number appended to the subject in the receivers copy and if > possible in the senders copy as well. How can I do this? Please throw > some light on this scenario. The Postfix mailing list is down the hall, last door on your right. Thanks. :) But can i do the same with courier imap? I mean editing the subject? Of course not. An IMAP server -- any IMAP server -- provides access to existing mail in existing mailboxes. How the individual messages managed to find their way to the mailbox, and whether or not they were modified in transit, is something that the IMAP server does not really care about. An IMAP server -- any IMAP server -- never modifies the contents of existing messages. pgp6t2Il8i59W.pgp Description: PGP signature
Re: [Courier-imap] Problems migrating to a new system
David J. Greenberger writes: On 2/24/06, Jay Lee <[EMAIL PROTECTED]> wrote: What do the rights look like? You may need to do a: chown -R user.group /home/user/Maildir run this as root, replace user with your username and group with your primary group (probably same as user) and /home/user with your own home directory path. If that doesn't fix it, is /var/log/maillog saying anything? Do a: ls -al /home/user/Maildir and post the results here. Permissions were correct. /var/log/maillog doesn't exist. [EMAIL PROTECTED]:~$ ls -al /home/david/Maildir total 5560 drwxr-xr-x 12 david david4096 2006-02-24 11:54 . drwxr-xr-x 30 david david4096 2006-02-24 12:43 .. drwxr-xr-x 2 david david4096 2006-02-24 09:36 courierimaphieracl drwx-- 2 david david4096 2006-02-24 12:44 courierimapkeywords -rw-r--r-- 1 david david 74 2006-02-24 11:59 courierimapsubscribed -rw-r--r-- 1 david david 425543 2006-02-24 12:44 courierimapuiddb drwx-- 2 david david 487424 2006-02-24 12:44 cur -rw--- 1 david david 62 2006-02-24 01:07 .customflags -rw--- 1 david david 73932 2006-02-24 00:47 dovecot.index -rw--- 1 david david 4168704 2006-02-24 00:47 dovecot.index.cache -rw--- 1 david david 12808 2006-02-24 00:47 dovecot.index.log -rw--- 1 david david 430387 2006-02-24 09:24 dovecot-uidlist drwx-- 2 david david4096 2006-02-24 01:04 .INBOX WTF is "INBOX"? drwx-- 6 david david4096 2006-02-24 09:46 .Kingsborough drwx-- 6 david david4096 2006-02-24 09:46 .Mailing lists drwx-- 2 david david4096 2006-02-24 12:44 new drwx-- 6 david david4096 2006-02-24 11:54 .Sent -rw--- 1 david david 232 2006-02-24 00:47 subscriptions -rw--- 1 david david 39 2006-02-24 01:07 .subscriptions WTF is .subscriptions? You've not been telling the whole story. You were clearly using dovecot before, and are trying to migrate to Courier-IMAP. That's fine, but you just can't plop the entire maildir verbatim from one, and expect the other one to make any sense of it. At the bare minimum, you need to: A) Remove all .files in the maildir that are not actual maildir folders, at least .subscriptions and .customflags that I can see here, and whatever else dovecot has sprayed in here. dovecot* should also be deleted, but Courier-IMAP will simply ignore those files. drwx-- 2 david david4096 2006-02-24 12:44 tmp drwx-- 6 david david4096 2006-02-24 09:46 .Trash (I hope that's legible -- it isn't at my end.) There should be subfolders under Mailing lists, but they're not showing up: [EMAIL PROTECTED]:~/Maildir/.Mailing lists$ ls -al total 32 drwx-- 6 david david 4096 2006-02-24 09:46 . drwxr-xr-x 12 david david 4096 2006-02-24 11:54 .. -rw-r--r-- 1 david david 17 2006-02-24 09:36 courierimapacl drwx-- 2 david david 4096 2006-02-24 09:46 courierimapkeywords -rw-r--r-- 1 david david 15 2006-02-24 09:46 courierimapuiddb drwx-- 2 david david 4096 2006-02-24 01:07 cur drwx-- 2 david david 4096 2006-02-24 01:07 new drwx-- 2 david david 4096 2006-02-24 12:44 tmp Thanks for the help! That's not how Courier-IMAP stores subfolders. If there were any subfolders of Mailing lists, they would be named .Mailing lists.subfoldername, and hang off the top maildir. pgpjo04Jtzz65.pgp Description: PGP signature
Re: [Courier-imap] Shared Maildirs: Disregard UID?
Belmin Fernandez writes: My goal was to setup: 1) Admin maildir: Have me as super user and another user who's able to read the emails but not change anything (I'll give him acl lr) 2) Public maildir: Have me as super user and have other users be able to just read (lcr) Now, the way I did it, I made the directories with maildirmake (used man, http://www.flatmtn.com/computer/Linux-Imap-Courier.html>http://www.fla tmtn.com/computer/Linux-Imap-Courier.html as ref). I then added the Maildirs to etc/maildirshared. Everything works fine but I have to set permission to 777 (not comfortable with that!). I want to know if there's anyway to maybe NOT set uid when courier is opening a maidlir and just go by acl? This way I could give 700 to courier:courier and everything will work perfect!! :-) Maybe someone else has a better solution? You must use virtual accounts, and virtual shared folders, which fully implement IMAP ACLs. See maildir/README.sharedfolders.html for more information. pgp6drWGVTTsS.pgp Description: PGP signature
[Courier-imap] Re: Shared Maildirs: Disregard UID?
Belmin Fernandez writes: Forgot to mention, I am using PAM so it's not a virtual user setting. Then you need to switch to virtual accounts. This is only possible with virtual accounts. pgpZBAkNguh5z.pgp Description: PGP signature
Re: [Courier-imap] The user's are LOCKED
[EMAIL PROTECTED] writes: Hi, all when user's try login to imap or pop3, the next messages is display in the file maillog Feb 25 06:59:15 linux5 imapd: Connection, ip=[200.52.222.195] Feb 25 06:59:15 linux5 imapd: LOCKED, [EMAIL PROTECTED], ip=[200.52.222.195] I changed chmod 777 /var/spool/mail -R and the problem continuous If you don't know what the real problem is, executing random commands is not going to fix it. First of all, maildirs do not live in /var/spool/mail by default, not unless you made changes to the standard Courier-IMAP configuration, which, if you did you should've mentioned instead of letting people guess about it. This message is logged if this specific account's home directory has the sticky bit set. pgpJgRYf1fKkN.pgp Description: PGP signature
[Courier-imap] New releases of Courier, Courier-IMAP, SqWebMail
SqWebMail 5.1.0 Download: http://www.courier-mta.org/download.php#sqwebmail • Fixed compiler warnings. Updated build toolchain scripts to newer versions of libtool/autoconf/automake/gettext. • Increase max allowed size of the CGI environment variables. • Rewrite LDAP address book support. LDAP address book setup has been simplified by removing configuration options that nobody used. • LDAP search is now a single text field, which runs an intuitive search on several key LDAP attributes that are expected to contain the searched-for key. • Internally the LDAP search API has been rewritten. The wrapper for OpenLDAP's ldapsearch tool has been replaced with native OpenLDAP code. • Configuration settings that limit message sizes can now be adjusted at runtime, using environment variables. Courier-IMAP 4.1.0 Download: http://www.courier-mta.org/download.php#imap Changes: • Fixed compiler warnings. Updated build toolchain scripts to newer versions of libtool/autoconf/automake/gettext. • Add additional accounting-related I/O byte counts to syslog messages. • Reinitialize folder UID after a CREATE and RENAME. Courier 0.53.0 Download: http://www.courier-mta.org/download.php Changes: • All the above changes • maildirquota: Unclobber the Date: header. • ldapaliasd: Try to recover when the LDAP server closes the persistent socket, for inactivity. pgpwCWgUefQgM.pgp Description: PGP signature
Re: [Courier-imap] clients cannot log into imap
Ed Greenberg writes: Hi, I have a new installation of courier-mta and I can no longer get any client software to connect to imap. It worked in previous testing, but I seem to have broken something. The typical log entry for a failed connection is: Feb 25 18:46:32 vps2 imapd: LOGIN FAILED, user=sarahf, ip=[70.199.216.131] This is with TLS turned off. Invalid password. If I turn on TLS or SSL, I get this: Feb 25 18:44:00 vps2 imapd-ssl: couriertls: /usr/local/etc/courier/imapd.pem: error:02001002:system library:fopen:No such file or di rectory I'm not sure how to create the certificate. mkimapdcert. But that's not going to help you unless you use the right password to log in. pgpTYSYhc1xzM.pgp Description: PGP signature
Re: [Courier-imap] clients cannot log into imap
Ed Greenberg writes: --On Sunday, February 26, 2006 10:19 AM -0500 Sam Varshavchik <[EMAIL PROTECTED]> wrote: Ed Greenberg writes: Hi, I have a new installation of courier-mta and I can no longer get any client software to connect to imap. It worked in previous testing, but I seem to have broken something. The typical log entry for a failed connection is: Feb 25 18:46:32 vps2 imapd: LOGIN FAILED, user=sarahf, ip=[70.199.216.131] This is with TLS turned off. Invalid password. Thank you Sam, for a quick response. I've packet captured this, and I see the correct password. : * OK [CAPABILITY IMAP4rev1 NAMESPACE CHILDREN IDLE QUOTA SORT THREAD=ORDEREDSUBJECT THREAD=REFERENCES UIDPLUS ACL ACL2=UNION STARTTLS] Courier-IMAP ready. Copyright 1998-2005 Double Precision, Inc. See COPYING for distribution information. A1 CAPABILITY * CAPABILITY IMAP4rev1 NAMESPACE CHILDREN IDLE QUOTA SORT THREAD=ORDEREDSUBJECT THREAD=REFERENCES UIDPLUS ACL ACL2=UNION STARTTLS A1 OK CAPABILITY completed A2 LOGIN jeffglass jeff123 A2 NO Login failed. I can log into jeffglass with password jeff123 using shell on the machine. Does antyhing else stand out as a problem? Nope. You should look at courier-authlib's configuration. It can be configured to check passwords from either the system's password file, an LDAP server, a MySQL database, a PostgreSQL database, and a couple of other sources. I don't remember you mentioning which authentication method you are using. pgpL8jl5la5U9.pgp Description: PGP signature
Re: [Courier-imap] quota enforcement
Rudy Gevaert writes: Hi Sam, On Tue, 2006-02-14 at 18:33 -0500, Sam Varshavchik wrote: Rudy Gevaert writes: > Hi Brian and follow courier users, > > Thanks for your reply. Deleting the field in ldap and remove the > maildirsize file does make it work.Another little question. > I suspect that the upper limit of the quota is arround 4 GIG. Is it The actual limit is 2 GB. > possible to increase this? Yes. Either upgrade to a 64-bit CPU, or upgrade to a platform that represents file offsets as 64-bit quantities. I do not understand what you mean with the last thing you say. Fellow workers don't understand it too. Would you be so kind to be a bit more verbose about this issue? It means that 2^31 is approximately 2 gigabytes, which is the maximum positive integer that can be expressed using a 32-bit quantity. On 32-bit platforms, file offsets are a 32-bit quantity, and thus limit the quota setting to about 2 GB. To reliably use quotas greater than 2 GB you must move to a 64-bit platform. pgpJ8zPGa6z2S.pgp Description: PGP signature
Re: [Courier-imap] Message Status
Nancy Rapheal writes: How do IMAP treat the messages which is 'deleted withoud read' and 'moved to a personal folder(out of server) without being read'? As read or unread? If as read how and where does it do so? IMAP \Deleted and \Seen flags are independent flags. It's possible for a message to be simultaneously marked as deleted, and unseen. pgpieRSPzaiVJ.pgp Description: PGP signature
Re: [Courier-imap] RHAS4 conundrum
Tony Earnshaw writes: Doesn't matter any more - as I wrote, if the rpms are compiled on the one machine and installed on the others, authdaemond/authldap work, not the other way around. One has both development and runtime LDAP libraries, the other one has only runtime LDAP, no development libraries, and authldap does not get compiled. pgpTnRtxX41oY.pgp Description: PGP signature
Re: [Courier-imap] courierimapkeywords
markus writes: Hello! I have a problem with courierimapkeywords. The files in the courierimapkeywords directory still exist after the mails are delete. For more then 1 000 000 maildirectory these files waste a lot of space. Any idea? Wait. They will be deleted after a certain period of time. pgpW28CfJUswv.pgp Description: PGP signature
Re: [Courier-imap] Help needed.
Nancy Rapheal writes: Will you please answer some of my quries? 1) Is there any way to distinguish the following scenarios? a) A mail read for the first time. b) Manually make the mail UNREAD n read it. No. pgpLbkUJRet9A.pgp Description: PGP signature
Re: [Courier-imap] Problems with authdaemon and pam configuration.
Pablo Martín-Portugués writes: Hi all! I'm setting up a new mail server (virtual users and domains) with Courier-IMAP and MySQL (+ Postfix ) on a Debian machine (kernel 2.6). I have other servers (packed-based installations) working well with them but now I'm trying to configure everything from sources to have more control for future instalations on other servers with other distros (and for updates). Now: it's working well with MySQL authentication. The problem is that I need PAM in order to use a developed pam module (it's working in ohter servers), but I can't get authdaemond working with /etc/pam.d/imap, and I don't know where is getting PAM config from. So, It's always looking for the user at /etc/passwd (pam_unix.so I think), and any changes in /etc/pam.d/imap are ignored. I'm confused at this point with the implication of SASL lib: is saslauthd necessary? I think don't but please correct me if I'm wrong. I suppose that I'm missing some option/s at configuration (see below) but please tell me. Whatever your problem is, it has nothing to do with Cyrus SASL. Courier does not use Cyrus SASL. Thanks in advance. Regards, Pablo. I based my installation in the tutorial from postfix wiki: http://postfixwiki.org/index.php?title=Virtual_Users_and_Domains_with_Courier-IMAP_and_MySQL#SASL2_smtpd.conf to use postfixadmin. Last configure options I used: cyrus-sasl-2.1.19: ./configure --with-mysql=/usr/include/mysql/ --disable-cram --disable-digest --disable-krb4 --enable-login --with-pam --libdir=/usr/lib --includedir=/usr/include --without-des courier-authlib-0.58: ./configure --with-mysql-libs=/var/lib/mysql/ --with-mysql-includes=/usr/include/mysql/ courier-0.53.0: ./configure --with-ispell=/usr/bin/ispell --enable-unicode --with-authmysql --with-authpam --with-mysql-libs=/var/lib/mysql/ --with-mysql-includes=/usr/include/mysql/ --without-authuserdb --with-trashquota --without-authuserdb (Tell me if you need something more) --- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642 ___ Courier-imap mailing list Courier-imap@lists.sourceforge.net Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-imap pgp20QSIOtSF6.pgp Description: PGP signature
Re: [Courier-imap] Question about shared folders
Pere Postfix writes: Hi, I'm learning about courier-imap now. Trying now with shared folders. First configuration I do, I use permission based shared folders. I create a shared maildir and folder. Fine. I use it from webmail with no problem, and from thunderbird too. My problem is. Can I create sub folders inside that shared folder within thunderbird or webmail? No, not with permissions-based shared folders. If I need to create sub folders inside a shared folder do I have to use only virtual shared folders? Yes. pgponZrvxT309.pgp Description: PGP signature
Re: [Courier-imap] Problem with authdaemon
Jörg Willmann writes: Hi, I'm using courier-imap 0.47 on debian sarge with qmail as mta and vpopmail for virtual domain support. After starting the authdaemon everything works fine but after a few hours there's no authentication possible anymore. 1. Sounds like an old vpopmail bug that was fixed many years ago. 2. You are running an ancient version of Courier that nobody is really interested in spending any more time on. pgpHt8wsgpsnT.pgp Description: PGP signature
Re: [Courier-imap] More FAM issues large (100k messages) Maildirs
Jay Lee writes: I'm still having issues with FAM. It seems to work fine until I access a large Maildir (100,000 messages). Then famd jumps to 99% utilization and stays there. I'm becoming convinced that this is not so much a FAM/Courier issue as it is a limitation of the FAM/dnotify system. The You're probably right. pgpSkKBDddhuv.pgp Description: PGP signature
Re: [Courier-imap] logging client commands
Nick Demou writes: I have a courier-IMAP+Postfix server for about 10 clients in a LAN. All of them have their personal accounts but also have access to one shared account wich collects press releases for all of them to see. During the first 4 weeks of operation personal accounts work like a charm but ALL the messages of the shared account have dissapeared twice. To rule out the possibility of a user mistake I would like to be able to log all DELETE commands from any client to the IMAP server - is this possible? Append "IMAPDEBUGFILE=log.txt" to the imapd configuration file, and restart. This is going to create a "log.txt" file in everyone's Maildir, logging all commands sent or received by the corresponding account. The generated log files may grow very quickly. pgp33Hl0c4O4h.pgp Description: PGP signature
Re: [Courier-imap] Quota over 2GB
[EMAIL PROTECTED] writes: Can Courier-imap handle quota over 2GB under 32bit CPU & OS? Not likely. I doubt it can't. Right. But even 32bit CPUs can handle 64bit quantities, and if the OS uses 64bit values to represent file offsets and file sizes, Courier-IMAP will be able to handle quotas over 2GB. pgpFDHNDnqSsG.pgp Description: PGP signature
Re: [Courier-imap] TLS errors
Julie S. Lin writes: Hi All, i'm getting this error, and it's preventing mail from getting out Mar 14 15:46:12 mail courieresmtp: id=00057E1A.4415AFA4.2C8C,from=myvest.com>,addr=<[EMAIL PROTECTED]>: 454 TLS not available due to local problem Mar 14 15:46:12 slink courieresmtp: id=00057E1A.4415AFA4.2C8C,from=myvest.com>,addr=<[EMAIL PROTECTED]>,status: deferred in all my googling it's related to antivirus scanning? funiversal.com's mail server is broken. Call them, and tell them to fire their system administrator, who is an incompetent moron. pgpXvxXnUQjl5.pgp Description: PGP signature
Re: [Courier-imap] Lost folder
Omry Yadan writes: Hi, I had a 'lists' folder, and it someshow disappeared. now I can't create a new folder with the same name, so it must still be there somehow. I am using Debian etch pacage version 3.0.8-13. any idea how to solve this? Look at the filesystem and figure out what's going on. pgptUEBLHogDq.pgp Description: PGP signature
Re: [Courier-imap] problems with authentication with authmysql
Ivan Yuja writes: I'm trying to authenticate using authmysql retrieving the following debug info Mar 17 06:48:43 bill imaplogin: LOGIN: DEBUG: ip=[:::127.0.0.1], command=LOGIN Mar 17 06:48:43 bill imaplogin: LOGIN: DEBUG: ip=[:::127.0.0.1], [EMAIL PROTECTED] Mar 17 06:48:43 bill imaplogin: authdaemon: starting client module Mar 17 06:48:43 bill imaplogin: authdaemon: REJECT Mar 17 06:48:48 bill imaplogin: LOGIN FAILED, ip=[:::127.0.0.1] Looks like you do not have any authentication modules defined. my authmysqlrc file: That's nice, but you are not even using authmysql. See INSTALL. pgplFkuzZOSdj.pgp Description: PGP signature
[Courier-imap] Courier/Courier-IMAP/SqWebMail 20060318
Download: http://www.courier-mta.org/download.php Updated development snapshots of courier, courier-imap, and sqwebmail packages are available for download. Changes: • Fix IMAP quotas >2GB on 32 bit platforms with 64 bit off_t. • Improved webmail session keep-alives. This functionality is on by default, new checkbox on the login screen optionally turns it off. • Fix redirection links in webmail. pgpx1aOyro3py.pgp Description: PGP signature
Re: [Courier-imap] maildir not in $HOME
mess-mate writes: Hi i'd like to setup a Maildir on a server, so not in a $HOME; but on a other partition. Any way how i can do that ? Yes, but you should first set up a normal server installation, verify that it works, and become familiar with the software. Only when you have some experience here, will you have a better chance of mucking around with the configuration. pgpZaGiIWjDQr.pgp Description: PGP signature
Re: [Courier-imap] authdaemond leaky?
Charles Sprickman writes: Hi all, Running Courier-Imap and authdaemond (4.0.6 + 0.58) and have been alerted a few times that the mail server is running out of swap. Last time each authdaemon process was about 600MB. After about a week, it grows quite a bit: PID USERNAME PRI NICE SIZERES STATE C TIME WCPUCPU COMMAND 39272 root2 0 112M 76200K select 1 15:20 0.00% 0.00% authdaemond 39274 root2 0 112M 75932K select 0 15:21 0.00% 0.00% authdaemond 39273 root2 0 111M 76140K select 1 15:27 0.00% 0.00% authdaemond 39275 root2 0 111M 76188K select 1 15:22 0.00% 0.00% authdaemond 39271 root2 0 111M 76052K select 1 15:12 0.00% 0.00% authdaemond Is this a known issue? OS is FreeBSD 4.8, all courier stuff built from ports. No, it's not a known issue. What authentication modules are you using? pgpzzKBIz8v4w.pgp Description: PGP signature
Re: [Courier-imap] authdaemond leaky?
Charles Sprickman writes: On Wed, 22 Mar 2006, Sam Varshavchik wrote: Charles Sprickman writes: Hi all, Running Courier-Imap and authdaemond (4.0.6 + 0.58) and have been alerted a few times that the mail server is running out of swap. Last time each authdaemon process was about 600MB. After about a week, it grows quite a bit: PID USERNAME PRI NICE SIZERES STATE C TIME WCPUCPU COMMAND 39272 root2 0 112M 76200K select 1 15:20 0.00% 0.00% authdaemond 39274 root2 0 112M 75932K select 0 15:21 0.00% 0.00% authdaemond 39273 root2 0 111M 76140K select 1 15:27 0.00% 0.00% authdaemond 39275 root2 0 111M 76188K select 1 15:22 0.00% 0.00% authdaemond 39271 root2 0 111M 76052K select 1 15:12 0.00% 0.00% authdaemond Is this a known issue? OS is FreeBSD 4.8, all courier stuff built from ports. No, it's not a known issue. What authentication modules are you using? The conversation will probably end shortly now, but vpopmail. :) Yes. The conversation ends here. If the vpopmail library is leaking memory, it's the vpopmail library that needs to be fixed. If you're using vpopmail to get account info from MySQL, you should be able to use authdaemon's native authmysql module to do the same thing. pgpV4urIK1tib.pgp Description: PGP signature
Re: [Courier-imap] patch-like support for KOI8-U encoding
Serhij Dubyk / СеÑгÑй ÐÑбик writes: Hi I prepared support for Courier-IMAP for basic Ukrainian koi8-u character-set (http://www.faqs.org/rfc/rfc2319.txt) File koi8u.c is created with help of mkkoi8u.pl (based on mkkoi8r.pl) and KOI8-U.TXT (unfortunately, this file is not placed yet on unicode.org). Hope that developers of Courier-IMAP will understand with changed files in atachment... I will look at your patch some time in the future. There's no need to resend it. pgpCp7ypv4A7M.pgp Description: PGP signature
Re: [Courier-imap] Problwms compiling authlib under Solaris 8
[EMAIL PROTECTED] writes: Hi! I am new to this list, but I have scoured the net for a solution but even google couldn't help me... I am currently "upgrading" my mail server from a Sun Ultra 10 to a Sun Ultra 60. I managed to get courier-authlib and imap running with some trickery (LD & CPPFLAGS) on the old boxen but now that I am installing the same setup on the new box I get stuck. Basically the OS is the same (Solaris 8), gcc is the same version on bóth boxen. I changed MySQL versions (v5) but I have swaped back to 4.1.10 (and .18) (installed in /opt linked to /usr/local) The error I get is: Linking libauthvchkpw.la << A lot of stuff here, see further down >> ld: fatal: relocations remain against allocatable but non-writable sections Your vpopmail library is not built properly, with support for shared libraries. Ask on the vpopmail list for assistance. pgpVkopurLpnn.pgp Description: PGP signature
Re: [Courier-imap] Courier will not start
Dave Johnson writes: hi all Any idea how I sort this out [09:04 PM [EMAIL PROTECTED] ~]# tail -f /var/log/maillog Mar 23 21:04:06 adsl authdaemond: Installing libauthmysql Mar 23 21:04:06 adsl authdaemond: Shared object "libauthmysql.so" not found, required by "authdaemond" Mar 23 21:04:06 adsl authdaemond: Installing libauthpgsql Mar 23 21:04:06 adsl authdaemond: Shared object "libauthpgsql.so" not found, required by "authdaemond" Mar 23 21:04:21 adsl spamd[498]: server started on port 783/tcp (running version 3.0.4) Mar 23 21:04:21 adsl spamd[498]: server successfully spawned child process, pid 575 Nothing above shows that authdaemond did not start. pgptSx5iQZIRE.pgp Description: PGP signature
Re: [Courier-imap] pop 110 failed
Tom Lee writes: Hello, I have imap and pop running with courier-imap for a while. it works fine. Sudeently I noticed that pop doesn't work any more. It complains that " Receiving' reported error (0x800CCC0F) : 'The connection to the server was interrupted. If this problem continues, contact your server administrator or Internet service provider (ISP).'" restart courier-imap doesn't seem to resolve the problem. However, telnet with port 110 seems connecting. Is there a way that I can try to log in manually with telnet port 110 to test the issue? the /var/log/maillog doesn't contain the information about the failed connection for port 110. where I can find more information? imap seems working fine. You are using either Outlook or Outlook Express. This is a known bug in Microsoft's crapware. Manually delete the first message in your mailbox. It's spam with corrupted headers. After downloading, Outlook crashes internally, but accuses the server. pgpneqGoEuu02.pgp Description: PGP signature