Comments on: The end result http://switch.richard5.net How to build your Mac into a internet server using open source software Tue, 17 Jun 2008 18:25:42 +0000 hourly 1 http://wordpress.org/?v=3.2.1 By: Carlton http://switch.richard5.net/isp-in-a-box-using-a-mac-mini/the-end-result/comment-page-1/#comment-32802 Carlton Thu, 12 Jul 2007 08:31:35 +0000 http://switch.richard5.net/isp-in-a-box-using-a-mac-mini/the-end-result/#comment-32802 Hi there. This guide is really great thanks! I'm fully installed, configured and working. I can send and receive mails using TLS no problem. On the way I've had every error listed here and have slowly managed to handle them all. Just one problem: I get get rid of the mysql plugin couldnt connect to any host\n error when sending e-mails. The emails do go. And smptd is authenticating because I've tried it every other way (no password, wrong username, wrong password etc.) and then it fails. The username and password are only stored in the MySQL database and so smptd must be connecting to that, via authdaemond. Typing the error message into google, you get two types of response. One is a bit of source code for the Sasl MySQL plug-in, which suggests that Sasl is, somehow, still trying to use AUXPROP as its pwcheck_method (despite us telling it not to). The other is to discussions you have been involved in suggesting that the problem is to do with incorrect myhostname, mydomain, and virtual domain settings. I've followed every bit of advice here and have tried every combination, and still I'm getting the error. I'm confused and am probably missing something obvious. Any understanding you have here would really help. (Thanks again.) Hi there. This guide is really great thanks!

I’m fully installed, configured and working. I can send and receive mails using TLS no problem. On the way I’ve had every error listed here and have slowly managed to handle them all.

Just one problem: I get get rid of the

mysql plugin couldnt connect to any host\n

error when sending e-mails.

The emails do go. And smptd is authenticating because I’ve tried it every other way (no password, wrong username, wrong password etc.) and then it fails. The username and password are only stored in the MySQL database and so smptd must be connecting to that, via authdaemond.

Typing the error message into google, you get two types of response. One is a bit of source code for the Sasl MySQL plug-in, which suggests that Sasl is, somehow, still trying to use AUXPROP as its pwcheck_method (despite us telling it not to).

The other is to discussions you have been involved in suggesting that the problem is to do with incorrect myhostname, mydomain, and virtual domain settings. I’ve followed every bit of advice here and have tried every combination, and still I’m getting the error. I’m confused and am probably missing something obvious. Any understanding you have here would really help.

(Thanks again.)

]]>
By: daniel http://switch.richard5.net/isp-in-a-box-using-a-mac-mini/the-end-result/comment-page-1/#comment-488 daniel Fri, 05 May 2006 20:55:43 +0000 http://switch.richard5.net/isp-in-a-box-using-a-mac-mini/the-end-result/#comment-488 With this documentation you have realy done a geat work. Thanks a lot. Unfortunately I still have a problem. I can send mails but I can not receive them. In the system.log I find often this message: May 5 22:37:54 imac postfix/smtpd[417]: mysql plugin couldnt connect to any host\n Do you hav any suggestions what this mean? The authentication produces a logoutput where some strings and I'm not sure if this is correct. authdaemond: Authenticated: sysusername=, sysuserid=27, sysgroupid=27, homedir=/usr/local/virtual, address=dani@tuquoc.org, fullname=Daniel Fasel, maildir=, quota=, options= And finally I have this servtab file problem which was already mentioned in reply. Thanks, Dani <em><strong>Richard5:</strong> Just mist some configuration details, problem solved.</em> With this documentation you have realy done a geat work. Thanks a lot.

Unfortunately I still have a problem. I can send mails but I can not receive them. In the system.log I find often this message: May 5 22:37:54 imac postfix/smtpd[417]: mysql plugin couldnt connect to any host\n
Do you hav any suggestions what this mean?
The authentication produces a logoutput where some strings and I’m not sure if this is correct.
authdaemond: Authenticated: sysusername=, sysuserid=27, sysgroupid=27, homedir=/usr/local/virtual, address=dani@tuquoc.org, fullname=Daniel Fasel, maildir=, quota=, options=
And finally I have this servtab file problem which was already mentioned in reply.

Thanks,
Dani

Richard5: Just mist some configuration details, problem solved.

]]>
By: TJ Snider http://switch.richard5.net/isp-in-a-box-using-a-mac-mini/the-end-result/comment-page-1/#comment-465 TJ Snider Tue, 02 May 2006 18:40:07 +0000 http://switch.richard5.net/isp-in-a-box-using-a-mac-mini/the-end-result/#comment-465 Thanks muchly for the howto, I've gotten this working as is with virtual domains. I also still need to get access to the underlying original domain on which this is hosted... ie. a non-virtual domain. I've tried adding in the PAM module and am able to use authtest to find and verify the account, but IMAP doesn't want to allow it. I've also tried the "DEFDOMAIN=mydomain.com" and that didn't work. Can you provide any pointers or suggestions? I've looked through the original docs, and must be missing something. Thanks, TJ <em><strong>Richard5:</strong> TJ just make your underlying domain another virtual domain. You can't mix local mail with the IMAP virtual mail.</em> Thanks muchly for the howto, I’ve gotten this working as is with virtual domains.

