[courier-users] multiple mailfilters
Sam, Is there any way to have multiple mail filters for a specific account where one is $HOME/.mailfilter for webmail to use and then another which is edited manually? I have a couple of accounts where I want the users to be able to create their own autoreplies, etc. using the webmail interface, but then I also want to do some filtering which can't be set up through webmail (running the message through xfilter, forwarding it to another program, etc.) I also don't want them to be able to mess with the filters that I create (hence I don't want to put them into $HOME/.mailfilter where webmail will see them). I tried setting up a separate filter as $HOME/.mailfilters/mailfilter, but maildrop seemed to ignore it and only use $HOME/.mailfilter. Thanks again for a fantastic mail server! Jeff Jansen ___ Don't miss the 2002 Sprint PCS Application Developer's Conference August 25-28 in Las Vegas -- http://devcon.sprintpcs.com/adp/index.cfm ___ courier-users mailing list [EMAIL PROTECTED] Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users
[courier-users] LMTP
Hello. Can Courier IMAP manage LMTP request? If not, it is planed incorpore this feature in the future? Thanks. ___ Don't miss the 2002 Sprint PCS Application Developer's Conference August 25-28 in Las Vegas -- http://devcon.sprintpcs.com/adp/index.cfm ___ courier-users mailing list [EMAIL PROTECTED] Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users
[courier-users] Can't login to webmail: authdaemon: s_connect() failed
Hi all! I can't get SqWebMail running on my FreeBSD 4.5 server When I try to login I get INVALID USER ID OR PASSWORD on the web page, and webmail: authdaemon: s_connect() failed: Operation timed out in /var/log/messages In the authdaemonrc I have this line: authmodulelist=authpam The authdaemon is started and I can log in by using IMAP and POP3. What's the cause of this??? /Richard
AW: [courier-users] Local mail problems
i've got the same problem, it's because the domain aren't listed in /etc/hosteddomains ? i disabled also the dnscheck, just to try.. thanks for any ideas.. mike Hi. I've installed courier followed the doc to configure it, and still any mail I send to the server gets pushed outside, either to our outside mail server which I'm in the process of replacing, or it gets bounced to my outside account if I send to the local machine (eg. [EMAIL PROTECTED]). I've created the locals file also esmtpacceptmailfor, which if I have read the doc right should then make any mail sent to the domains in those files stop at the macheine courier is on. I don't thing it's a DNS problem. I've set up a local DNS for the local domain which is sing.auston.com. However when I send mail to myself at sing.auston.com it still goes outside I get a bounce, obviously as that domain doesn't exist outside the LAN. Any help appreciated. Thanks. Adrian Hicks -- MIS Project Manager Auston International Pte Ltd 45 Middle Rd, #01-00 Auston Unicentre, Singapore 188954 Tel: (65) 6339 4800 ext. 229 Fax: (65) 6339 7600 E-mail: [EMAIL PROTECTED] ___ Don't miss the 2002 Sprint PCS Application Developer's Conference August 25-28 in Las Vegas -- http://devcon.sprintpcs.com/adp/index.cfm ___ courier-users mailing list [EMAIL PROTECTED] Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users ___ Don't miss the 2002 Sprint PCS Application Developer's Conference August 25-28 in Las Vegas -- http://devcon.sprintpcs.com/adp/index.cfm ___ courier-users mailing list [EMAIL PROTECTED] Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users
[courier-users] the experimental mysql select clause in authmysqlrc
There seems to be an error in the sql in authmysqlrc.dist: (in my FreeBSD4.5 ports editon of Courier-imap 1.4.3) # MYSQL_SELECT_CLAUSE SELECT popbox.local_part, # CONCAT('{MD5}', popbox.password_hash), \ # domain.uid, \ # domain.gid, \ # popbox.clearpw, \ # CONCAT(domain.path, '/', popbox.mbox_name), \ # '', \ # domain.quota, \ # '', \ # FROM popbox, domain \ # WHERE popbox.local_part = '$(local_part)' \ # AND popbox.domain_name = '$(domain)'\ # AND popbox.domain_name = domain.domain_name # You can't have an comma right before the from statement ? And when i looked through the source for authmysql i seemed as though you would get a authfailure if you don't fill something in the maildir field, but in this example its set to ''Maybe its just me, i'm not that good a C :))) kind regards Søren Vrist, Denmark ___ Don't miss the 2002 Sprint PCS Application Developer's Conference August 25-28 in Las Vegas -- http://devcon.sprintpcs.com/adp/index.cfm ___ courier-users mailing list [EMAIL PROTECTED] Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users
Re: [courier-users] Can't login to webmail: authdaemon: s_connect() failed
On Wednesday, May 29, 2002, at 07:12 AM, Richard Ginzburg wrote: I can't get SqWebMail running on my FreeBSD 4.5 server. v When I try to login I get INVALID USER ID OR PASSWORD on the web page, and webmail: authdaemon: s_connect() failed: Operation timed out in /var/log/messages In the authdaemonrc I have this line: authmodulelist=authpam The authdaemon is started and I can log in by using IMAP and POP3. What's the cause of this??? Make sure your httpd process can get to your authdaemon socket (permissions to /usr/local/courier/var/authdaemon probably need to change) ./muk -- m. kolb [EMAIL PROTECTED] The permissions are now set to 777 ... It still wont work /Richard ___ Don't miss the 2002 Sprint PCS Application Developer's Conference August 25-28 in Las Vegas -- http://devcon.sprintpcs.com/adp/index.cfm ___ courier-users mailing list [EMAIL PROTECTED] Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users
Re: [courier-users] the experimental mysql select clause in authmysqlrc
--Søren Vrist wrote on 29.05.2002 14:22 +0200: There seems to be an error in the sql in authmysqlrc.dist: (in my FreeBSD4.5 ports editon of Courier-imap 1.4.3) # MYSQL_SELECT_CLAUSE SELECT popbox.local_part,# CONCAT('{MD5}', popbox.password_hash), \ # domain.uid, \ # domain.gid, \ # popbox.clearpw, \ # CONCAT(domain.path, '/', popbox.mbox_name), \ # '', \ # domain.quota, \ # '', \ # FROM popbox, domain \ # WHERE popbox.local_part = '$(local_part)' \ # AND popbox.domain_name = '$(domain)'\ # AND popbox.domain_name = domain.domain_name # You can't have an comma right before the from statement ? And when i looked through the source for authmysql i seemed as though you would get a authfailure if you don't fill something in the maildir field, but in this example its set to ''Maybe its just me, i'm not that good a C :))) The order listed few lines above is also bad and should be fixed... - # username, cryptpw, uid, gid, clearpw, home, maildir, quota, fullname + # username, cryptpw, clearpw, gid, home, maildir, quota, fullname Anyway, I got a split local/host scheme work with this clause: MYSQL_SELECT_CLAUSE SELECT local,'',clear,7780,7780, \ '/relay/home/$(local_part)','.',quota,name \ FROM passwd WHERE local='$(local_part)' \ AND (domain='$(local_part)' OR domain='$(domain)') This is used for authentification only, Users with 'Domain-POP' should be able to simply use the name of their domain for login. There was also a small patch necessary because authmysql died if no hostpart was supplied at login. A scheme which also supports catchall-delivery would look like this: (off my head, untested) WHERE (local='$(local_part)'AND domain='$(domain)') \ OR (local='alias' AND domain='$(local_part)') Roland ___ Don't miss the 2002 Sprint PCS Application Developer's Conference August 25-28 in Las Vegas -- http://devcon.sprintpcs.com/adp/index.cfm ___ courier-users mailing list [EMAIL PROTECTED] Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users
Re: [courier-users] Can't login to webmail: authdaemon: s_connect() failed
On Wednesday, May 29, 2002, at 08:47 AM, Richard Ginzburg wrote: On Wednesday, May 29, 2002, at 07:12 AM, Richard Ginzburg wrote: I can't get SqWebMail running on my FreeBSD 4.5 server. v When I try to login I get INVALID USER ID OR PASSWORD on the web page, and webmail: authdaemon: s_connect() failed: Operation timed out in /var/log/messages In the authdaemonrc I have this line: authmodulelist=authpam The authdaemon is started and I can log in by using IMAP and POP3. What's the cause of this??? Make sure your httpd process can get to your authdaemon socket (permissions to /usr/local/courier/var/authdaemon probably need to change) The permissions are now set to 777 ... It still wont work Also make sure the permissions on your webmail cgi script are correct: 4755, with owner root. -- m. kolb [EMAIL PROTECTED] ___ Don't miss the 2002 Sprint PCS Application Developer's Conference August 25-28 in Las Vegas -- http://devcon.sprintpcs.com/adp/index.cfm ___ courier-users mailing list [EMAIL PROTECTED] Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users
[courier-users] Cannot query MySQL thru Courier
I have Postfix and Courier-Imap (pop3) running on a MacOS X box, but I cannot get it to talk to the MySQL database. I can get into MySQL from the command line as the postfix user, but when I try pop3-ing in, it refuses to access the database. From my mysql log file: I can get in from command line: 020529 9:17:59 6 Connect postfix@localhost on 020529 9:18:12 6 Init DB tcsmail 6 Query show databases 6 Query show tables 6 Field List post_users 6 Field List transport 020529 9:18:23 6 Query show tables 020529 9:18:31 6 Query select * from post_users 020529 9:18:40 6 Quit but when I try to POP in: 020529 9:20:20 8 Connect postfix@localhost on 8 Init DB Access denied for user: 'postfix@localhost' to database 'tcsmail' 8 Quit Out of frustration, I granted user postfix all privileges, but even that failed. Suggestions ? ___ Don't miss the 2002 Sprint PCS Application Developer's Conference August 25-28 in Las Vegas -- http://devcon.sprintpcs.com/adp/index.cfm ___ courier-users mailing list [EMAIL PROTECTED] Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users
Re: [courier-users] the experimental mysql select clause inauthmysqlrc
On Wed, 2002-05-29 at 14:49, Roland Schneider wrote: The order listed few lines above is also bad and should be fixed... - # username, cryptpw, uid, gid, clearpw, home, maildir, quota, fullname + # username, cryptpw, clearpw, gid, home, maildir, quota, fullname you mean + # username, cryptpw, clearpw, uid, gid, home, maildir, quota, fullname ?? MYSQL_SELECT_CLAUSE SELECT local,'',clear,7780,7780, \ '/relay/home/$(local_part)','.',quota,name \ FROM passwd WHERE local='$(local_part)' \ AND (domain='$(local_part)' OR domain='$(domain)') You got 2 numbers in this sql, but only room for one in your changed ordered list which leads me to my question above. kind regards Søren Vrist :) ___ Don't miss the 2002 Sprint PCS Application Developer's Conference August 25-28 in Las Vegas -- http://devcon.sprintpcs.com/adp/index.cfm ___ courier-users mailing list [EMAIL PROTECTED] Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users
[courier-users] Cannot query MySQL thru Courier - Update
I am more certain the problem is in the Courier settings, because when I sent out the last message, thru Postfix, running from Pine, I saw this scroll by in the MySQL log: 020529 9:31:56 13 Connect postfix@localhost on tcsmail 13 Query select maildir from post_users where id = '[EMAIL PROTECTED]' 13 Query select maildir from post_users where id = '@lists.sourceforge.net' 14 Connect postfix@localhost on tcsmail 14 Query select transport from transport where domain = 'lists.sourceforge.net' 14 Query select transport from transport where domain = '.sourceforge.net' 14 Query select transport from transport where domain = '.net' 15 Connect postfix@localhost on tcsmail 15 Query select maildir from post_users where id = 'lists.sourceforge.net' So that says that user postfix can access database tcsmail on localhost just fine. ___ Don't miss the 2002 Sprint PCS Application Developer's Conference August 25-28 in Las Vegas -- http://devcon.sprintpcs.com/adp/index.cfm ___ courier-users mailing list [EMAIL PROTECTED] Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users
[courier-users] Problem compiling 0.38.1 authlibs
Hello When compiling 0.38.1 I get the errors down attached. What can be wrong? Regards gcc -DHAVE_CONFIG_H -I. -I. -I. -g -O2 -Wall -I.. -I./.. -c authldaplib.c authldaplib.c:208: parse error before `*' authldaplib.c: In function `authldap_read_config': authldaplib.c:321: `LDAP_PORT' undeclared (first use in this function) authldaplib.c:321: (Each undeclared identifier is reported only once authldaplib.c:321: for each function it appears in.) authldaplib.c:402: `LDAP_DEREF_NEVER' undeclared (first use in this function) authldaplib.c:411: `LDAP_DEREF_SEARCHING' undeclared (first use in this function) authldaplib.c:413: `LDAP_DEREF_FINDING' undeclared (first use in this function) authldaplib.c:415: `LDAP_DEREF_ALWAYS' undeclared (first use in this function) authldaplib.c: At top level: authldaplib.c:439: parse error before `*' authldaplib.c: In function `copy_value': authldaplib.c:443: warning: implicit declaration of function `ldap_get_values' authldaplib.c:443: `ld' undeclared (first use in this function) authldaplib.c:443: `entry' undeclared (first use in this function) authldaplib.c:443: `attribut' undeclared (first use in this function) authldaplib.c:443: warning: assignment makes pointer from integer without a cast authldaplib.c:453: `LDAP_DECODING_ERROR' undeclared (first use in this function) authldaplib.c:455: warning: implicit declaration of function `ldap_perror' authldaplib.c:457: `copy' undeclared (first use in this function) authldaplib.c:461: warning: implicit declaration of function `ldap_count_values' authldaplib.c:467: `username' undeclared (first use in this function) authldaplib.c:482: warning: implicit declaration of function `ldap_value_free' authldaplib.c: At top level: authldaplib.c:486: parse error before `*' authldaplib.c:486: warning: type defaults to `int' in declaration of `my_ldap_fp' authldaplib.c:486: warning: data definition has no type or storage class authldaplib.c: In function `authldapclose': authldaplib.c:492: warning: implicit declaration of function `ldap_unbind' authldaplib.c: In function `ldaperror': authldaplib.c:502: warning: implicit declaration of function `NAME_ERROR' authldaplib.c: At top level: authldaplib.c:515: parse error before `*' authldaplib.c:559: parse error before `*' authldaplib.c:560: warning: return-type defaults to `int' authldaplib.c: In function `ldapconnect': authldaplib.c:561: `LDAP' undeclared (first use in this function) authldaplib.c:561: `p' undeclared (first use in this function) authldaplib.c:561: warning: statement with no effect authldaplib.c:572: warning: implicit declaration of function `ldap_init' authldaplib.c:591: warning: control reaches end of non-void function authldaplib.c: In function `ldapopen': authldaplib.c:640: warning: implicit declaration of function `ldap_simple_bind_s' authldaplib.c:642: `LDAP_SUCCESS' undeclared (first use in this function) authldaplib.c:644: warning: implicit declaration of function `ldap_err2string' authldaplib.c:644: warning: initialization makes pointer from integer without a cast authldaplib.c:595: warning: `ldrc' might be used uninitialized in this function authldaplib.c: In function `auth_ldap_do2': authldaplib.c:726: `LDAPMessage' undeclared (first use in this function) authldaplib.c:726: `result' undeclared (first use in this function) authldaplib.c:726: `entry' undeclared (first use in this function) authldaplib.c:726: warning: left-hand operand of comma expression has no effect authldaplib.c:727: parse error before `int' authldaplib.c:756: warning: implicit declaration of function `ldap_search_st' authldaplib.c:760: `LDAP_SCOPE_SUBTREE' undeclared (first use in this function) authldaplib.c:763: `LDAP_SUCCESS' undeclared (first use in this function) authldaplib.c:771: `cnt' undeclared (first use in this function) authldaplib.c:771: warning: implicit declaration of function `ldap_count_entries' authldaplib.c:779: warning: implicit declaration of function `ldap_msgfree' authldaplib.c:784: warning: implicit declaration of function `ldap_first_entry' authldaplib.c:795: `v' undeclared (first use in this function) authldaplib.c:803: `aname' undeclared (first use in this function) authldaplib.c: In function `auth_ldap_do3': authldaplib.c:825: `LDAPMessage' undeclared (first use in this function) authldaplib.c:825: `result' undeclared (first use in this function) authldaplib.c:825: warning: statement with no effect authldaplib.c:826: `entry' undeclared (first use in this function) authldaplib.c:826: warning: statement with no effect authldaplib.c:827: parse error before `char' authldaplib.c:841: `auth' undeclared (first use in this function) authldaplib.c:843: `filter' undeclared (first use in this function) authldaplib.c:869: `j' undeclared (first use in this function) authldaplib.c:870: `i' undeclared (first use in this function) authldaplib.c:879: `LDAP_SCOPE_SUBTREE' undeclared (first use in this function) authldaplib.c:882: `LDAP_SUCCESS' undeclared (first use in
AW: [courier-users] Permissions on the Maildir
Finally i got courier-imap's pop3 to auth against mysql, now there's just the problem that i get the error: (chdir) permission denied: i gather - either is the Maildir info it retrieves from mysql not right ie: /usr/mailboxes/domain/user/Maildir/ + '' or something -- put the information without the Maildir into the mysql: like /usr/mailboxes/domain/user/ -- - i have to change the permission on the dirs?, but thats a problem: courier gets the info about which user should be used, and that user is the _only_ (besides root) who can access these domain/user/Maildir/ things. Its the permissions given by postfix on delivery, and when it creates the directories.. What to do? -- you has to use the same uid/gid in mysql like the usersMaildir are in real.. -- best wishes.. mike ___ Don't miss the 2002 Sprint PCS Application Developer's Conference August 25-28 in Las Vegas -- http://devcon.sprintpcs.com/adp/index.cfm ___ courier-users mailing list [EMAIL PROTECTED] Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users ___ Don't miss the 2002 Sprint PCS Application Developer's Conference August 25-28 in Las Vegas -- http://devcon.sprintpcs.com/adp/index.cfm ___ courier-users mailing list [EMAIL PROTECTED] Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users
Re: [courier-users] Cannot query MySQL thru Courier - Update
[EMAIL PROTECTED] wrote on 29.05.2002 09:40 -0400: I am more certain the problem is in the Courier settings Yes, remove trailing spaces (and other typos) from authmysqlrc Roland ___ Don't miss the 2002 Sprint PCS Application Developer's Conference August 25-28 in Las Vegas -- http://devcon.sprintpcs.com/adp/index.cfm ___ courier-users mailing list [EMAIL PROTECTED] Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users
Re: [courier-users] Permissions on the Maildir (solved)
Rolans answer to my last mail resovled this for me.. the order of the sql fields was wrong :) kind regards Søren Vrist :) ___ Don't miss the 2002 Sprint PCS Application Developer's Conference August 25-28 in Las Vegas -- http://devcon.sprintpcs.com/adp/index.cfm ___ courier-users mailing list [EMAIL PROTECTED] Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users
Re: [courier-users] the experimental mysql select clause in authmysqlrc
--Søren Vrist wrote on 29.05.2002 15:35 +0200: On Wed, 2002-05-29 at 14:49, Roland Schneider wrote: The order listed few lines above is also bad and should be fixed... - # username, cryptpw, uid, gid, clearpw, home, maildir, quota, fullname + # username, cryptpw, clearpw, gid, home, maildir, quota, fullname you mean + # username, cryptpw, clearpw, uid, gid, home, maildir, quota, fullname ?? Exactly ;) MYSQL_SELECT_CLAUSE SELECT local,'',clear,7780,7780, \ '/relay/home/$(local_part)','.',quota,name \ FROM passwd WHERE local='$(local_part)' \ AND (domain='$(local_part)' OR domain='$(domain)') You got 2 numbers in this sql, but only room for one in your changed ordered list which leads me to my question above. Its easier to begin with a working sample. If there are errors with fieldnames then mysql's query-log will just show the connect but no sql-query. Roland ___ Don't miss the 2002 Sprint PCS Application Developer's Conference August 25-28 in Las Vegas -- http://devcon.sprintpcs.com/adp/index.cfm ___ courier-users mailing list [EMAIL PROTECTED] Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users
Re: [courier-users] the experimental mysql select clause inauthmysqlrc
On Wed, 2002-05-29 at 14:49, Roland Schneider wrote: Anyway, I got a split local/host scheme work with this clause: heres my finally working mysqlauthrc select_clause: MYSQL_SELECT_CLAUSE SELECT userdata.username, userdata.password, \ '',domains.uid, domains.gid,concat \ ('/usr/mailboxes/',domains.domain,'/',userdata.username,'/Maildir/') \ ,'.' ,'123000',userdata.realname from userdata, domains where \ userdata.username = '$(local_part)' \ AND domains.domain = '$(domain)' and userdata.domain = domains.id i don't use courier for MTA so the quota thing is of no importance to me right? i have, set it to something, to be sure that the authmysql wouldn't fail. It gets pretty complex when you use more than one table :) (you should see my postfix .cf files for the mysql virtual lookups :) The crypt part of the passwords is made with the password as salt right ? (when using mysql encrypt, thats the only thing who works.) update blalbla ... set password = ENCRYPT('newpassword', 'newpassword'); kind regards Søren Vrist :) ___ Don't miss the 2002 Sprint PCS Application Developer's Conference August 25-28 in Las Vegas -- http://devcon.sprintpcs.com/adp/index.cfm ___ courier-users mailing list [EMAIL PROTECTED] Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users
Re: [courier-users] Cannot query MySQL thru Courier - Update
There are no trailing spaces. Here are the contents of my authmysqlrc file. I welcome any suggestions as to the problems MYSQL_SERVERlocalhost MYSQL_USERNAME postfix MYSQL_PASSWORD *** MYSQL_OPT 0 MYSQL_DATABASE tcsmail MYSQL_USER_TABLEpost_users MYSQL_CRYPT_PWFIELD password DEFAULT_DOMAIN MYSQL_UID_FIELD uid MYSQL_GID_FIELD gid MYSQL_LOGIN_FIELD id MYSQL_HOME_FIELDhome MYSQL_NAME_FIELDname On Wed, 29 May 2002, Roland Schneider wrote: [EMAIL PROTECTED] wrote on 29.05.2002 09:40 -0400: I am more certain the problem is in the Courier settings Yes, remove trailing spaces (and other typos) from authmysqlrc Roland ___ Don't miss the 2002 Sprint PCS Application Developer's Conference August 25-28 in Las Vegas -- http://devcon.sprintpcs.com/adp/index.cfm ___ courier-users mailing list [EMAIL PROTECTED] Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users ___ Don't miss the 2002 Sprint PCS Application Developer's Conference August 25-28 in Las Vegas -- http://devcon.sprintpcs.com/adp/index.cfm ___ courier-users mailing list [EMAIL PROTECTED] Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users
[courier-users] authpam missing in authdaemonrc
Hi I tried to build courier-imap 1.4.2 with the following configuration ./configure \ -prefix=/usr/local/courier-imap \ --with-db=db \ --with-userdb=/etc/userdb \ --with-mailuser=root \ --with-authpam \ --without-socks \ --without-authldap \ --without-authcram \ --without-authpwd \ --without-authshadow \ --without-authcustom \ --with-authdaemon but I still don't get the authpam module in the authdaemonrc list of available modules ##NAME: authmodulelist:0 # # The authentication modules that are linked into authdaemond. The # default list is installed. You may selectively disable modules simply # by removing them from the following list. The available modules you # can use are: authuserdb authmodulelist=authuserdb Thanks for hints Erich Titl THINK Püntenstrasse 39 8143 Stallikon mailto:[EMAIL PROTECTED] PGP Fingerprint: BC9A 25BC 3954 3BC8 C024 8D8A B7D4 FF9D 05B8 0A16 ___ Don't miss the 2002 Sprint PCS Application Developer's Conference August 25-28 in Las Vegas -- http://devcon.sprintpcs.com/adp/index.cfm ___ courier-users mailing list [EMAIL PROTECTED] Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users
[courier-users] Problems compiling Courier-IMAP
Hi all, I'm having difficulty compiling Courier-IMAP. It keeps failing during build with this error message. Any suggestions? gcc -I./.. -I.. -Wall -g -O2 -o couriertls starttls.o argparse.o libspipe.a ../rfc1035/librfc1035.a ../soxwrap/libsoxwrap.a `cat ../soxwrap/soxlibs.dep` -lssl -lcrypto /usr/local/lib/libcrypto.a(dso_dlfcn.o): In function `dlfcn_load': dso_dlfcn.o(.text+0x99): undefined reference to `dlopen' dso_dlfcn.o(.text+0xb4): undefined reference to `dlopen' dso_dlfcn.o(.text+0x10a): undefined reference to `dlclose' /usr/local/lib/libcrypto.a(dso_dlfcn.o): In function `dlfcn_bind_var': dso_dlfcn.o(.text+0x1b3): undefined reference to `dlsym' /usr/local/lib/libcrypto.a(dso_dlfcn.o): In function `dlfcn_bind_func': dso_dlfcn.o(.text+0x263): undefined reference to `dlsym' /usr/local/lib/libcrypto.a(dso_dlfcn.o): In function `dlfcn_unload': dso_dlfcn.o(.text+0x352): undefined reference to `dlclose' collect2: ld returned 1 exit status make[1]: *** [couriertls] Error 1 make[1]: Leaving directory `/usr/local/src/courier-imap-1.4.6/tcpd' make: *** [all-recursive] Error 1 -- Steve ___ Don't miss the 2002 Sprint PCS Application Developer's Conference August 25-28 in Las Vegas -- http://devcon.sprintpcs.com/adp/index.cfm ___ courier-users mailing list [EMAIL PROTECTED] Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users
[courier-users] Re: authpam missing in authdaemonrc
Erich Titl writes: but I still don't get the authpam module in the authdaemonrc list of available modules Make sure that you have the PAM development kit installed. -- Sam ___ Don't miss the 2002 Sprint PCS Application Developer's Conference August 25-28 in Las Vegas -- http://devcon.sprintpcs.com/adp/index.cfm ___ courier-users mailing list [EMAIL PROTECTED] Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users
[courier-users] Re: LMTP
Paco Yepes writes: Hello. Can Courier IMAP manage LMTP request? No. If not, it is planed incorpore this feature in the future? No. -- Sam ___ Don't miss the 2002 Sprint PCS Application Developer's Conference August 25-28 in Las Vegas -- http://devcon.sprintpcs.com/adp/index.cfm ___ courier-users mailing list [EMAIL PROTECTED] Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users
[courier-users] Re: multiple maildrop filters
jeff jansen writes: Sam, Is there any way to have multiple mail filters for a specific account where one is $HOME/.mailfilter for webmail to use and then another which is edited manually? I have a couple of accounts where I want the users to be able to create their own autoreplies, etc. using the webmail interface, but then I also want to do some filtering which can't be set up through webmail (running the message through xfilter, forwarding it to another program, etc.) Change maildirfilterconfig to have sqwebmail create the filtering recipe as something other than ../.mailfilter, then create your own .mailfilter with an include statement to read sqwebmail's generated recipe, and the additional filtering instructions. -- Sam ___ Don't miss the 2002 Sprint PCS Application Developer's Conference August 25-28 in Las Vegas -- http://devcon.sprintpcs.com/adp/index.cfm ___ courier-users mailing list [EMAIL PROTECTED] Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users
[courier-users] Re: Problem compiling 0.38.1 authlibs
Gustavo A. Lozano writes: Hello When compiling 0.38.1 I get the errors down attached. What can be wrong? Regards gcc -DHAVE_CONFIG_H -I. -I. -I. -g -O2 -Wall -I.. -I./.. -c authldaplib.c authldaplib.c:208: parse error before `*' authldaplib.c: In function `authldap_read_config': authldaplib.c:321: `LDAP_PORT' undeclared (first use in this function) You do not have OpenLDAP development libraries installed. -- Sam ___ Don't miss the 2002 Sprint PCS Application Developer's Conference August 25-28 in Las Vegas -- http://devcon.sprintpcs.com/adp/index.cfm ___ courier-users mailing list [EMAIL PROTECTED] Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users
Re: [courier-users] Cannot query MySQL thru Courier - Update
[EMAIL PROTECTED] wrote on 29.05.2002 10:34 -0400: There are no trailing spaces. 020529 9:20:20 8 Connect postfix@localhost on 8 Init DB Access denied for user: 'postfix@localhost' to database 'tcsmail' 8 Quit This excerpt shows some junk after the database-name, trailing spaces are the most common problem with authmysql. Roland ___ Don't miss the 2002 Sprint PCS Application Developer's Conference August 25-28 in Las Vegas -- http://devcon.sprintpcs.com/adp/index.cfm ___ courier-users mailing list [EMAIL PROTECTED] Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users
Re: [courier-users] the experimental mysql select clause in authmysqlrc
--Søren Vrist wrote on 29.05.2002 16:19 +0200: On Wed, 2002-05-29 at 14:49, Roland Schneider wrote: Anyway, I got a split local/host scheme work with this clause: heres my finally working mysqlauthrc select_clause: MYSQL_SELECT_CLAUSE SELECT userdata.username, userdata.password, \ '',domains.uid, domains.gid,concat \ ('/usr/mailboxes/',domains.domain,'/',userdata.username,'/Maildir/') \ ,'.' ,'123000',userdata.realname from userdata, domains where \ userdata.username = '$(local_part)' \ AND domains.domain = '$(domain)' and userdata.domain = domains.id i don't use courier for MTA so the quota thing is of no importance to me right? i have, set it to something, to be sure that the authmysql wouldn't fail. Empty strings are just fine, except in $($domain) as already mentioned. It gets pretty complex when you use more than one table :) (you should see my postfix .cf files for the mysql virtual lookups :) Select over multiple tables also dont scale very well for delivery because courier often has to do multiple lookups if 'local-extension' (.courier-*-default) are enabled. The crypt part of the passwords is made with the password as salt right ? (when using mysql encrypt, thats the only thing who works.) update blalbla ... set password = ENCRYPT('newpassword', 'newpassword'); The first 2 characters of the salt will be shown in plain, you should use someting 'random', or even a fixed string. Some 'modern' implementation of crypt will use something random by themself if you specify an empty salt. Instead of the weak encryption by 2 chars, you could as well use plain passwords which allows CRAM (and APOP with patch). This should not be done on a box with any shell- or cgi-users. Roland ___ Don't miss the 2002 Sprint PCS Application Developer's Conference August 25-28 in Las Vegas -- http://devcon.sprintpcs.com/adp/index.cfm ___ courier-users mailing list [EMAIL PROTECTED] Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users
Re: [courier-users] Cannot query MySQL thru Courier - Update
I looked at the source that picks up the environment variables. Sort of a weird way to handle character strings. Maybe I will code a replacement and offer it as a contribution to the project. On Wed, 29 May 2002, Roland Schneider wrote: [EMAIL PROTECTED] wrote on 29.05.2002 10:34 -0400: There are no trailing spaces. 020529 9:20:20 8 Connect postfix@localhost on 8 Init DB Access denied for user: 'postfix@localhost' to database 'tcsmail' 8 Quit This excerpt shows some junk after the database-name, trailing spaces are the most common problem with authmysql. Roland ___ Don't miss the 2002 Sprint PCS Application Developer's Conference August 25-28 in Las Vegas -- http://devcon.sprintpcs.com/adp/index.cfm ___ courier-users mailing list [EMAIL PROTECTED] Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users ___ Don't miss the 2002 Sprint PCS Application Developer's Conference August 25-28 in Las Vegas -- http://devcon.sprintpcs.com/adp/index.cfm ___ courier-users mailing list [EMAIL PROTECTED] Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users
[courier-users] sconnection terminiated by server?
I am useing the pop3d with mysql. When I login, it says Connection closed by foriegn host. Any ideas? I know courier is querying mysql cause I can see it in the logs. I believe it is auth correctly because when i use the wrong password, it has a different output. Here is what it looks like: Escape character is '^]'. +OK Hello there. USER jbest +OK Password required. PASS x Connection closed by foreign host. Escape character is '^]'. +OK Hello there. USER jbest +OK Password required. PASS wrong passworld -ERR Login failed. ___ Don't miss the 2002 Sprint PCS Application Developer's Conference August 25-28 in Las Vegas -- http://devcon.sprintpcs.com/adp/index.cfm ___ courier-users mailing list [EMAIL PROTECTED] Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users
[courier-users] Re: sconnection terminiated by server?
Justin Best writes: I am useing the pop3d with mysql. When I login, it says Connection closed by foriegn host. Any ideas? I know courier is querying mysql cause I can see it in the logs. I believe it is auth correctly because when i use the wrong password, it has a different output. Here is what it looks like: Escape character is '^]'. +OK Hello there. USER jbest +OK Password required. PASS x Connection closed by foreign host. The usual reason is authentication misconfiguration, such as a non-existing authenticate account's home directory or maildir. -- Sam ___ Don't miss the 2002 Sprint PCS Application Developer's Conference August 25-28 in Las Vegas -- http://devcon.sprintpcs.com/adp/index.cfm ___ courier-users mailing list [EMAIL PROTECTED] Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users
Re: [courier-users] Problems compiling Courier-IMAP
Steve Fulton wrote: Hi all, I'm having difficulty compiling Courier-IMAP. It keeps failing during build with this error message. Any suggestions? gcc -I./.. -I.. -Wall -g -O2 -o couriertls starttls.o argparse.o libspipe.a ../rfc1035/librfc1035.a ../soxwrap/libsoxwrap.a `cat ../soxwrap/soxlibs.dep` -lssl -lcrypto /usr/local/lib/libcrypto.a(dso_dlfcn.o): In function `dlfcn_load': dso_dlfcn.o(.text+0x99): undefined reference to `dlopen' dso_dlfcn.o(.text+0xb4): undefined reference to `dlopen' dso_dlfcn.o(.text+0x10a): undefined reference to `dlclose' /usr/local/lib/libcrypto.a(dso_dlfcn.o): In function `dlfcn_bind_var': dso_dlfcn.o(.text+0x1b3): undefined reference to `dlsym' /usr/local/lib/libcrypto.a(dso_dlfcn.o): In function `dlfcn_bind_func': dso_dlfcn.o(.text+0x263): undefined reference to `dlsym' /usr/local/lib/libcrypto.a(dso_dlfcn.o): In function `dlfcn_unload': dso_dlfcn.o(.text+0x352): undefined reference to `dlclose' collect2: ld returned 1 exit status make[1]: *** [couriertls] Error 1 make[1]: Leaving directory `/usr/local/src/courier-imap-1.4.6/tcpd' make: *** [all-recursive] Error 1 -- Steve ___ Don't miss the 2002 Sprint PCS Application Developer's Conference August 25-28 in Las Vegas -- http://devcon.sprintpcs.com/adp/index.cfm ___ courier-users mailing list [EMAIL PROTECTED] Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users It looks like you are trying to link against a static library when the linker wants a shared library. What version of glibc are you running? Peace Tom ___ Don't miss the 2002 Sprint PCS Application Developer's Conference August 25-28 in Las Vegas -- http://devcon.sprintpcs.com/adp/index.cfm ___ courier-users mailing list [EMAIL PROTECTED] Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users
Re: [courier-users] Hiding IMAP?
Hi Rob Security by obscurity has never been a good solution. You might want to look at a certificate based authentication scheme with TLS/SSL which IMHO is a lot safer. IMAP vs. POP isn't really a true security issue in this instance. It's more a matter of support; I want to allow ourselves - within the company - to use IMAP, but not clients, unless they're 'special'. My idea was that by hiding it, the users wouldn't know it was there. Unless they are unusually sophisticated, in which case we I don't care. Rob -- ___ Don't miss the 2002 Sprint PCS Application Developer's Conference August 25-28 in Las Vegas -- http://devcon.sprintpcs.com/adp/index.cfm ___ courier-users mailing list [EMAIL PROTECTED] Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users
Re: [courier-users] Hiding IMAP?
But I can't think of a way to structure the query so that a successful query gives them IMAP access, but an unsuccessful one just gives them pop. Based on my as yet limited understanding of courier, both popd and imapd will make the same query, and both will get the same results. Am I missing something? Rob I've not done a MySQL implementation, but with my Postfix-LDAP-Courier-imap setup I just have the search phase use an additional attribute: imap-enabled=yes Can't you do something similar with MySQL where you have an additional field for each user account, determining whether Imap is enabled? -Scott -- ___ Don't miss the 2002 Sprint PCS Application Developer's Conference August 25-28 in Las Vegas -- http://devcon.sprintpcs.com/adp/index.cfm ___ courier-users mailing list [EMAIL PROTECTED] Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users
Re: [courier-users] I have make a French HOWTO about courier andpostfix with mysql
On Wed, 2002-05-29 at 18:41, Yoann QUERET wrote: Hello, I have make a french HOWTO for using courier (pop3 + imap) and postfix with mysql data base. You can see this HOWTO at this URL : http://www.queret.net/isa/postfix_courier_with_mysql.html Nice. I'm am writing one, just about the same, in danish :) Nothing public yet though :) regards Søren Vrist ___ Don't miss the 2002 Sprint PCS Application Developer's Conference August 25-28 in Las Vegas -- http://devcon.sprintpcs.com/adp/index.cfm ___ courier-users mailing list [EMAIL PROTECTED] Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users
Re: [courier-users] Re: sconnection terminiated by server?
Here is a copy of my authmysqlrc: MYSQL_PORT 3306 MYSQL_OPT 0 MYSQL_DATABASE mail MYSQL_USER_TABLEuser MYSQL_CRYPT_PWFIELD pw_crypt MYSQL_UID_FIELD userkey MYSQL_GID_FIELD custkey MYSQL_LOGIN_FIELD username MYSQL_HOME_FIELDspool From mysql log: 020530 2:40:50 23 Query SELECT username, pw_crypt, , userkey, custkey, spool, , , FROM user WHERE username = jbest Output from mysql: | jbest| 9YRFT6948/zvw | |9271 | 0 | /mail/spool/infostations.com/jbest/ | | | [root@maildev jbest]# pwd /mail/spool/infostations.com/jbest Anyone have ideas why it is dropping the connection? I went over my configs numerous times and cannot find any errors ___ Don't miss the 2002 Sprint PCS Application Developer's Conference August 25-28 in Las Vegas -- http://devcon.sprintpcs.com/adp/index.cfm ___ courier-users mailing list [EMAIL PROTECTED] Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users
Re: [courier-users] Hiding IMAP?
bronto said: While on long drives last weekend I did some thinking. I have just built a new linux mail server using Postfix-MySQL-Courier-imap. I would like to be able to restrict access to imap services to only particular users. It was apparent last week from several other messages on this list that there is currently no built in functionality for selectively granting imap privileges and was thinking there must be some other way to do this, other than a suggested method of running two instances of courier-imap. Why not hack the auth functionality so that when it tries to auth, it has to check against an additional file in /etc, such as /etc/imap-authorised, and bump any userid that isn't in that file? I'll look when I get home and see if I can hack together a script that would do that. ___ Don't miss the 2002 Sprint PCS Application Developer's Conference August 25-28 in Las Vegas -- http://devcon.sprintpcs.com/adp/index.cfm ___ courier-users mailing list [EMAIL PROTECTED] Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users
Re: [courier-users] MX Lookup sending
On Wed, May 29, 2002 at 06:44:53PM +0200, Lukas Vesely wrote: Hi, I'd like to ask whether it's somehow possible to make the Courier test all of the servers with the same MX priority to try to send mail. For instance, hotmail :-/ has 15 mx relays with priority 5 but when one of these is down and courier wants by chance to send it via this gateway he defers the message instead of trying the other. I have also seen this, and I posed this question to Sam some time ago. Since he did not come back with a no, I'm hoping he has put this request on his todo list, and that it will appear in courier soon. Sam, are you working on such a feature? -- Anand Buddhdev Personal site: http://anand.org ___ Don't miss the 2002 Sprint PCS Application Developer's Conference August 25-28 in Las Vegas -- http://devcon.sprintpcs.com/adp/index.cfm ___ courier-users mailing list [EMAIL PROTECTED] Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users
Re: [courier-users] Hiding IMAP?
OK, I've found the info on SSL support at http://www.inter7.com/courierimap/INSTALL.html. I've confirmed that I already have SSL support included and the imapd-ssl deamon (as well as popd-ssl) are started at boot time. I've also confirmed the existence of the self generated cert. To test, I tried logging into imap with a known (previously working) user. As expected, it generated an error. My mail client (Eudora Windows) advised my that the cert was untrusted and that the domain didn't match the server (which is true; it's a virtual domain) and that I could add it to my list of trusted certs. I did. Trying again, Eudora now just fails to log in. It simply says operation failed:. Reading my maillog, there is the entry: imapd: Connection, ip=[:::10.1.18.64] imapd: starttls: accept: error:140943E8:SSL routines:SSL3_READ_BYTES:reason(1000) Which is undecipherable to me (pun intended). I have been using MySQL for authentication, and there is no evidence of a query in the logs. I assume that this is where the problem is; that SSL authenticates against actual unix users? Is this true? I really didn't want to have user accounts for all of the email accounts. Also, just to make sure I understand the methodology of allowing pop for everyone but imap for some, am I going to just run imapd-ssl, and not imapd, and popd but not popd-ssl? Rob Hi bronto wrote the following at 18:35 29.05.2002: Hi Rob Security by obscurity has never been a good solution. You might want to look at a certificate based authentication scheme with TLS/SSL which IMHO is a lot safer. IMAP vs. POP isn't really a true security issue in this instance. It's more a matter of support; I want to allow ourselves - within the company - to use IMAP, but not clients, unless they're 'special'. My idea was that by hiding it, the users wouldn't know it was there. Unless they are unusually sophisticated, in which case we I don't care. Exactly, why not use certificates for everyone who is allowed to connect to IMAP anybody else remains locked out, even if they are sophisticated. regards Erich Titl THINK Püntenstrasse 39 8143 Stallikon mailto:[EMAIL PROTECTED] PGP Fingerprint: BC9A 25BC 3954 3BC8 C024 8D8A B7D4 FF9D 05B8 0A16 -- ___ Don't miss the 2002 Sprint PCS Application Developer's Conference August 25-28 in Las Vegas -- http://devcon.sprintpcs.com/adp/index.cfm ___ courier-users mailing list [EMAIL PROTECTED] Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users
[courier-users] Re: MX Lookup sending
Anand Buddhdev writes: I have also seen this, and I posed this question to Sam some time ago. Since he did not come back with a no, I'm hoping he has put this request on his todo list, and that it will appear in courier soon. Sam, are you working on such a feature? I have not decided yet. -- Sam ___ Don't miss the 2002 Sprint PCS Application Developer's Conference August 25-28 in Las Vegas -- http://devcon.sprintpcs.com/adp/index.cfm ___ courier-users mailing list [EMAIL PROTECTED] Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users
[courier-users] Courier-IMAP 20020529
Download: http://www.courier-mta.org/download.php#imap Changes: Added an optionally-enabled setting to send E-mail with IMAP, instead of SMTP. This might be of some use in an ASP environment where a roaming client is on a wholesale dialup pool with port 25 blocked, but who can log in with IMAP over SSL, for example. It's a variation of the old Qpopper's POP3 XTND XMIT hack, except that this hack will work with any IMAP mail client. -- Sam ___ Don't miss the 2002 Sprint PCS Application Developer's Conference August 25-28 in Las Vegas -- http://devcon.sprintpcs.com/adp/index.cfm ___ courier-users mailing list [EMAIL PROTECTED] Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users
Re: [courier-users] Hiding IMAP?
First, after re-reading the entire thread, I seem to recall that there is someway to do this using the userdb auth module. As I recall, you can give a user separate smtp, imap, and pop passwords. If you simply change the passwords to imap to something they don't know, they won't be able to log in. Second, I assumed an approach to using certs for authentication would rely on the crypto aspects of certs, not a byte for byte comparison of them in a database. I could be wrong about this as I've never done it with Courier. However, it seems what you want to feed to Courier is the list of trusted root certs used to sign the user's client certificate. The TLS libraries will do their magic crypto stuff to determine if the client cert is actaully valid, and if so allow the connection to proceed. Therefore there is no lookup of the client cert in a database. This seems to be the intention of TLS_TRUSTCERTS and TLS_VERIFYPEER in /etc/imap-ssl. btw... are there MUA's that support client-side certificates with IMAP, POP, and/or ESMTP? -andy bronto wrote: OK, I've found the info on SSL support at http://www.inter7.com/courierimap/INSTALL.html. I've confirmed that I already have SSL support included and the imapd-ssl deamon (as well as popd-ssl) are started at boot time. I've also confirmed the existence of the self generated cert. To test, I tried logging into imap with a known (previously working) user. As expected, it generated an error. My mail client (Eudora Windows) advised my that the cert was untrusted and that the domain didn't match the server (which is true; it's a virtual domain) and that I could add it to my list of trusted certs. I did. Trying again, Eudora now just fails to log in. It simply says operation failed:. Reading my maillog, there is the entry: imapd: Connection, ip=[:::10.1.18.64] imapd: starttls: accept: error:140943E8:SSL routines:SSL3_READ_BYTES:reason(1000) Which is undecipherable to me (pun intended). I have been using MySQL for authentication, and there is no evidence of a query in the logs. I assume that this is where the problem is; that SSL authenticates against actual unix users? Is this true? I really didn't want to have user accounts for all of the email accounts. Also, just to make sure I understand the methodology of allowing pop for everyone but imap for some, am I going to just run imapd-ssl, and not imapd, and popd but not popd-ssl? smime.p7s Description: S/MIME Cryptographic Signature
[courier-users] Increased error logging verbosity?
I'm getting the following in my logs: May 29 10:24:51 ghetto courierlocal: id=00112A60.3CF4E387.42EF,from=spacey@mailhost,addr=[EMAIL PROTECTED]: maildir.open: Permission denied What would it take for the open method to print the directory that failed to be opened to syslog as well? -- The 5 year plan: In five years we'll make up another plan. Or just re-use this one. ___ Don't miss the 2002 Sprint PCS Application Developer's Conference August 25-28 in Las Vegas -- http://devcon.sprintpcs.com/adp/index.cfm ___ courier-users mailing list [EMAIL PROTECTED] Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users
Re: [courier-users] Hiding IMAP?
I've read the userdb info at http://www.inter7.com/courierimap/INSTALL.html#userdb, and indeed it does sound like it is what I want to do. But it makes no mention of MySQL, which is what I'm am using to store my virtual user data. I want to make sure I'm not going to screw something up by following the above directions. So, will this work with MySQL? Rob First, after re-reading the entire thread, I seem to recall that there is someway to do this using the userdb auth module. As I recall, you can give a user separate smtp, imap, and pop passwords. If you simply change the passwords to imap to something they don't know, they won't be able to log in. Second, I assumed an approach to using certs for authentication would rely on the crypto aspects of certs, not a byte for byte comparison of them in a database. I could be wrong about this as I've never done it with Courier. However, it seems what you want to feed to Courier is the list of trusted root certs used to sign the user's client certificate. The TLS libraries will do their magic crypto stuff to determine if the client cert is actaully valid, and if so allow the connection to proceed. Therefore there is no lookup of the client cert in a database. This seems to be the intention of TLS_TRUSTCERTS and TLS_VERIFYPEER in /etc/imap-ssl. btw... are there MUA's that support client-side certificates with IMAP, POP, and/or ESMTP? -andy bronto wrote: OK, I've found the info on SSL support at http://www.inter7.com/courierimap/INSTALL.html. I've confirmed that I already have SSL support included and the imapd-ssl deamon (as well as popd-ssl) are started at boot time. I've also confirmed the existence of the self generated cert. To test, I tried logging into imap with a known (previously working) user. As expected, it generated an error. My mail client (Eudora Windows) advised my that the cert was untrusted and that the domain didn't match the server (which is true; it's a virtual domain) and that I could add it to my list of trusted certs. I did. Trying again, Eudora now just fails to log in. It simply says operation failed:. Reading my maillog, there is the entry: imapd: Connection, ip=[:::10.1.18.64] imapd: starttls: accept: error:140943E8:SSL routines:SSL3_READ_BYTES:reason(1000) Which is undecipherable to me (pun intended). I have been using MySQL for authentication, and there is no evidence of a query in the logs. I assume that this is where the problem is; that SSL authenticates against actual unix users? Is this true? I really didn't want to have user accounts for all of the email accounts. Also, just to make sure I understand the methodology of allowing pop for everyone but imap for some, am I going to just run imapd-ssl, and not imapd, and popd but not popd-ssl? Content-Type: application/x-pkcs7-signature; name=smime.p7s Content-Disposition: attachment; filename=smime.p7s Content-Description: S/MIME Cryptographic Signature Attachment converted: Data HD:smime.p7s 1 (/) (000BBA44) -- ___ Don't miss the 2002 Sprint PCS Application Developer's Conference August 25-28 in Las Vegas -- http://devcon.sprintpcs.com/adp/index.cfm ___ courier-users mailing list [EMAIL PROTECTED] Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users
Re: [courier-users] Increased error logging verbosity?
To answer my own question, a hack to do this is to change courier/module.local/deliver.c line 530: if ((delivf=fopen(p, w)) == 0) { sprintf(buf, maildir.open %s:, p); delivery_error(buf); return (-1); } -Peter On Wed, May 29, 2002 at 02:28:01PM -0700, Peter C. Norton wrote: I'm getting the following in my logs: May 29 10:24:51 ghetto courierlocal: id=00112A60.3CF4E387.42EF,from=spacey@mailhost,addr=[EMAIL PROTECTED]: maildir.open: Permission denied What would it take for the open method to print the directory that failed to be opened to syslog as well? -- The 5 year plan: In five years we'll make up another plan. Or just re-use this one. ___ Don't miss the 2002 Sprint PCS Application Developer's Conference August 25-28 in Las Vegas -- http://devcon.sprintpcs.com/adp/index.cfm ___ courier-users mailing list [EMAIL PROTECTED] Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users -- The 5 year plan: In five years we'll make up another plan. Or just re-use this one. ___ Don't miss the 2002 Sprint PCS Application Developer's Conference August 25-28 in Las Vegas -- http://devcon.sprintpcs.com/adp/index.cfm ___ courier-users mailing list [EMAIL PROTECTED] Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users
[courier-users] PATCH: authmysql restrict service by user
I had a look at the sources, and it was really easy to extend the select_clause from [EMAIL PROTECTED] with the type of service. Unfortunately this value is not passed in the durrent authmysqlllib and two functions needed a new argument. The patch currently works only with the MYSQL_SELECT_CLAUSE, but could be extended if necessary. 1) Add the field 'service' to your mysql-table: service set('courier','esmtp','pop3','imap','webmail') NOT NULL default 'courier,pop3', Courier-users should take care to enable the service 'courier'. 2) update the select_clause to use the new variable and field: MYSQL_SELECT_CLAUSE SELECT local,'',clear,7780,7780,'/relay/home/$(local_par t)','.',quota,name \ FROM passwd WHERE local='$(local_part)' \ AND (domain='$(local_part)' OR domain='$(domain)') \ AND FIND_IN_SET('$(service)',service)0 3) the sql-query now looks like this: 1224 Query SELECT local,'',clear,7780,7780,'/relay/home /user','.',quota,name FROM passwd WHERE local='user' AND (domain=' user' OR domain='example.com') AND FIND_IN_SET('pop3',service)0 1224 Quit and another one, watch the service-attribute: 1402 Query SELECT local,'',clear,7780,7780,'/relay/home /user','.',quota,name FROM passwd WHERE local='user' AND (domain='us er' OR domain='example.com') AND FIND_IN_SET('webmail',service)0 1402 Quit This works quiet well, but I tested only for a few minutes, and without authdaemon, thats enough for today ;) Roland PS: I removed the bits used for pop3-apop, but left the changes for variable separators. Hope this did not brake anything. Be careful to preserve the tabs in the patch. # pass the 'service' to authmysql # use @, % and ! as separator with authmysql # for use with MYSQL_SELECT_CLAUSE and separate local/domain --- ../courier-0.38.1.orig/authlib/authmysql.h Thu Aug 2 00:18:58 2001 +++ authlib/authmysql.h Wed May 29 22:26:34 2002 @@ -20,7 +20,8 @@ gid_t gid; } ; -extern struct authmysqluserinfo *auth_mysql_getuserinfo(const char *); +// PATCH: add service to authmysql +extern struct authmysqluserinfo *auth_mysql_getuserinfo(const char *, const char *); extern void auth_mysql_cleanup(); extern int auth_mysql_setpass(const char *, const char *); --- ../courier-0.38.1.orig/authlib/authmysql.c Thu Jun 21 03:44:30 2001 +++ authlib/authmysql.c Wed May 29 22:48:38 2002 @@ -35,7 +35,8 @@ return (0); } - authinfo=auth_mysql_getuserinfo(user); + // PATCH: add service to authmysql + authinfo=auth_mysql_getuserinfo(user, service); if (!callback_func) auth_mysql_cleanup(); @@ -141,7 +155,8 @@ { struct authmysqluserinfo *authinfo; - authinfo=auth_mysql_getuserinfo(user); + // PATCH: add service to authmysql + authinfo=auth_mysql_getuserinfo(user, service); if (!authinfo) { --- ../courier-0.38.1.orig/authlib/authmysqllib.c Mon Apr 1 21:56:18 2002 +++ authlib/authmysqllib.c Wed May 29 23:30:22 2002 @@ -221,7 +221,9 @@ if (*p == '' || *p == '\\' || (int)(unsigned char)*p ' ') *p=' '; /* No funny business */ - if (strchr(username, '@') == 0 defdomain *defdomain) + // PATCH: variable separator + // if (strchr(username, '@') == 0 defdomain *defdomain) + if (strpbrk(username, @%!) == 0 defdomain *defdomain) strcat(strcpy(p, @), defdomain); } @@ -439,8 +441,9 @@ static charlocalpart_buf[130]; if (!username || *username == '\0') return NULL; - - p = strchr(username,'@'); + // PATCH: variable separator + // p = strchr(username,'@'); + p = strpbrk(username,@%!); if (p) { if ((p-username) 128) @@ -476,14 +479,17 @@ char *q; if (!username || *username == '\0') return NULL; - p = strchr(username,'@'); - + // PATCH: variable separator + // p = strchr(username,'@'); + p = strpbrk(username,@%!); if (!p || *(p+1) == '\0') { if (defdomain *defdomain) return defdomain; else - return NULL; + // PATCH: allow empty DEFAUTL_DOMAIN + // return NULL; + return ; } p++; @@ -530,12 +536,14 @@ /* [EMAIL PROTECTED] */ +// PATCH: add service to authmysql static char *parse_select_clause (const char *clause, const char *username, - const char *defdomain) + const char *defdomain, const char *service) { static struct var_data vd[]={ {local_part, NULL, sizeof(local_part), 0}, {domain, NULL, sizeof(domain), 0}, + {service,
Re: [courier-users] Hiding IMAP?
bronto wrote: I've read the userdb info at http://www.inter7.com/courierimap/INSTALL.html#userdb, and indeed it does sound like it is what I want to do. But it makes no mention of MySQL, which is what I'm am using to store my virtual user data. I want to make sure I'm not going to screw something up by following the above directions. So, will this work with MySQL? According to the documentation, you should be able to use both authuserdb and authmysql at the same time. Perhaps ordering it so that authuserdb is consulted first and it contains bogus imap passwords for all disallowed users. However, this seems like a terrible hack. I wonder if there is something you can do to authmysql to store separate pop/imap/smtp passwords like userdb or if you can just add a flag field specifying that imap is disallowed. -andy smime.p7s Description: S/MIME Cryptographic Signature
[courier-users] IMAP over SSL
I'm having a bit of trouble with IMAP over SSL. I've created certs using mkimapdcert, and in imapd-ssl config file I've changed: IMAPDSSLSTART=YES IMAPDSTARTTLS=NO When I start courier via /etc/init.d/courier (which is a copy of hte sysv init script provided in the distribution), it is definitely listeining on ports 143 and 993. Telnetting to port 143, I get a response and can login with . login user password And I tried using openssl for port 993: openssl s_client -connect localhost:993 but I get: CONNECTED(0003) 13590:error:140790E5:SSL routines:SSL23_WRITE:ssl handshake failure:s23_lib.c:226: So then I tried telneting to it, but it closes the connection IMMEDIATELY: # telnet localhost 993 Trying 127.0.0.1... Connected to localhost. Escape character is '^]'. Connection closed by foreign host. My logs give this error: May 29 16:41:18 hostname imapd-ssl: /usr/local/courier-imap/bin/couriertls: No such file or directory May 29 16:41:46 hostname imapd-ssl: /usr/local/courier-imap/bin/couriertls: No such file or directory Any ideas? Thanks, Phil -- They that can give up essential liberty to obtain a little temporary safety deserve neither liberty nor safety. -Benjamin Franklin, 1759 ___ Don't miss the 2002 Sprint PCS Application Developer's Conference August 25-28 in Las Vegas -- http://devcon.sprintpcs.com/adp/index.cfm ___ courier-users mailing list [EMAIL PROTECTED] Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users
[courier-users] noob question
Well, after a couple weeks of getting all the right software installed i finally got a successful build and install of Courier. Ibuilt on an Ultra5/Solaris8/Mysql/gcc2.95/gnu make setup. Machine hostname is lager. Sendmail has been removed. No mail server on machine till now. I created a test user lager, logged in the and started tests. I have dir $home/test $home/bounce When I run the perftest1 1000 using either user-test-1 or user-lager- 1 I get these errors in the log file: --- #more syslog May 29 17:21:57 lager courierd: [ID 702911 mail.info] newmsg,id=00211BD4.3CF54675.32C1 May 29 17:21:57 lager courierd: [ID 702911 mail.info] id=00211BD4.3CF54675.32C1,from=lager@l ager,addr=user-test-1@lager: 550 User unknown. May 29 17:21:57 lager courierd: [ID 702911 mail.info] id=00211BD4.3CF54675.32C1,from=lager@l ager,addr=user-test-1@lager,status: failure May 29 17:21:57 lager courierd: [ID 702911 mail.info] id=00211BD4.3CF54675.32C1,from=lager@l ager,addr=user-test-2@lager: 550 User unknown. May 29 17:21:57 lager courierd: [ID 702911 mail.info] id=00211BD4.3CF54675.32C1,from=lager@l ager,addr=user-test-2@lager,status: failure May 29 17:21:57 lager courierd: [ID 702911 mail.info] completed,id=00211BD4.3CF54675.32C1 May 29 17:21:57 lager courierd: [ID 702911 mail.info] started,id=00211BD4.3CF54675.32C1,from= ,module=dsn,host=,addr=lager@lager May 29 17:21:57 lager courierd: [ID 702911 mail.info] Waiting. shutdown time=none, wakeup time=n one, queuedelivering=1, inprogress=1 --- Its the same for user-lager-1 as well. Im using authpam, have DNS server running on another machine. I know its got to be something simple but its got me. Any help appreciated. I thought the hard part was over getting it to build...guess i though wrong...lol. Any way looking forward to getting gthis up and running. Many thanks, Rob aka ]-[illbilly -- ___ Don't miss the 2002 Sprint PCS Application Developer's Conference August 25-28 in Las Vegas -- http://devcon.sprintpcs.com/adp/index.cfm ___ courier-users mailing list [EMAIL PROTECTED] Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users
Re: [courier-users] Pine 4 and Folder collections
On Sat, 25 May 2002, Juha Saarinen wrote: OK, I give up. How do you set up the Folder-Collections with Pine so that you can actually read the mail? I've got some virtual accounts set up, with this directory structure: /home/virtual1/username username is the Maildir. The folder-collections item is set to: Virtual1 {[EMAIL PROTECTED]/novalidate-cert}INBOX[] OE 6 works fine, ditto Mutt, but Pine only sees the OE 6-created folders: .Drafts[.].Sent Items[.].Trash[.] but not the actual Inbox. What am I missing here? It's weird. This took me a while to find, too. Pine's normal Folder-Collections *don't* look at INBOX. I dunno why. You have to turn on enable-incoming-folders in Pine. Then, if you look at the Folder List in Pine, you'll see a Folder-Collection Incoming-Folders. Your default INBOX should already be in there, and you can (A)dd additional inboxes. It will ask for mail server name (I use something similar to this as well: [EMAIL PROTECTED]/novalidate-cert), folder name, and a nickname. A folder name of 'INBOX' (without quotes) works fine.) If the account is on the same server as other accounts that you are checking with that Pine instance, you have to be sure to use the /user=foo syntax or Pine will assume the same username. :-/ So if you want to read both the INBOX from an account and the other folders in that account, you set it up as a folder collection *and* (A)dd it into the Incoming-Folders collection. -- Charlie Watts [EMAIL PROTECTED] ___ Don't miss the 2002 Sprint PCS Application Developer's Conference August 25-28 in Las Vegas -- http://devcon.sprintpcs.com/adp/index.cfm ___ courier-users mailing list [EMAIL PROTECTED] Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users
Re: [courier-users] Pine 4 and Folder collections
On Wed, 29 May 2002, Charlie Watts wrote: It's weird. This took me a while to find, too. Pine's normal Folder-Collections *don't* look at INBOX. I dunno why. You have to turn on enable-incoming-folders in Pine. Then, if you look at the Folder List in Pine, you'll see a Folder-Collection Incoming-Folders. Your default INBOX should already be in there, and you can (A)dd additional inboxes. It will ask for mail server name (I use something similar to this as well: [EMAIL PROTECTED]/novalidate-cert), folder name, and a nickname. A folder name of 'INBOX' (without quotes) works fine.) If the account is on the same server as other accounts that you are checking with that Pine instance, you have to be sure to use the /user=foo syntax or Pine will assume the same username. :-/ So if you want to read both the INBOX from an account and the other folders in that account, you set it up as a folder collection *and* (A)dd it into the Incoming-Folders collection. It works! IT WORKS! Wheee! I had enable-incoming-folders set, but tried to use Folder-collections instead. Thanks a lot! It's been bothering me for ages this. -- Juha Saarinen ___ Don't miss the 2002 Sprint PCS Application Developer's Conference August 25-28 in Las Vegas -- http://devcon.sprintpcs.com/adp/index.cfm ___ courier-users mailing list [EMAIL PROTECTED] Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users
[courier-users] Re: IMAP over SSL
Phil Dibowitz writes: My logs give this error: May 29 16:41:18 hostname imapd-ssl: /usr/local/courier-imap/bin/couriertls: No such file or directory May 29 16:41:46 hostname imapd-ssl: /usr/local/courier-imap/bin/couriertls: No such file or directory Any ideas? This error message looks to be self-explanatory. -- Sam ___ Don't miss the 2002 Sprint PCS Application Developer's Conference August 25-28 in Las Vegas -- http://devcon.sprintpcs.com/adp/index.cfm ___ courier-users mailing list [EMAIL PROTECTED] Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users
[courier-users] Re: noob question
Rob Zimmerman writes: I created a test user lager, logged in the and started tests. I have dir $home/test $home/bounce When I run the perftest1 1000 using either user-test-1 or user-lager- 1 I get these errors in the log file: --- #more syslog May 29 17:21:57 lager courierd: [ID 702911 mail.info] newmsg,id=00211BD4.3CF54675.32C1 May 29 17:21:57 lager courierd: [ID 702911 mail.info] id=00211BD4.3CF54675.32C1,from=lager@l ager,addr=user-test-1@lager: 550 User unknown. Reread the instructions again. You misread something there. -- Sam ___ Don't miss the 2002 Sprint PCS Application Developer's Conference August 25-28 in Las Vegas -- http://devcon.sprintpcs.com/adp/index.cfm ___ courier-users mailing list [EMAIL PROTECTED] Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users
[courier-users] Re: Increased error logging verbosity?
Peter C. Norton writes: Yeah, that's why I only called it a hack. If I put bounds on it, would you put it into courier? Yes -- I don't see a problem with that. -- Sam ___ Don't miss the 2002 Sprint PCS Application Developer's Conference August 25-28 in Las Vegas -- http://devcon.sprintpcs.com/adp/index.cfm ___ courier-users mailing list [EMAIL PROTECTED] Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users
Re: [courier-users] Pine 4 and Folder collections
On Thu, 30 May 2002, Juha Saarinen wrote: I had enable-incoming-folders set, but tried to use Folder-collections instead. Doh... I meant, I didn't use Folder-collection incoming-folders... -- Juha Saarinen ___ Don't miss the 2002 Sprint PCS Application Developer's Conference August 25-28 in Las Vegas -- http://devcon.sprintpcs.com/adp/index.cfm ___ courier-users mailing list [EMAIL PROTECTED] Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users
[courier-users] No couriertls installed with Courier Imapd
Sorry for the second email... I have a little better understanding of the problem... I've installed courier-imapd 1.4.6 (on top of qmail and vpopmail). The problem is that ${courier-prefix}/bin/couriertls isn't getting installed. In fact it's not even getting compiled - it's no where in the courier-imapd build directory. As such, imapd-ssl starts, but whenever a connection is made to port 993, imapd complains that it can't find ${courier-prefix}/bin/couriertls Anyone know why it's not getting installed? It should be part of the courier-imapd distro. Sysinfo: Linux 2.4.18 (Debian, custom kernel) Courier Imapd 1.4.6 Openssl 0.9.6d Any help would be greatly appreciated. Thanks, Phil -- They that can give up essential liberty to obtain a little temporary safety deserve neither liberty nor safety. -Benjamin Franklin, 1759 ___ Don't miss the 2002 Sprint PCS Application Developer's Conference August 25-28 in Las Vegas -- http://devcon.sprintpcs.com/adp/index.cfm ___ courier-users mailing list [EMAIL PROTECTED] Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users
Re: [courier-users] Re: IMAP over SSL
Sam Varshavchik wrote: Phil Dibowitz writes: My logs give this error: May 29 16:41:18 hostname imapd-ssl: /usr/local/courier-imap/bin/couriertls: No such file or directory May 29 16:41:46 hostname imapd-ssl: /usr/local/courier-imap/bin/couriertls: No such file or directory Any ideas? This error message looks to be self-explanatory. You wanna tell me where one aquires couriertls? It's not getting compiled or installed ANYWHERE. Phil -- They that can give up essential liberty to obtain a little temporary safety deserve neither liberty nor safety. -Benjamin Franklin, 1759 ___ Don't miss the 2002 Sprint PCS Application Developer's Conference August 25-28 in Las Vegas -- http://devcon.sprintpcs.com/adp/index.cfm ___ courier-users mailing list [EMAIL PROTECTED] Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users
Re: [courier-users] Re: IMAP over SSL
On Wed, 29 May 2002, Phil Dibowitz wrote: You wanna tell me where one aquires couriertls? It's not getting compiled or installed ANYWHERE. You've got a problem with the installation then. # locate couriertls /usr/lib/courier-imap/bin/couriertls # rpm -q --whatprovides $(locate couriertls) courier-imap-1.4.5.20020509-1.7.2 -- Juha Saarinen ___ Don't miss the 2002 Sprint PCS Application Developer's Conference August 25-28 in Las Vegas -- http://devcon.sprintpcs.com/adp/index.cfm ___ courier-users mailing list [EMAIL PROTECTED] Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users
Re: [courier-users] Re: noob question
Doh cant belive i missed that, well yea i can, thnx. Now I get this (which ill work on): May 29 21:43:05 lager courierd: [ID 702911 mail.info] newmsg,id=00211BD5.3CF583A9.3CF4 May 29 21:43:05 lager courierd: [ID 702911 mail.info] started,id=00211BD5.3CF583A9.3CF4,from=l ager@lager,module=local,host=lager!test-1!1001!10!/.lager!!,addr=lager May 29 21:43:05 lager courierd: [ID 702911 mail.info] started,id=00211BD5.3CF583A9.3CF4,from=l ager@lager,module=local,host=lager!test-2!1001!10!/.lager!!,addr=lager May 29 21:43:05 lager courierd: [ID 702911 mail.info] started,id=00211BD5.3CF583A9.3CF4,from=l ager@lager,module=local,host=lager!test-3!1001!10!/.lager!!,addr=lager May 29 21:43:05 lager courierd: [ID 702911 mail.info] Waiting. shutdown time=none, wakeup time=non e, queuedelivering=1, inprogress=3 May 29 21:43:05 lager courierlocal: [ID 702911 mail.info] id=00211BD5.3CF583A9.3CF4,from=lager @lager,addr=lager-test-1@lager: maildir.open: No such file or directory But heres my Question, I now notice that once per hr this is in the log files, I don't have cron set for anything yet and wondering what this is: May 29 18:37:51 lager courierd: [ID 702911 mail.info] SHUTDOWN: respawnlo limit reached, system i nactive. May 29 18:37:51 lager courierd: [ID 702911 mail.info] Loading STATIC transport module libraries. May 29 18:37:51 lager courierd: [ID 702911 mail.info] Courier 0.38.1.20020521 Copyright 1999-2002 Double Precision, Inc. ---stuff sniped-- May 29 19:37:51 lager courierd: [ID 702911 mail.info] SHUTDOWN: respawnlo limit reached, system inactive. May 29 19:37:51 lager courierd: [ID 702911 mail.info] Loading STATIC transport module libraries. May 29 19:37:51 lager courierd: [ID 702911 mail.info] Courier 0.38.1.20020521 Copyright 1999-2002 Double Pre cision, Inc. ___ Don't miss the 2002 Sprint PCS Application Developer's Conference August 25-28 in Las Vegas -- http://devcon.sprintpcs.com/adp/index.cfm ___ courier-users mailing list [EMAIL PROTECTED] Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users
[courier-users] Re: No couriertls installed with Courier Imapd
Phil Dibowitz writes: Anyone know why it's not getting installed? It should be part of the courier-imapd distro. Sysinfo: Linux 2.4.18 (Debian, custom kernel) Courier Imapd 1.4.6 Openssl 0.9.6d This is probably just runtime SSL library. To build SSL support you need to install OpenSSL development libraries. -- Sam ___ Don't miss the 2002 Sprint PCS Application Developer's Conference August 25-28 in Las Vegas -- http://devcon.sprintpcs.com/adp/index.cfm ___ courier-users mailing list [EMAIL PROTECTED] Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users
[courier-users] Re: noob question
Rob Zimmerman writes: But heres my Question, I now notice that once per hr this is in the log files, I don't have cron set for anything yet and wondering what this is: May 29 18:37:51 lager courierd: [ID 702911 mail.info] SHUTDOWN: respawnlo limit reached, system i nactive. This is the server restarting itself when the system isn't doing anything else. -- Sam ___ Don't miss the 2002 Sprint PCS Application Developer's Conference August 25-28 in Las Vegas -- http://devcon.sprintpcs.com/adp/index.cfm ___ courier-users mailing list [EMAIL PROTECTED] Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users
[courier-users] postmaster notify: Who are you?:
hy all, sorry for my bad english, hope someon read it.. i use all packages from courier with mysql support. now i'm installing omail (webmail interface), all works fine, just sending email i got problems: May 30 04:56:55 mail sendmail[4187]: g4U2utt04187: SYSERR(UID502): Who are you?: No such file or directory May 30 04:57:03 mail sendmail[4187]: g4U2utt04187: Authentication-Warning: mail.swiss-media-group.com: Unknown UID 502 set sender to [EMAIL PROTECTED] using -f May 30 04:57:03 mail sendmail[4187]: g4U2utt04187: [EMAIL PROTECTED], size=298, class=0, nrcpts=1, msgid=[EMAIL PROTECTED], bodytype=8BITMIME, relay=Unknown UID 502@localhost May 30 04:57:03 mail sendmail[4187]: g4U2utt04187: g4U2utu04187: DSN: Who are you?: No such file or directory if i put the user_uid in the /etc/passwd files it works, but i do not want to use them, if it's possible. what you mean, it's the webmail script thats inject false, or it's a courier trouble ? mucht thanks for any ideas.. best regards mike.. ___ Don't miss the 2002 Sprint PCS Application Developer's Conference August 25-28 in Las Vegas -- http://devcon.sprintpcs.com/adp/index.cfm ___ courier-users mailing list [EMAIL PROTECTED] Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users
[courier-users] Re: postmaster notify: Who are you?:
Mike A. Sauvain writes: hy all, sorry for my bad english, hope someon read it.. i use all packages from courier with mysql support. now i'm installing omail (webmail interface), all works fine, just sending email i got problems: May 30 04:56:55 mail sendmail[4187]: g4U2utt04187: SYSERR(UID502): Who are you?: No such file or directory This log entry is not coming from Courier. -- Sam ___ Don't miss the 2002 Sprint PCS Application Developer's Conference August 25-28 in Las Vegas -- http://devcon.sprintpcs.com/adp/index.cfm ___ courier-users mailing list [EMAIL PROTECTED] Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users
Re: [courier-users] Re: IMAP over SSL
Juha Saarinen wrote: On Wed, 29 May 2002, Phil Dibowitz wrote: You wanna tell me where one aquires couriertls? It's not getting compiled or installed ANYWHERE. You've got a problem with the installation then. # locate couriertls /usr/lib/courier-imap/bin/couriertls # rpm -q --whatprovides $(locate couriertls) courier-imap-1.4.5.20020509-1.7.2 I built mine from source Sam, sorry I didn't remove your email from the headers in my last email... Phil -- They that can give up essential liberty to obtain a little temporary safety deserve neither liberty nor safety. -Benjamin Franklin, 1759 ___ Don't miss the 2002 Sprint PCS Application Developer's Conference August 25-28 in Las Vegas -- http://devcon.sprintpcs.com/adp/index.cfm ___ courier-users mailing list [EMAIL PROTECTED] Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users
Re: [courier-users] Re: No couriertls installed with Courier Imapd
Sam Varshavchik wrote: Phil Dibowitz writes: Anyone know why it's not getting installed? It should be part of the courier-imapd distro. Sysinfo: Linux 2.4.18 (Debian, custom kernel) Courier Imapd 1.4.6 Openssl 0.9.6d This is probably just runtime SSL library. To build SSL support you need to install OpenSSL development libraries. None of this is package. This is all from _source_. I have full OpenSSL libraries, includes and binaries. Yet couriertls is not getting built. In fact, maybe this helps: courier-imap-1.4.6/tcpd$ ls Makefile config.log libspipe.a tcpd.o Makefile.amconfig.status logger tcpdaccess.c Makefile.inconfigure logger.ctcpdaccess.o README.couriertls configure.in logger.otcpremoteinfo.c acconfig.h couriertcpdspipe.c tcpremoteinfo.h aclocal.m4 couriertcpd.1 spipe.h tcpremoteinfo.o argparse.c couriertcpd.html spipe.o tlsclient.c argparse.h couriertls.1 stamp-h tlsclient.h argparse.o couriertls.config stamp-h.in tlsclient.o config.h couriertls.htmlstarttls.c config.h.inlibcouriertls.atcpd.c As you can see, the coutiertcpd is getting built, and the couriertls man page is there, but couriertls is not getting built. A make in this directory does nothing (returns straight to another prompt) as expected since courier-imapd has been compiled and installed. Phil -- They that can give up essential liberty to obtain a little temporary safety deserve neither liberty nor safety. -Benjamin Franklin, 1759 ___ Don't miss the 2002 Sprint PCS Application Developer's Conference August 25-28 in Las Vegas -- http://devcon.sprintpcs.com/adp/index.cfm ___ courier-users mailing list [EMAIL PROTECTED] Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users
Re: [courier-users] Re: IMAP over SSL
Mike Horwath wrote: On Wed, May 29, 2002 at 05:49:58PM -0700, Phil Dibowitz wrote: You wanna tell me where one aquires couriertls? It's not getting compiled or installed ANYWHERE. What OS? Under Solaris I had some issues back in the older code with couriertls being built. Things are now fine with the current revisions. Linux. Kernel 2.4.18. Phil -- They that can give up essential liberty to obtain a little temporary safety deserve neither liberty nor safety. -Benjamin Franklin, 1759 ___ Don't miss the 2002 Sprint PCS Application Developer's Conference August 25-28 in Las Vegas -- http://devcon.sprintpcs.com/adp/index.cfm ___ courier-users mailing list [EMAIL PROTECTED] Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users
Re: [courier-users] Re: IMAP over SSL
On Wed, 29 May 2002, Phil Dibowitz wrote: I built mine from source So did I -- built RPM packages from the tarball. Which OS are you using? -- Juha Saarinen ___ Don't miss the 2002 Sprint PCS Application Developer's Conference August 25-28 in Las Vegas -- http://devcon.sprintpcs.com/adp/index.cfm ___ courier-users mailing list [EMAIL PROTECTED] Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users
[courier-users] Re: No couriertls installed with Courier Imapd
Phil Dibowitz writes: Yet couriertls is not getting built. In fact, maybe this helps: courier-imap-1.4.6/tcpd$ ls Makefile config.log libspipe.a tcpd.o Makefile.amconfig.status logger tcpdaccess.c Makefile.inconfigure logger.ctcpdaccess.o README.couriertls configure.in logger.otcpremoteinfo.c acconfig.h couriertcpdspipe.c tcpremoteinfo.h aclocal.m4 couriertcpd.1 spipe.h tcpremoteinfo.o argparse.c couriertcpd.html spipe.o tlsclient.c argparse.h couriertls.1 stamp-h tlsclient.h argparse.o couriertls.config stamp-h.in tlsclient.o config.h couriertls.htmlstarttls.c config.h.inlibcouriertls.atcpd.c As you can see, the coutiertcpd is getting built, and the couriertls man page is there, but couriertls is not getting built. A make in this directory does nothing (returns straight to another prompt) as expected since courier-imapd has been compiled and installed. See config.log. The SSL wrapper gets built only if OpenSSL libraries are detected by the configure script. Availability of OpenSSL libraries is determined by trying to compile a test program. The compilation failed and couriertls build was disabled. -- Sam ___ Don't miss the 2002 Sprint PCS Application Developer's Conference August 25-28 in Las Vegas -- http://devcon.sprintpcs.com/adp/index.cfm ___ courier-users mailing list [EMAIL PROTECTED] Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users
Re: [courier-users] Re: No couriertls installed with Courier Imapd
Sam Varshavchik wrote: As you can see, the coutiertcpd is getting built, and the couriertls man page is there, but couriertls is not getting built. A make in this directory does nothing (returns straight to another prompt) as expected since courier-imapd has been compiled and installed. See config.log. The SSL wrapper gets built only if OpenSSL libraries are detected by the configure script. Availability of OpenSSL libraries is determined by trying to compile a test program. The compilation failed and couriertls build was disabled. Sam, OK, some progress here. It had a proggy that wasn't compiling, so I looked in the Makefile and noticed '-lssl' so I changed that to '-lopenssl' Then I made the same change in Makefile.in, so it would last, then I went to the main root courier-imapd build dir, did a 'make clean', configure'd, make'd, make install'd, and make install-configure'd. Still didn't work, but now tcpd/config.log doesn't show any errors: This file contains any messages produced by compilers while running configure, to aid debugging if configure makes a mistake. configure:564: checking for a BSD compatible install configure:617: checking whether build environment is sane configure:674: checking whether make sets ${MAKE} configure:713: checking for working aclocal configure:726: checking for working autoconf configure:739: checking for working automake configure:752: checking for working autoheader configure:765: checking for working makeinfo configure:785: checking for gcc configure:898: checking whether the C compiler (gcc ) works configure:914: gcc -o conftestconftest.c 15 configure:940: checking whether the C compiler (gcc ) is a cross-compiler configure:945: checking whether we are using GNU C configure:973: checking whether gcc accepts -g configure:1016: checking for a BSD compatible install configure:1069: checking whether ln -s works configure:1092: checking for ranlib configure:1123: checking for sed configure:1165: checking for env configure:1223: checking for dlopen in -ldl configure:1300: checking for socket in -lsocket configure:1344: checking for socket in -lsocket configure:1389: checking for connect in -lsocket configure:1433: checking for connect in -lsocket configure:1495: gcc -o conftest -I./.. -I.. -Wall -g -O2 conftest.c 15 configure:1580: checking how to run the C preprocessor configure:1660: checking for ANSI C header files configure:1768: checking for dirent.h that defines DIR configure:1806: checking for opendir in -ldir configure:1892: checking for sys/types.h configure:1892: checking for sys/time.h configure:1892: checking for sys/stat.h configure:1892: checking for sys/wait.h configure:1892: checking for unistd.h configure:1892: checking for fcntl.h configure:1892: checking for sys/ioctl.h configure:1892: checking for syslog.h configure:1929: checking whether time.h and sys/time.h may both be included configure:1966: checking for pid_t configure:1999: checking for uid_t in sys/types.h configure:2033: checking return type of signal handlers configure:2078: checking for setpgrp configure:2078: checking for setpgid configure:2131: checking for setpgrp configure:2175: checking whether setpgrp takes no argument configure:2256: checking for socketpair configure:2315: checking for SVR3 stream pipes configure:2352: checking for SVR4 stream pipes configure:2459: checking for stream pipes configure:2463: checking for SSL_load_error_strings in -lssl Any ideas? Phil -- They that can give up essential liberty to obtain a little temporary safety deserve neither liberty nor safety. -Benjamin Franklin, 1759 ___ Don't miss the 2002 Sprint PCS Application Developer's Conference August 25-28 in Las Vegas -- http://devcon.sprintpcs.com/adp/index.cfm ___ courier-users mailing list [EMAIL PROTECTED] Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users
[courier-users] Re: No couriertls installed with Courier Imapd
Phil Dibowitz writes: Sam, OK, some progress here. It had a proggy that wasn't compiling, so I looked in the Makefile and noticed '-lssl' so I changed that to '-lopenssl' Then I made the same change in Makefile.in, so it would last, then I went to the main root courier-imapd build dir, did a 'make clean', configure'd, You also need to remove config.cache from the top level source directory. -- Sam ___ Don't miss the 2002 Sprint PCS Application Developer's Conference August 25-28 in Las Vegas -- http://devcon.sprintpcs.com/adp/index.cfm ___ courier-users mailing list [EMAIL PROTECTED] Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users
Re: [courier-users] Re: No couriertls installed with Courier Imapd
Sam Varshavchik wrote: Phil Dibowitz writes: Sam, OK, some progress here. It had a proggy that wasn't compiling, so I looked in the Makefile and noticed '-lssl' so I changed that to '-lopenssl' Then I made the same change in Makefile.in, so it would last, then I went to the main root courier-imapd build dir, did a 'make clean', configure'd, You also need to remove config.cache from the top level source directory. I did, I just forgot to say so, but thanks. Then I noticed that openssl installs in a bit of a wierd place (/usr/local/ssl/include/openssl)... so I symlinked that to /usr/include/openssl then I explicitly did: cd tcpd make couriertls and got an error about too many levels of symlinks. So I removed the symlinks and replaced the #include openssl/... lines with #include /usr/local/ssl/include/openssl/... and did make couriertls, and now I'm getting: gcc -DHAVE_CONFIG_H -I. -I. -I. -I./.. -I.. -Wall -g -O2 -c starttls.c In file included from starttls.c:51: /usr/local/ssl/include/openssl/ssl.h:116: openssl/comp.h: Too many levels of symbolic links /usr/local/ssl/include/openssl/ssl.h:119: openssl/bio.h: Too many levels of symbolic links /usr/local/ssl/include/openssl/ssl.h:122: openssl/x509.h: Too many levels of symbolic links /usr/local/ssl/include/openssl/ssl.h:124: openssl/safestack.h: Too many levels of symbolic links /usr/local/ssl/include/openssl/ssl.h:209: openssl/crypto.h: Too many levels of symbolic links /usr/local/ssl/include/openssl/ssl.h:210: openssl/lhash.h: Too many levels of symbolic links /usr/local/ssl/include/openssl/ssl.h:211: openssl/buffer.h: Too many levels of symbolic links /usr/local/ssl/include/openssl/ssl.h:212: openssl/bio.h: Too many levels of symbolic links /usr/local/ssl/include/openssl/ssl.h:213: openssl/pem.h: Too many levels of symbolic links /usr/local/ssl/include/openssl/ssl.h:214: openssl/x509.h: Too many levels of symbolic links /usr/local/ssl/include/openssl/ssl.h:739: openssl/ssl2.h: Too many levels of symbolic links /usr/local/ssl/include/openssl/ssl.h:740: openssl/ssl3.h: Too many levels of symbolic links /usr/local/ssl/include/openssl/ssl.h:741: openssl/tls1.h: Too many levels of symbolic links /usr/local/ssl/include/openssl/ssl.h:742: openssl/ssl23.h: Too many levels of symbolic links In file included from starttls.c:52: /usr/local/ssl/include/openssl/err.h:68: openssl/bio.h: Too many levels of symbolic links /usr/local/ssl/include/openssl/err.h:71: openssl/lhash.h: Too many levels of symbolic links make: *** [starttls.o] Error 1 Phil -- They that can give up essential liberty to obtain a little temporary safety deserve neither liberty nor safety. -Benjamin Franklin, 1759 ___ Don't miss the 2002 Sprint PCS Application Developer's Conference August 25-28 in Las Vegas -- http://devcon.sprintpcs.com/adp/index.cfm ___ courier-users mailing list [EMAIL PROTECTED] Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users
Re: [courier-users] Re: No couriertls installed with Courier Imapd
OK, I figured out this symbolic link problem, and fixed it... got past compiling the object file, but now this last little bit: gcc -I./.. -I.. -Wall -g -O2 -o couriertls starttls.o argparse.o libspipe.a ../rfc1035/librfc1035.a ../soxwrap/libsoxwrap.a `cat ../soxwrap/soxlibs.dep` -lssl -lcrypto /usr/bin/ld: cannot find -lssl collect2: ld returned 1 exit status make: *** [couriertls] Error 1 yey libssl.a is in /usr/local/ssl/lib/libssl.a I've tried adding that to my PATH, I've tried linking to it in /usr/lib and /usr/local/lib - but ld is never able to find it... Why not? I've tried both -lopenssl and -lssl. But since the file is libssl.a, obviously it needs to be -lssl... Phil -- They that can give up essential liberty to obtain a little temporary safety deserve neither liberty nor safety. -Benjamin Franklin, 1759 ___ Don't miss the 2002 Sprint PCS Application Developer's Conference August 25-28 in Las Vegas -- http://devcon.sprintpcs.com/adp/index.cfm ___ courier-users mailing list [EMAIL PROTECTED] Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users
Re: [courier-users] Re: No couriertls installed with Courier Imapd
Try adding it to LD_LIBRARY_PATH export LD_LIBRARY_PATH=/usr/local/openssl/libs : path to your openssl maybe that will make a diff. Cheers, Aly. ___ Don't miss the 2002 Sprint PCS Application Developer's Conference August 25-28 in Las Vegas -- http://devcon.sprintpcs.com/adp/index.cfm ___ courier-users mailing list [EMAIL PROTECTED] Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users
Re: [courier-users] Re: No couriertls installed with Courier Imapd
If you are using linux is you ld.so.conf updated ?? ___ Don't miss the 2002 Sprint PCS Application Developer's Conference August 25-28 in Las Vegas -- http://devcon.sprintpcs.com/adp/index.cfm ___ courier-users mailing list [EMAIL PROTECTED] Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users
Re: [courier-users] Re: No couriertls installed with Courier Imapd
Aly Dharshi wrote: Try adding it to LD_LIBRARY_PATH export LD_LIBRARY_PATH=/usr/local/openssl/libs : path to your openssl maybe that will make a diff. Doesn't that only apply to Solaris? I've never had to do that in Linux. But just for the hell of it, I tried it. No go. Thanks for trying though. Phil -- They that can give up essential liberty to obtain a little temporary safety deserve neither liberty nor safety. -Benjamin Franklin, 1759 ___ Don't miss the 2002 Sprint PCS Application Developer's Conference August 25-28 in Las Vegas -- http://devcon.sprintpcs.com/adp/index.cfm ___ courier-users mailing list [EMAIL PROTECTED] Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users
Re: [courier-users] Re: No couriertls installed with Courier Imapd
Doesn't that only apply to Solaris? I've never had to do that in Linux. I don't think so, there is also the $LD_RUN_PATH which you can set in Linux, this helped me when I was trying to compile something with LDAP and it wouldn't see my OpenLDAP libs and Kerberos libs, I used this to get it to work. I think that you should see if you can update your ld.so.conf and then run ldconfig -v and see what happens. Cheers, Aly. ___ Don't miss the 2002 Sprint PCS Application Developer's Conference August 25-28 in Las Vegas -- http://devcon.sprintpcs.com/adp/index.cfm ___ courier-users mailing list [EMAIL PROTECTED] Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users