Re: [Dbmail-dev] [SCM]Paul's DBMail tree branch, master, updated. ffcab07b2d790ea4acb72826b4c580743dd97db6
Hi Paul, Thank for the update. When will 2.3.6 be available at http://www.dbmail.org/download/2.3/? I'm working at adding dbmail to macports and it's much preferred to use http or ftp downloads. Thanks again for the macos support. //Brad On Feb 15, 2009, at 4:16 AM, Paul J Stevens wrote: This is an automated email from the git hooks/post-receive script. It was generated because a ref change was pushed to the repository containing the project Paul's DBMail tree. The branch, master has been updated via ffcab07b2d790ea4acb72826b4c580743dd97db6 (commit) via deee65b53ffae977de025e432ab648d7e1284725 (commit) via 471f74dc8a00be8be768a258ef293a4fe0eec4bf (commit) via 4148b057ffb53b8bdddeed645fe0189b869968ab (commit) from 334bc03748db5343288c50163036e70d2792cf8e (commit) Those revisions listed above that are new to this repository have not appeared on any other notification email; so we list those revisions in full, below. - Log - commit ffcab07b2d790ea4acb72826b4c580743dd97db6 Author: Paul J Stevens p...@nfg.nl Date: Fri Feb 13 15:38:27 2009 +0100 silence compiler warning commit deee65b53ffae977de025e432ab648d7e1284725 Author: Paul J Stevens p...@nfg.nl Date: Fri Feb 13 13:22:44 2009 +0100 libzdb-2.4 commit 471f74dc8a00be8be768a258ef293a4fe0eec4bf Author: Paul J Stevens p...@nfg.nl Date: Fri Feb 13 13:22:22 2009 +0100 bump version 2.3.6 commit 4148b057ffb53b8bdddeed645fe0189b869968ab Author: Paul J Stevens p...@nfg.nl Date: Fri Feb 13 13:22:08 2009 +0100 accomodate builds on macos --- Summary of changes: acinclude.m4 | 12 +++- configure.in |2 +- src/dbmail.h.in| 11 --- src/imapcommands.c |4 +++- 4 files changed, 23 insertions(+), 6 deletions(-) hooks/post-receive -- Paul's DBMail tree ___ Dbmail-dev mailing list Dbmail-dev@dbmail.org http://twister.fastxs.net/mailman/listinfo/dbmail-dev ___ Dbmail-dev mailing list Dbmail-dev@dbmail.org http://twister.fastxs.net/mailman/listinfo/dbmail-dev
Re: [Dbmail-dev] [SCM]Paul's DBMail tree branch, master, updated. ffcab07b2d790ea4acb72826b4c580743dd97db6
On Feb 15, 2009, at 10:57 AM, Paul J Stevens wrote: Bradley Giesbrecht wrote: Hi Paul, Thank for the update. When will 2.3.6 be available at http://www.dbmail.org/download/2.3/? Kind of depends. We're not there yet. I want the code to pass some important tests before I do that: - running load-tests without crashes (imaptest, testlmtp.py, etc). - appending and retrieving large messages (4MB) using thunderbird over cleartext *and* ssl/tls. The loadtests are still causing crashes under some circumstances, and downloading a large message over tls sometimes appears to hang. Also, there is a serious performance bug in the networking code that I'd like to fix, though that may have to wait for 2.3.7. I'm working at adding dbmail to macports and it's much preferred to use http or ftp downloads. Dude, you're out on a limb. 2.3.x is a unstable development series. I won't add it to debian until I reach 2.4.0 - that is, when I'm convinced it's ready for production systems. 2.3.6 != 2.4.0. So you better run your own acceptance tests before you add it to macports. I'm running a recent revision on one of our internal imap servers, and it's working almost perfectly. But ymmv. That said, I don't expect to do or accept any more non-trivial schema changes before 2.4.0. Also, featurewise I'm pretty much done. Stability, and performance tweaks are mostly all that's left on the table. And imap compliance of course. So I'm in bugsquash mode, but some more or less invasive changes may be required if some important bug so dictates. Thank you. I have it in my local port repository as dbmail-devel. I thought I would see if I could get it to build on osx and pass on to you things I learned along the way. I'm also working at adding dbmail 2.2.x to macports. dbmail 2.2.x is in my local repo as dbmail. I haven't run across dbmail 2.4.x. Thanks again for the macos support. Just let me know if there's anything else I can do to help you out there. I have added libzdb to my local macports repo and I think I have it building and installing properly but I can't convince dbmail 2.3 it's there and useable. I see the headers and libs in our macports prefix /opt/local but so far I haven't had success appending cppflags and having dbmail 2.3 configure find them. Or maybe they are not useable. I'm in the process of tracking this down. If you have some tests for libzdb to find if it indeed is doing it's thing that would be useful. Or env or flags I should use to get dbmail 2.3 configure to find includes and libs in /opt/local/include and /opt/local/lib that would be appreciated. I have tried adding -I and -L flags with paths to our include and lib dirs but it's not working. Actually, I don't think it's using openssl from /opt/local but rather from /usr. That's about where I'm at right now. I'm sure macs are a small install base for you but I work on my MacBook and use mostly osx or freebsd so this works for me. I'm building up sql backended bind9 with dlz, dovecot, postfix and such and committing them to macports when I have them worked out in an effort to give a little back:) I want to try the same with dbmail replacing dovecot. If I can produce a nice easy how to maybe osx could be a bigger dbmail install base. Thanks for your time and effort. //Brad ___ Dbmail-dev mailing list Dbmail-dev@dbmail.org http://twister.fastxs.net/mailman/listinfo/dbmail-dev
[Dbmail] Almost there but can't send to mysql from postfix
I have struggled with this install for a couple days off and on and need some help. 1. In my imap client I can check my dbmail mailbox, copy email to it, and read them. 2. postmap produces the following. # postmap -q [EMAIL PROTECTED] mysql:/sw/etc/postfix/virtual_aliases.cf [EMAIL PROTECTED] 3. Sending via telnet does this. # telnet 192.168.100.200 25 Trying 192.168.100.200... Connected to t-flower.dyndns.org. Escape character is '^]'. 220 cpgnode102.cpgstar.com ESMTP Postfix (2.2.8) HELO 192.168.100.200 250 cpgnode102.cpgstar.com MAIL FROM: [EMAIL PROTECTED] 250 Ok RCPT TO: [EMAIL PROTECTED] 250 Ok DATA 354 End data with CRLF.CRLF Test . 250 Ok: queued as 97FE2BC86CF 4. mail.log show this Feb 21 20:20:05 Pico postfix/master[5671]: reload configuration /sw/ etc/postfix Feb 21 20:20:21 Pico postfix/smtpd[7487]: connect from t- flower.dyndns.org[192.168.100.200] Feb 21 20:20:35 Pico postfix/smtpd[7487]: 97FE2BC86CF: client=t- flower.dyndns.org[192.168.100.200] Feb 21 20:20:45 Pico postfix/cleanup[7490]: 97FE2BC86CF: message- id=[EMAIL PROTECTED] Feb 21 20:20:45 Pico postfix/qmgr[7483]: 97FE2BC86CF: from=[EMAIL PROTECTED], size=369, nrcpt=1 (queue active) Feb 21 20:20:45 Pico postfix/error[7491]: 97FE2BC86CF: to=[EMAIL PROTECTED], relay=none, delay=13, status=bounced (User unknown in virtual alias table) Feb 21 20:20:45 Pico postfix/cleanup[7490]: 4C5ACBC86D1: message- id=[EMAIL PROTECTED] Feb 21 20:20:45 Pico postfix/qmgr[7483]: 4C5ACBC86D1: from=, size=2069, nrcpt=1 (queue active) Feb 21 20:20:45 Pico postfix/qmgr[7483]: 97FE2BC86CF: removed Feb 21 20:20:45 Pico postfix/error[7491]: 4C5ACBC86D1: to=[EMAIL PROTECTED], relay=none, delay=0, status=bounced (User unknown in virtual alias table) Feb 21 20:20:45 Pico postfix/qmgr[7483]: 4C5ACBC86D1: removed I'm sure someone would need more info which I will be happy to provide if anyone is inclined to help. Thank you. Bradley Giesbrecht
[Dbmail] Build on OSX 10.4.4
Hello, dbmail_latest_2.0_branch After running ./configure --with-mysql gmake fails with: /bin/sh ../libtool --tag=CC --mode=link gcc -fomit-frame-pointer -g - O2 -W -Wall -Wpointer-arith -Wstrict-prototypes -o libauthdbmail.la -rpath /usr/local/lib/dbmail authsql.lo -lcrypt -L/usr/local/mysql/ lib -lmysqlclient -lz -lm gcc -dynamiclib ${wl}-flat_namespace ${wl}-undefined ${wl}suppress - o .libs/libauthdbmail.0.0.0.dylib .libs/authsql.o -lcrypt -L/usr/ local/mysql/lib -lmysqlclient -lz -lm -install_name /usr/local/lib/ dbmail/libauthdbmail.0.dylib -Wl,-compatibility_version -Wl,1 -Wl,- current_version -Wl,1.0 /usr/bin/libtool: can't locate file for: -lcrypt /usr/bin/libtool: file: -lcrypt is not an object file (not allowed in a library) Changing auth/MakeFile to the following allows gmake to complete: #libauthdbmail_la_LIBADD = -lcrypt -L/usr/local/mysql/lib - lmysqlclient -lz -lm libauthdbmail_la_LIBADD = -L/usr/local/mysql/lib -lmysqlclient -lz -lm after which gmake install renders what appears to be a working dbmail, meaning I can start dbmail-pop3d and dbmail-imapd and login and check mail. I don't yet have postfix working with dbmail but I can copy emails to my imap folders. I have been struggling with the OSX postfix install but I think that's a matter of Apple not compiling postfix with mysql support but was wondering if my alterations could be contributing to my lack of postfix integration. I'm thinking not. I'm thinking if dbmail can communicate with mysql auth is good. Also, is there a way to pass something to configure to make it aware that the crypt functions are in unistd.h? I'm kinda over my head here so I'm basically repeating what others who were trying to help (apple) have said. One more thing, dbmail 2.1 doesn't seem to have the configure script nor the buildtools dir. Am I missing something? Thanks for any clues. /brad
Re: [Dbmail] Questions
Me too. -Brad On Jan 29, 2006, at 4:31 AM, zamri wrote: On 1/28/06, Curtis Maurand [EMAIL PROTECTED] wrote: The user_idnr is an auto-increment number. The database assigns that integer automatically. Then you use that number to create the rest of what you need. I had a perl script at one point to do this which would give you the queries that you needed. Most of them are pretty well documented though. As I recall there was a listing of the queries used somewhere. I just don't remember where. Curtis Jorge Bastos wrote: Hi, I'm going to develop a web interface to create user accounts, change password's etc etc. Yes. I need this. Is it completed? ___ Dbmail mailing list Dbmail@dbmail.org https://mailman.fastxs.nl/mailman/listinfo/dbmail
Re: [Dbmail] change password plugin for squirrelmail
On *nix try: # pear install DB If pear is not a recognized command or you are on win I can help. It's really pretty simple to setup and use. - Bradley On Dec 27, 2005, at 9:01 AM, zamri wrote: the SM mailling list pointed me to go for change_sqlpass plugin. Anyone succeed configuring one? I have pear DB problem : DB.php not found. On 12/28/05, Adam Kosmin [EMAIL PROTECTED] wrote:I don't use SM but do know that horde/Passwd allows for this (and more). Best, Adam zamri wrote: Hi all, Hi all, Is there any (official) plugin to change password for dbmail ? I found one written by Matthew O'Connor but apparently it was not listed on SM plugin page. http://mailman.fastxs.net/pipermail/dbmail/attachments/ 20040810/03d47c5f/change_dbmail_pass-0001.bin Furthermore, it is for postgreSQL only. How about MySQL? -- -- ___ Dbmail mailing list Dbmail@dbmail.org https://mailman.fastxs.nl/mailman/listinfo/dbmail -- Adam Kosmin GNU/Linux SA Visual Trading Systems, LLC Empire State Building 350 Fifth Avenue, Suite 6420 New York, NY 10118, USA Email[EMAIL PROTECTED] Phone 1 (212) 871-1747 ext. 340 ___ Dbmail mailing list Dbmail@dbmail.org https://mailman.fastxs.nl/mailman/listinfo/dbmail ___ Dbmail mailing list Dbmail@dbmail.org https://mailman.fastxs.nl/mailman/listinfo/dbmail
[Dbmail] Migratation to DBMail
Hello list, I have been following the list for a while now and I'm ready to take the plunge. I have an existing mail server running pop3, smtp, and imap. I have around 40 domains to transfer. The most users per domain would be around 70. I can get a dump of accounts and groups and build an sql import script without trouble, but I could use so help migrating the mailbox's to dbmail. The mail box format is not one you are probably familiar with (EIMS) so I would appreciate any tips, like using some command line mail client to clone the mailbox's to the dbmail by looping through a list of users subscribing to all mailbox's, and then storing them all locally in some format that could be imported into dbmail, or passed to postfix for delivery. I haven't done this before so I'm sure there are better approaches. Once this is done I want to migrate away from squirrelmail to something along the lines of what Erik is doing with SwiftMail. This functionality is why I found dbmail in the first place. I would also build the webmail interface with php but would like to do so in such a way that creating other front-ends would be trivial. I'm open to working with someone on this if there are already some projects going that have a roadmap compatible with my needs. This is off topic I'm sure but this community seems small and I don't know where else to probe. Also, could I drop the table that holds the user pass info and make that a view? I haven't seen or heard any reason this wouldn't work but I haven't been on the list all that long nor looked into dbmail in that kind of detail. Thanks, -Bradley Giesbrecht
Re: [Dbmail] swiftMail 0.6.0 Alpha Released for DBMail
On osx using firefox or safari I can't get past the initial setup screen where it asks for timezone, username, etc... -Bradley Giesbrecht On Dec 11, 2005, at 6:31 PM, Erik Kristensen wrote: Hello All, I have been writing this webmail application for several months now since I first discovered and started using dbmail. Here are the project details. It is free for download under the BSD License. Project: swiftMail Version: 0.6.0 Url: http://www.obfuscatedcode.com/swiftmail/trac Email: erik at obfuscatedcode dot com Download: http://www.obfuscatedcode.com/download.php?id=1 License: BSD License If you have any questions please shoot me an email, read the documentation in wiki format at the trac url provided above. If you find problems, or have feature requests please don't hesitate to make a ticket and/or email me. There is a INSTALL file included in the tarball. Setup is extremely easy. At this time I only have support for MySQL database, PostgreSQL is soon to follow, but I had to start somewhere. I appologize if this is the wrong forum to have posted this notice. I figured it would be alright since dbmail.org doesn't have a forum, only mailing lists. Regards. -Erik Kristensen ___ Dbmail mailing list Dbmail@dbmail.org https://mailman.fastxs.nl/mailman/listinfo/dbmail
[Dbmail] Compile on OSX 10.4
Hello, In order to get dbmail to compile on osx 10.4 I have to change crypt.h to unistd.h in configure at line 6053 for v2.1.3 and 6098 for v2.0.7. While running ./configure the check for crypt.h prints: checking crypt.h usability... no checking crypt.h presence... no checking for crypt.h... no I don't have a lot of experience with this type of thing but some research suggests that on unix systems the cyrpt functionality is in unistd.h and not crypt.h. Is this possibly different on linux? Is changing the reference in configure from crypt.h to unistd.h a good way to solve my compile problem? Thanks for any help, Brad
Re: [Dbmail] Compile on OSX 10.4
Paul, thanks for the reply. Since I'm new to compile trouble shooting I have a question that may be stupid. Isn't the crypt.h included in configure regardless of the result of the check? It doesn't seem to be wrapped in an if or for statement. It looks to me like it is always included. Here is the last bit of output. Not sure what you meant by bail so if this is not what you were looking for please give me a li creating libdbmail.la (cd .libs rm -f libdbmail.la ln -s ../libdbmail.la libdbmail.la) gcc -DHAVE_CONFIG_H -I. -I. -I. -I.-g -O2 -I/sw/include/glib-2.0 - I/sw/lib/glib-2.0/include -I/sw/include/glib-2.0 -I/sw/lib/glib-2.0/ include -I/opt/local/include/gmime-2.0 -W -Wall -Wpointer-arith - Wstrict-prototypes -c main.c /bin/sh ./libtool --mode=link gcc -g -O2 -I/sw/include/glib-2.0 -I/ sw/lib/glib-2.0/include -I/sw/include/glib-2.0 -I/sw/lib/glib-2.0/ include -I/opt/local/include/gmime-2.0 -W -Wall -Wpointer-arith - Wstrict-prototypes -L/sw/lib -lglib-2.0 -lintl -liconv -L/sw/lib -L/ opt/local/lib -lgmime-2.0 -lz -lgobject-2.0 -lglib-2.0 -lintl - liconv -o dbmail-smtp main.o libdbmail.la gcc -g -O2 -I/sw/include/glib-2.0 -I/sw/lib/glib-2.0/include -I/sw/ include/glib-2.0 -I/sw/lib/glib-2.0/include -I/opt/local/include/ gmime-2.0 -W -Wall -Wpointer-arith -Wstrict-prototypes -o .libs/ dbmail-smtp main.o -L/sw/lib -L/opt/local/lib ./.libs/libdbmail.a / Users/brad/Desktop/Sandbox/dbmail/dbmail-2.1.3.debug/mysql/.libs/ libsqldbmail.dylib -L/usr/local/mysql/lib -lcrypt -lmysqlclient -lm / opt/local/lib/libgmime-2.0.dylib /usr/lib/libiconv.dylib -lz /sw/lib/ libgobject-2.0.dylib /sw/lib/libglib-2.0.dylib /sw/lib/libintl.dylib / sw/lib/libiconv.dylib /usr/bin/ld: multiple definitions of symbol _query ./.libs/libdbmail.a(dbmail-message.o) definition of _query in section (__DATA,__common) ./.libs/libdbmail.a(db.o) definition of _query in section (__DATA,__common) /usr/bin/ld: can't locate file for: -lcrypt collect2: ld returned 1 exit status make[2]: *** [dbmail-smtp] Error 1 make[1]: *** [all-recursive] Error 1 make: *** [all-recursive-am] Error 2 /brad On Dec 11, 2005, at 1:27 AM, Paul J Stevens wrote: Bradley Giesbrecht wrote: Hello, In order to get dbmail to compile on osx 10.4 I have to change crypt.h to unistd.h in configure at line 6053 for v2.1.3 and 6098 for v2.0.7. While running ./configure the check for crypt.h prints: checking crypt.h usability... no checking crypt.h presence... no checking for crypt.h... no So is that fatal? I shouldn't be. It's exactly what I get on my netbsd system. I don't have a lot of experience with this type of thing but some research suggests that on unix systems the cyrpt functionality is in unistd.h and not crypt.h. Is this possibly different on linux? crypt.h is included only if and when available. Is changing the reference in configure from crypt.h to unistd.h a good way to solve my compile problem? No. Please show me more of the actual error/bailout. -- Paul Stevens mailto:[EMAIL PROTECTED] NET FACILITIES GROUP PGP: finger [EMAIL PROTECTED] The Netherlandshttp://www.nfg.nl ___ Dbmail mailing list Dbmail@dbmail.org https://mailman.fastxs.nl/mailman/listinfo/dbmail
Re: [Dbmail] Compile on OSX 10.4
Hi again, How do I pass in a mysql or pgsql path to the configure script? I've tried several things but it is always using the equivalent of which mysql_config to find headers and libs. Sorry I'm so green at this kinda thing. I do a fair amount of coding but I haven't had to do a lot of custom configure's. Also, I see dbmail has a contrib/startup-scripts dir. I have written osx startup scripts for a number of things like postgres, oracle, mysql, openas2, etc I would be happy to contribute an osx startup script if it might add value to dbmail. /brad On Dec 11, 2005, at 1:27 AM, Paul J Stevens wrote: Bradley Giesbrecht wrote: Hello, In order to get dbmail to compile on osx 10.4 I have to change crypt.h to unistd.h in configure at line 6053 for v2.1.3 and 6098 for v2.0.7. While running ./configure the check for crypt.h prints: checking crypt.h usability... no checking crypt.h presence... no checking for crypt.h... no So is that fatal? I shouldn't be. It's exactly what I get on my netbsd system. I don't have a lot of experience with this type of thing but some research suggests that on unix systems the cyrpt functionality is in unistd.h and not crypt.h. Is this possibly different on linux? crypt.h is included only if and when available. Is changing the reference in configure from crypt.h to unistd.h a good way to solve my compile problem? No. Please show me more of the actual error/bailout. -- Paul Stevens mailto:[EMAIL PROTECTED] NET FACILITIES GROUP PGP: finger [EMAIL PROTECTED] The Netherlandshttp://www.nfg.nl ___ Dbmail mailing list Dbmail@dbmail.org https://mailman.fastxs.nl/mailman/listinfo/dbmail
Re: [Dbmail] Compile on OSX 10.4
Here is a snip from a email conversation I'm having with Terry Lambert at apple. quote The most correct way is to get to the point that you can just run configure, and it kicks out the right Makefiles. You might be able to put in an Mac OS X/Darwin configuration data file that either it shouldn't try to use -lcrypt, or that the name of the library containing crypt is libc (-lc) or libSystem (-lSystem), and it can basically ignore it, like it does for libnsl (the System V nameserver library) or libtli (the System V Transport Layer Independence library - their version of sockets), etc.. close quote /brad On Dec 11, 2005, at 1:00 PM, Paul J Stevens wrote: Bradley Giesbrecht wrote: Paul, thanks for the reply. Since I'm new to compile trouble shooting I have a question that may be stupid. Isn't the crypt.h included in configure regardless of the result of the check? It doesn't seem to be wrapped in an if or for statement. It looks to me like it is always included. The check by configure is only that, a check. If crypt.h is missing or non-functional it is not included by any of the source code. Still, cryptographics as provided by the crypt.h is required, but as you concluded, provided by other files. No problem there. Here is the last bit of output. Not sure what you meant by bail so if this is not what you were looking for please give me a li /usr/bin/ld: can't locate file for: -lcrypt So that's what I was looking for. You don't have libcrypt on your system. And I haven't a clue how to fix that for osx. Just a quick check tells me that on netbsd it's provided by the i386-linux package meant for cross compiling. But since bsd is not my native platform I'm quite oblivious as to what provides native crypt.h-a-like services on bsd. However, libcrypt is not required by dbmail perse. It's requirement is generally determined by the sql backend driver like mysql or postgresql. mysql_config --libs on linux: -L/usr/lib -lmysqlclient -lz -lcrypt -lnsl -lm on netbsd: -Wl,-R/usr/pkg/lib/mysql -Wl,-R/usr/pkg/lib -L/usr/pkg/lib/mysql - lmysqlclient -lz -lcrypt -lm -lssl -lcrypto -- Paul Stevens mailto:[EMAIL PROTECTED] NET FACILITIES GROUP PGP: finger [EMAIL PROTECTED] The Netherlandshttp://www.nfg.nl ___ Dbmail mailing list Dbmail@dbmail.org https://mailman.fastxs.nl/mailman/listinfo/dbmail
Re: [Dbmail] Compile on OSX 10.4
Sorry for my last reply, I didn't really catch what you were saying. mysql_config does work for me but I have multiple instances of mysql running on different ports and sockets and I would like to point dbmail at the preferred mysqld instance. This isn't such a big deal because I can change my mysqld configuration to suit dbmail. I often run multiple versions of mysqld for compatibility testing and migration. /brad On Dec 11, 2005, at 1:06 PM, Paul J Stevens wrote: Brad, I get the impression you need to install some devel packages; esp for mysql. If mysql_config doesn't work for you, the mysql-development packages are missing or perhaps installed but in a weird location (??) Just guessing here. Bradley Giesbrecht wrote: Hi again, How do I pass in a mysql or pgsql path to the configure script? I've tried several things but it is always using the equivalent of which mysql_config to find headers and libs. Sorry I'm so green at this kinda thing. I do a fair amount of coding but I haven't had to do a lot of custom configure's. Also, I see dbmail has a contrib/startup-scripts dir. I have written osx startup scripts for a number of things like postgres, oracle, mysql, openas2, etc I would be happy to contribute an osx startup script if it might add value to dbmail. /brad On Dec 11, 2005, at 1:27 AM, Paul J Stevens wrote: Bradley Giesbrecht wrote: Hello, In order to get dbmail to compile on osx 10.4 I have to change crypt.h to unistd.h in configure at line 6053 for v2.1.3 and 6098 for v2.0.7. While running ./configure the check for crypt.h prints: checking crypt.h usability... no checking crypt.h presence... no checking for crypt.h... no So is that fatal? I shouldn't be. It's exactly what I get on my netbsd system. I don't have a lot of experience with this type of thing but some research suggests that on unix systems the cyrpt functionality is in unistd.h and not crypt.h. Is this possibly different on linux? crypt.h is included only if and when available. Is changing the reference in configure from crypt.h to unistd.h a good way to solve my compile problem? No. Please show me more of the actual error/bailout. -- Paul Stevens mailto:[EMAIL PROTECTED] NET FACILITIES GROUP PGP: finger [EMAIL PROTECTED] The Netherlandshttp://www.nfg.nl ___ Dbmail mailing list Dbmail@dbmail.org https://mailman.fastxs.nl/mailman/listinfo/dbmail ___ Dbmail mailing list Dbmail@dbmail.org https://mailman.fastxs.nl/mailman/listinfo/dbmail -- Paul Stevens mailto:[EMAIL PROTECTED] NET FACILITIES GROUP PGP: finger [EMAIL PROTECTED] The Netherlandshttp://www.nfg.nl ___ Dbmail mailing list Dbmail@dbmail.org https://mailman.fastxs.nl/mailman/listinfo/dbmail
Re: [Dbmail] Compile on OSX 10.4
I installed mysql 5.0 binary from mysql.com but it does have the header files in mysql/include and php5 compiles against it fine. So does dbmail if I remove replace the reference to crypt.h with something that exists on my system. And after compiling dbmail I can check the mysql mail store, read mail, and copy mail to my inbox. Bradley Giesbrecht Cell: (209) 535-8664 Email: [EMAIL PROTECTED] On Dec 11, 2005, at 1:06 PM, Paul J Stevens wrote: Brad, I get the impression you need to install some devel packages; esp for mysql. If mysql_config doesn't work for you, the mysql-development packages are missing or perhaps installed but in a weird location (??) Just guessing here. Bradley Giesbrecht wrote: Hi again, How do I pass in a mysql or pgsql path to the configure script? I've tried several things but it is always using the equivalent of which mysql_config to find headers and libs. Sorry I'm so green at this kinda thing. I do a fair amount of coding but I haven't had to do a lot of custom configure's. Also, I see dbmail has a contrib/startup-scripts dir. I have written osx startup scripts for a number of things like postgres, oracle, mysql, openas2, etc I would be happy to contribute an osx startup script if it might add value to dbmail. /brad On Dec 11, 2005, at 1:27 AM, Paul J Stevens wrote: Bradley Giesbrecht wrote: Hello, In order to get dbmail to compile on osx 10.4 I have to change crypt.h to unistd.h in configure at line 6053 for v2.1.3 and 6098 for v2.0.7. While running ./configure the check for crypt.h prints: checking crypt.h usability... no checking crypt.h presence... no checking for crypt.h... no So is that fatal? I shouldn't be. It's exactly what I get on my netbsd system. I don't have a lot of experience with this type of thing but some research suggests that on unix systems the cyrpt functionality is in unistd.h and not crypt.h. Is this possibly different on linux? crypt.h is included only if and when available. Is changing the reference in configure from crypt.h to unistd.h a good way to solve my compile problem? No. Please show me more of the actual error/bailout. -- Paul Stevens mailto:[EMAIL PROTECTED] NET FACILITIES GROUP PGP: finger [EMAIL PROTECTED] The Netherlandshttp://www.nfg.nl ___ Dbmail mailing list Dbmail@dbmail.org https://mailman.fastxs.nl/mailman/listinfo/dbmail ___ Dbmail mailing list Dbmail@dbmail.org https://mailman.fastxs.nl/mailman/listinfo/dbmail -- Paul Stevens mailto:[EMAIL PROTECTED] NET FACILITIES GROUP PGP: finger [EMAIL PROTECTED] The Netherlandshttp://www.nfg.nl ___ Dbmail mailing list Dbmail@dbmail.org https://mailman.fastxs.nl/mailman/listinfo/dbmail