I also still need to get access to the underlying original domain on which this is hosted… ie. a non-virtual domain. I’ve tried adding in the PAM module and am able to use authtest to find and verify the account, but IMAP doesn’t want to allow it. I’ve also tried the “DEFDOMAIN=mydomain.com” and that didn’t work. Can you provide any pointers or suggestions?

I’ve looked through the original docs, and must be missing something.

Thanks,
TJ

Richard5: TJ just make your underlying domain another virtual domain. You can’t mix local mail with the IMAP virtual mail.

]]>
By: Todd Wheeler http://switch.richard5.net/isp-in-a-box-using-a-mac-mini/the-end-result/comment-page-1/#comment-122 Todd Wheeler Mon, 27 Feb 2006 18:30:34 +0000 http://switch.richard5.net/isp-in-a-box-using-a-mac-mini/the-end-result/#comment-122 Dare I ask,... although I've yet to set up my own server from scratch (currently running Tenon's iTools), I was wondering if you had any success setting up virtual hosts on your mac-mini server. I have googled and found different techniques, and I won't call them *hacks*, I see wildly different approaches. I don't mind doing it all via teminal,... I just haven't seen a source that does virtual hosts clearly or clean. Thanks, Todd <em><strong>Richard5:</strong> Todd has been helped, I'm going to write a simple document on how to do this yourself.</em> Dare I ask,… although I’ve yet to set up my own server from scratch (currently running Tenon’s iTools), I was wondering if you had any success setting up virtual hosts on your mac-mini server.

I have googled and found different techniques, and I won’t call them *hacks*, I see wildly different approaches. I don’t mind doing it all via teminal,… I just haven’t seen a source that does virtual hosts clearly or clean.

Thanks,
Todd

Richard5: Todd has been helped, I’m going to write a simple document on how to do this yourself.

]]>
By: david http://switch.richard5.net/isp-in-a-box-using-a-mac-mini/the-end-result/comment-page-1/#comment-81 david Mon, 06 Feb 2006 21:29:18 +0000 http://switch.richard5.net/isp-in-a-box-using-a-mac-mini/the-end-result/#comment-81 Richard, Thanks very much for putting this out for the rest of us! I've configured everything through postfixadmin, and it seems to work, except my first trial virtual account does not receive mail sent to it, and I cannot send mail. The mail log says, e.g.: Feb 6 13:22:45 MyDomain postfix/master[26085]: fatal: unable to set session and process group ID: Operation not permitted Any clues? Thanks again! David <em><strong>Richard5:</strong> There were several issues with this error, one or two forgottten steps but it went mostly wrong because there was aother configuration active as well. David is currently re-installing OS-X to start from a clean setup.</em> Richard,
Thanks very much for putting this out for the rest of us! I’ve configured everything through postfixadmin, and it seems to work, except my first trial virtual account does not receive mail sent to it, and I cannot send mail. The mail log says, e.g.:

Feb 6 13:22:45 MyDomain postfix/master[26085]: fatal: unable to set session and process group ID: Operation not permitted

Any clues?
Thanks again!
David

Richard5: There were several issues with this error, one or two forgottten steps but it went mostly wrong because there was aother configuration active as well. David is currently re-installing OS-X to start from a clean setup.

]]>
By: Ben http://switch.richard5.net/isp-in-a-box-using-a-mac-mini/the-end-result/comment-page-1/#comment-72 Ben Wed, 01 Feb 2006 20:24:09 +0000 http://switch.richard5.net/isp-in-a-box-using-a-mac-mini/the-end-result/#comment-72 Hi, I am really interested in your setup and I am considering following your lead to setup a server using the Mac mini. I am just wondering have you encountered any problems running the mini 24/7 ? Such as the unit heating up etc? I have also read an article (http://www.macintouch.com/macmini05.html) that mentions concerns about hard disk life. I am just wondering have you had any problems relating to that or if you have done any research about that? Kind regards, Ben Hi,

I am really interested in your setup and I am considering following your lead to setup a server using the Mac mini.

I am just wondering have you encountered any problems running the mini 24/7 ? Such as the unit heating up etc?

I have also read an article (http://www.macintouch.com/macmini05.html) that mentions concerns about hard disk life. I am just wondering have you had any problems relating to that or if you have done any research about that?

Kind regards,
Ben

]]>
By: macmax http://switch.richard5.net/isp-in-a-box-using-a-mac-mini/the-end-result/comment-page-1/#comment-69 macmax Tue, 31 Jan 2006 07:57:08 +0000 http://switch.richard5.net/isp-in-a-box-using-a-mac-mini/the-end-result/#comment-69 You have done great work ! But I have a problem. I have this messagge in log mail : imapd: authentication error: No such file or directory and imapd: error: No such file or directory imapd: pippo@pallino.it: chdir(/user/local/virtual) failed!! Why ?? Thanks. Max <em><strong>Richard5:</strong> The problem is solved, Max made a typo, he entered /user/local/virtual instead of the /usr/local/virtual as described in the documentation.</em> You have done great work !
But I have a problem.
I have this messagge in log mail :
imapd: authentication error: No such file or directory
and
imapd: error: No such file or directory
imapd: pippo@pallino.it: chdir(/user/local/virtual) failed!!

Why ??
Thanks.
Max

Richard5: The problem is solved, Max made a typo, he entered /user/local/virtual instead of the /usr/local/virtual as described in the documentation.

]]>