<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: Building the mail server</title>
	<atom:link href="http://switch.richard5.net/isp-in-a-box-using-a-mac-mini/building-a-proper-mail-server/feed/" rel="self" type="application/rss+xml" />
	<link>http://switch.richard5.net</link>
	<description>How to build your Mac into a internet server using open source software</description>
	<lastBuildDate>Tue, 17 Jun 2008 18:25:42 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
	<item>
		<title>By: Stefan</title>
		<link>http://switch.richard5.net/isp-in-a-box-using-a-mac-mini/building-a-proper-mail-server/comment-page-1/#comment-2332</link>
		<dc:creator>Stefan</dc:creator>
		<pubDate>Thu, 10 Aug 2006 20:21:31 +0000</pubDate>
		<guid isPermaLink="false">http://switch.richard5.net/isp-in-a-box-using-a-mac-mini/building-a-proper-mail-server/#comment-2332</guid>
		<description>just FYI, successfully completed this page with cyrus-sasl-2.1.22, postfix-2.3.2, courier-authlib-0.58 and courier-imap-4.1.1. 10.4.7, Xcode 2.0. No issues, but will they all run without incident?!? More later on the ensuing pages...

FWIW I did everything on this page with sudo, so I submit that enabling root is optional.</description>
		<content:encoded><![CDATA[<p>just FYI, successfully completed this page with cyrus-sasl-2.1.22, postfix-2.3.2, courier-authlib-0.58 and courier-imap-4.1.1. 10.4.7, Xcode 2.0. No issues, but will they all run without incident?!? More later on the ensuing pages&#8230;</p>
<p>FWIW I did everything on this page with sudo, so I submit that enabling root is optional.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Stefan</title>
		<link>http://switch.richard5.net/isp-in-a-box-using-a-mac-mini/building-a-proper-mail-server/comment-page-1/#comment-2328</link>
		<dc:creator>Stefan</dc:creator>
		<pubDate>Thu, 10 Aug 2006 18:28:06 +0000</pubDate>
		<guid isPermaLink="false">http://switch.richard5.net/isp-in-a-box-using-a-mac-mini/building-a-proper-mail-server/#comment-2328</guid>
		<description>I note that cyrus-sasl-2.1.18 is no longer on CMU&#039;s site, although .19-22 seem to be. .19 indeed fails to build/link properly, but before I went down that path I just tried .22 and found that it seems to build and install fine (haven&#039;t finished so I can&#039;t test it yet!) [Tiger 10.4.7, Xcode 2.0).</description>
		<content:encoded><![CDATA[<p>I note that cyrus-sasl-2.1.18 is no longer on CMU&#8217;s site, although .19-22 seem to be. .19 indeed fails to build/link properly, but before I went down that path I just tried .22 and found that it seems to build and install fine (haven&#8217;t finished so I can&#8217;t test it yet!) [Tiger 10.4.7, Xcode 2.0).</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Johnnie Wilcox</title>
		<link>http://switch.richard5.net/isp-in-a-box-using-a-mac-mini/building-a-proper-mail-server/comment-page-1/#comment-1906</link>
		<dc:creator>Johnnie Wilcox</dc:creator>
		<pubDate>Wed, 26 Jul 2006 19:48:31 +0000</pubDate>
		<guid isPermaLink="false">http://switch.richard5.net/isp-in-a-box-using-a-mac-mini/building-a-proper-mail-server/#comment-1906</guid>
		<description>I\\\&#039;d like to use your instructions but I do not want to decouple authentication from OS X\\\&#039;s user database. That is, I\\\&#039;d like to set up Postfix with SASL and TLS support and NOT use MySQL as the user database.

Do you have the time and inclination to suggest how I might modify the above directions to achieve this?

Thanks for the instructions you\\\&#039;ve provided so far.

JW</description>
		<content:encoded><![CDATA[<p>I\\\&#8217;d like to use your instructions but I do not want to decouple authentication from OS X\\\&#8217;s user database. That is, I\\\&#8217;d like to set up Postfix with SASL and TLS support and NOT use MySQL as the user database.</p>
<p>Do you have the time and inclination to suggest how I might modify the above directions to achieve this?</p>
<p>Thanks for the instructions you\\\&#8217;ve provided so far.</p>
<p>JW</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Brent</title>
		<link>http://switch.richard5.net/isp-in-a-box-using-a-mac-mini/building-a-proper-mail-server/comment-page-1/#comment-256</link>
		<dc:creator>Brent</dc:creator>
		<pubDate>Thu, 06 Apr 2006 16:34:42 +0000</pubDate>
		<guid isPermaLink="false">http://switch.richard5.net/isp-in-a-box-using-a-mac-mini/building-a-proper-mail-server/#comment-256</guid>
		<description>Hi,

I&#039;ve gotten to the part where I&#039;m trying to run &quot;make install&quot; for Postfix.  It is failing at the following point:

cc -DUSE_TLS -DUSE_SASL_AUTH -I/usr/local/include/sasl
-DHAS_SSL -I/usr/include/openssl -DHAS_MYSQL
-I/sw/include/mysql
-DDEF_HTML_DIR=\&quot;/Library/WebServer/Documents/PostfixDocs\&quot;
-DBIND_8_COMPAT -DNO_NETINFO -DHAS_PCRE
-I/usr/local/include -g -O -I. -I../../include
-DMACOSX -o master master.o master_conf.o master_ent.o
master_sig.o master_avail.o master_spawn.o
master_service.o master_status.o master_listen.o
master_vars.o master_wakeup.o master_flow.o
../../lib/libglobal.a ../../lib/libutil.a -L/usr/lib
-lldap -L/usr/lib -llber -L/usr/local/lib -lssl
-lsasl2 -L/sw/lib/mysql -lmysqlclient -lz -lm
-L/usr/local/lib -lpcre -flat_namespace
ld: Undefined symbols:
_db_create
_db_version
make: *** [master] Error 1
make: *** [update] Error 1

Here is some additional information that might be useful:  
*  I&#039;m installing on an OSX 10.3.9 system.
*  I don&#039;t have a full MySql installation on the system that I&#039;m setting up as the mail server (MySql is running on a different server).  However, I do have the MySql libraries installed on the system I&#039;m working with.  That&#039;s why when I ran &#039;make&#039; for Postfix, I changed the path &#039;/Library/MySQL/include/mysql&#039; to &#039;/sw/include/mysql&#039; and &#039;/Library/MySQL/lib/mysql&#039; to &#039;/sw/lib/mysql&#039;.
*  I wasn&#039;t sure if this is the root of the problem or not, but my &#039;/sw/lib/mysql&#039; directory doesn&#039;t contain a file named &#039;lmysqlclient&#039;.  It does contain many similarly named files, such as &#039;libmysqlclient.dylib&#039;, &#039;libmysqlclient.a&#039;, and &#039;libmysqlclient.la&#039;, among others.

Can you help me overcome this problem?  If it comes to it, I could always install MySql on the system I&#039;m setting up as the mail server, but I&#039;d like to avoid that if possible.  The system in question is already acting as a web server, and some of the sites are already accessing the copy of MySql that is running on another one of our servers, and I was hoping to use that installation of MySql for the mail databases as well.

Thanks,
Brent

&lt;em&gt;
&lt;strong&gt;Richard5&lt;/strong&gt;: The issue was solved, the erorr was caused by having more than one old install of MySQL on the system which weren&#039;t expected.&lt;/em&gt;

</description>
		<content:encoded><![CDATA[<p>Hi,</p>
<p>I&#8217;ve gotten to the part where I&#8217;m trying to run &#8220;make install&#8221; for Postfix.  It is failing at the following point:</p>
<p>cc -DUSE_TLS -DUSE_SASL_AUTH -I/usr/local/include/sasl<br />
-DHAS_SSL -I/usr/include/openssl -DHAS_MYSQL<br />
-I/sw/include/mysql<br />
-DDEF_HTML_DIR=\&#8221;/Library/WebServer/Documents/PostfixDocs\&#8221;<br />
-DBIND_8_COMPAT -DNO_NETINFO -DHAS_PCRE<br />
-I/usr/local/include -g -O -I. -I../../include<br />
-DMACOSX -o master master.o master_conf.o master_ent.o<br />
master_sig.o master_avail.o master_spawn.o<br />
master_service.o master_status.o master_listen.o<br />
master_vars.o master_wakeup.o master_flow.o<br />
../../lib/libglobal.a ../../lib/libutil.a -L/usr/lib<br />
-lldap -L/usr/lib -llber -L/usr/local/lib -lssl<br />
-lsasl2 -L/sw/lib/mysql -lmysqlclient -lz -lm<br />
-L/usr/local/lib -lpcre -flat_namespace<br />
ld: Undefined symbols:<br />
_db_create<br />
_db_version<br />
make: *** [master] Error 1<br />
make: *** [update] Error 1</p>
<p>Here is some additional information that might be useful:<br />
*  I&#8217;m installing on an OSX 10.3.9 system.<br />
*  I don&#8217;t have a full MySql installation on the system that I&#8217;m setting up as the mail server (MySql is running on a different server).  However, I do have the MySql libraries installed on the system I&#8217;m working with.  That&#8217;s why when I ran &#8216;make&#8217; for Postfix, I changed the path &#8216;/Library/MySQL/include/mysql&#8217; to &#8216;/sw/include/mysql&#8217; and &#8216;/Library/MySQL/lib/mysql&#8217; to &#8216;/sw/lib/mysql&#8217;.<br />
*  I wasn&#8217;t sure if this is the root of the problem or not, but my &#8216;/sw/lib/mysql&#8217; directory doesn&#8217;t contain a file named &#8216;lmysqlclient&#8217;.  It does contain many similarly named files, such as &#8216;libmysqlclient.dylib&#8217;, &#8216;libmysqlclient.a&#8217;, and &#8216;libmysqlclient.la&#8217;, among others.</p>
<p>Can you help me overcome this problem?  If it comes to it, I could always install MySql on the system I&#8217;m setting up as the mail server, but I&#8217;d like to avoid that if possible.  The system in question is already acting as a web server, and some of the sites are already accessing the copy of MySql that is running on another one of our servers, and I was hoping to use that installation of MySql for the mail databases as well.</p>
<p>Thanks,<br />
Brent</p>
<p><em><br />
<strong>Richard5</strong>: The issue was solved, the erorr was caused by having more than one old install of MySQL on the system which weren&#8217;t expected.</em></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Scott Norman</title>
		<link>http://switch.richard5.net/isp-in-a-box-using-a-mac-mini/building-a-proper-mail-server/comment-page-1/#comment-185</link>
		<dc:creator>Scott Norman</dc:creator>
		<pubDate>Sun, 12 Mar 2006 12:05:26 +0000</pubDate>
		<guid isPermaLink="false">http://switch.richard5.net/isp-in-a-box-using-a-mac-mini/building-a-proper-mail-server/#comment-185</guid>
		<description>Mac Mini - OS X Server 10.3.9. I&#039;m getting the same error sa Chris and not sure what to do. Error: configure: error: --with-authmysql specified but no mysqlclient.so I used the command ./configure --with-authmysql --with-mysql-libs=/Library/MySQL/lib/mysql --with-mysql-includes=/Library/Mysql/include/mysql

&lt;em&gt;&lt;strong&gt;Richard5:&lt;/strong&gt; Scott had the same problem as Chris, he had multiple installations of MySQL on the same machine.&lt;/em&gt;</description>
		<content:encoded><![CDATA[<p>Mac Mini &#8211; OS X Server 10.3.9. I&#8217;m getting the same error sa Chris and not sure what to do. Error: configure: error: &#8211;with-authmysql specified but no mysqlclient.so I used the command ./configure &#8211;with-authmysql &#8211;with-mysql-libs=/Library/MySQL/lib/mysql &#8211;with-mysql-includes=/Library/Mysql/include/mysql</p>
<p><em><strong>Richard5:</strong> Scott had the same problem as Chris, he had multiple installations of MySQL on the same machine.</em></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Chris</title>
		<link>http://switch.richard5.net/isp-in-a-box-using-a-mac-mini/building-a-proper-mail-server/comment-page-1/#comment-98</link>
		<dc:creator>Chris</dc:creator>
		<pubDate>Thu, 16 Feb 2006 20:56:41 +0000</pubDate>
		<guid isPermaLink="false">http://switch.richard5.net/isp-in-a-box-using-a-mac-mini/building-a-proper-mail-server/#comment-98</guid>
		<description>Thank you for your efforts in this project. It is appreciated ... and needed.

I have installed everything up to the Courier-Auth without a single bit of trouble.
However, when configuring Courier-Auth with the following params:

./configure --with-authmysql --with-mysql-libs=/Library/MySQL/lib/mysql --with-mysql-includes=/Library/Mysql/include/mysql

I get the error of:

configure: error: --with-authmysql specified but no mysqlclient.so

I have searched my entire hard drive, and this file does not exist.  Was it part of a package that I should have already?
Thanks for your help.

OS X 10.4.4

&lt;em&gt;&lt;strong&gt;Richard5:&lt;/strong&gt; Chris had multiple installations of MySQL on the same machine. If you have the same problem you can use the command mysql_config to find out which paths are used for the library and the include files.&lt;/em&gt;</description>
		<content:encoded><![CDATA[<p>Thank you for your efforts in this project. It is appreciated &#8230; and needed.</p>
<p>I have installed everything up to the Courier-Auth without a single bit of trouble.<br />
However, when configuring Courier-Auth with the following params:</p>
<p>./configure &#8211;with-authmysql &#8211;with-mysql-libs=/Library/MySQL/lib/mysql &#8211;with-mysql-includes=/Library/Mysql/include/mysql</p>
<p>I get the error of:</p>
<p>configure: error: &#8211;with-authmysql specified but no mysqlclient.so</p>
<p>I have searched my entire hard drive, and this file does not exist.  Was it part of a package that I should have already?<br />
Thanks for your help.</p>
<p>OS X 10.4.4</p>
<p><em><strong>Richard5:</strong> Chris had multiple installations of MySQL on the same machine. If you have the same problem you can use the command mysql_config to find out which paths are used for the library and the include files.</em></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Markis</title>
		<link>http://switch.richard5.net/isp-in-a-box-using-a-mac-mini/building-a-proper-mail-server/comment-page-1/#comment-73</link>
		<dc:creator>Markis</dc:creator>
		<pubDate>Wed, 01 Feb 2006 21:17:53 +0000</pubDate>
		<guid isPermaLink="false">http://switch.richard5.net/isp-in-a-box-using-a-mac-mini/building-a-proper-mail-server/#comment-73</guid>
		<description>After command make as admin, I got the following in the last few lines:

/usr/local/courier-0.52.2/install-sh -d /usr/local/var/tmp
test -w /etc &#124;&#124; exit 0; chown bin /usr/local/var/webmail-logincache
chown: bin: Invalid argument
make[4]: *** [cache-reminder] Error 1
make[3]: *** [install-am] Error 2
make[2]: *** [install-recursive] Error 1
make[1]: *** [install] Error 2
make: *** [install-recursive] Error 1

OS X 10.4.4 PowerMac G4

&lt;em&gt;&lt;strong&gt;Richard5:&lt;/strong&gt; The problem is solved, Markis tried to compile the complete Courier-MTA distribution instead of just compiling the IMAP server.&lt;/em&gt;</description>
		<content:encoded><![CDATA[<p>After command make as admin, I got the following in the last few lines:</p>
<p>/usr/local/courier-0.52.2/install-sh -d /usr/local/var/tmp<br />
test -w /etc || exit 0; chown bin /usr/local/var/webmail-logincache<br />
chown: bin: Invalid argument<br />
make[4]: *** [cache-reminder] Error 1<br />
make[3]: *** [install-am] Error 2<br />
make[2]: *** [install-recursive] Error 1<br />
make[1]: *** [install] Error 2<br />
make: *** [install-recursive] Error 1</p>
<p>OS X 10.4.4 PowerMac G4</p>
<p><em><strong>Richard5:</strong> The problem is solved, Markis tried to compile the complete Courier-MTA distribution instead of just compiling the IMAP server.</em></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Geva</title>
		<link>http://switch.richard5.net/isp-in-a-box-using-a-mac-mini/building-a-proper-mail-server/comment-page-1/#comment-48</link>
		<dc:creator>Geva</dc:creator>
		<pubDate>Sat, 21 Jan 2006 03:33:45 +0000</pubDate>
		<guid isPermaLink="false">http://switch.richard5.net/isp-in-a-box-using-a-mac-mini/building-a-proper-mail-server/#comment-48</guid>
		<description>Using the most recent version of the courier-auth code on OS X 10.4.4, authentication broke until I explicity specified &#039;--with-authmysql&#039; to configure. I&#039;d recommend that others use the following configure command to be on the safe side:

&lt;code&gt;
./configure --with-authmysql --with-mysql-libs=/Library/MySQL/lib/mysql --with-mysql-includes=/Library/Mysql/include/mysql
&lt;/code&gt;

(replacing the --with-mysql-* paths with the paths to your mysql install)</description>
		<content:encoded><![CDATA[<p>Using the most recent version of the courier-auth code on OS X 10.4.4, authentication broke until I explicity specified &#8216;&#8211;with-authmysql&#8217; to configure. I&#8217;d recommend that others use the following configure command to be on the safe side:</p>
<p><code><br />
./configure --with-authmysql --with-mysql-libs=/Library/MySQL/lib/mysql --with-mysql-includes=/Library/Mysql/include/mysql<br />
</code></p>
<p>(replacing the &#8211;with-mysql-* paths with the paths to your mysql install)</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: lincoln</title>
		<link>http://switch.richard5.net/isp-in-a-box-using-a-mac-mini/building-a-proper-mail-server/comment-page-1/#comment-37</link>
		<dc:creator>lincoln</dc:creator>
		<pubDate>Tue, 27 Dec 2005 01:09:27 +0000</pubDate>
		<guid isPermaLink="false">http://switch.richard5.net/isp-in-a-box-using-a-mac-mini/building-a-proper-mail-server/#comment-37</guid>
		<description>Hello, I am having problems compiling postfix, when I sudo make install I get :

/usr/bin/ld: truncated or malformed archive: /usr/local/mysql/lib/libmysqlclient.a (ranlib structures in table of contents extends past the end of the table of contents, can&#039;t load from it)
collect2: ld returned 1 exit status
make: *** [master] Error 1
make: *** [update] Error 1

its is the same if I follow your directions of if i just try to build postfis with only mysql. =&gt; http://discussions.apple.com/thread.jspa?messageID=658158&amp;#658158

my hardware is an xserve running 10.4.2 mysql is from mysql.com v5.0.16 all other pacatges are the sorces you have listed. I have tried using the factory supplied mysql as well with the same result. 

any ideas?

&lt;em&gt;&lt;strong&gt;Richard5&lt;/strong&gt;: It is solved, the problem was related to using the corrrect path to the MySQL include files and libraries.&lt;/em&gt;</description>
		<content:encoded><![CDATA[<p>Hello, I am having problems compiling postfix, when I sudo make install I get :</p>
<p>/usr/bin/ld: truncated or malformed archive: /usr/local/mysql/lib/libmysqlclient.a (ranlib structures in table of contents extends past the end of the table of contents, can&#8217;t load from it)<br />
collect2: ld returned 1 exit status<br />
make: *** [master] Error 1<br />
make: *** [update] Error 1</p>
<p>its is the same if I follow your directions of if i just try to build postfis with only mysql. =&gt; <a href="http://discussions.apple.com/thread.jspa?messageID=658158&#038;#658158" rel="nofollow">http://discussions.apple.com/thread.jspa?messageID=658158&#038;#658158</a></p>
<p>my hardware is an xserve running 10.4.2 mysql is from mysql.com v5.0.16 all other pacatges are the sorces you have listed. I have tried using the factory supplied mysql as well with the same result. </p>
<p>any ideas?</p>
<p><em><strong>Richard5</strong>: It is solved, the problem was related to using the corrrect path to the MySQL include files and libraries.</em></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jeff Stubbs</title>
		<link>http://switch.richard5.net/isp-in-a-box-using-a-mac-mini/building-a-proper-mail-server/comment-page-1/#comment-31</link>
		<dc:creator>Jeff Stubbs</dc:creator>
		<pubDate>Sun, 18 Dec 2005 02:42:02 +0000</pubDate>
		<guid isPermaLink="false">http://switch.richard5.net/isp-in-a-box-using-a-mac-mini/building-a-proper-mail-server/#comment-31</guid>
		<description>Ignore that last question. Hands are quicker than the eye.</description>
		<content:encoded><![CDATA[<p>Ignore that last question. Hands are quicker than the eye.</p>
]]></content:encoded>
	</item>
</channel>
</rss>

