Re: Faking a .mac server for Mac Backup
Hi - Wayne Pascoe wrote: Hi all, I'm trying to fake a mac server for Backup on my Mac. I'm using FreeBSD with Apache 2.0.43 and SSL. I've got an SSL server working on port 443 with a self signed certificate. Connecting to this box with a browser, all looks ok both with http:// and https:// Using Internet Preferences on the mac to setup a username and password for my iDisk fails. I've checked the log file on the FreeBSD server, and as it fails I'm getting the following message: [Wed Jan 08 13:07:08 2003] [error] SSL handshake failed (server www.mac.com:443, client 213.52.146.197) [Wed Jan 08 13:07:08 2003] [error] SSL Library Error: 336151528 error:140943E8:lib(20):func(148):reason(1000) Any idea what could be causing this and how I could fix it ? thanks in advance, Is the server that you're trying to emulate the iServices on known as www.mac.com to your mac? i.e; instead of the real Apple server? I'm thinking (out loud) that you may need to spoof your Mac into thinking your BSD box is Apple's server to be able to get your mac to connect properly. I believe that there's been some discussion of this at http://www.macosxhints.com as well. Brian -- [EMAIL PROTECTED] To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: Here are the logs...Re: qmail toaster wont deliver to v mailboxes
On Monday, December 30, 2002, at 09:52 PM, Keith Spencer wrote: Typical whinges to log when trying to deliver to a shell account user...At least it thinks the account exists! Dec 31 00:00:00 smmcroute newsyslog[34616]: logfile turned over Dec 31 00:00:03 smmcroute mail: 1041256803.908619 starting delivery 17893: msg 290936 to local [EMAIL PROTECTED] Dec 31 00:00:03 smmcroute mail: 1041256803.909261 status: local 1/10 remote 1/255 Dec 31 00:00:03 smmcroute mail: 1041256803.910348 starting delivery 17894: msg 289996 to local [EMAIL PROTECTED] Dec 31 00:00:03 smmcroute mail: 1041256803.911272 status: local 2/10 remote 1/255 Dec 31 00:00:03 smmcroute mail: 1041256803.920062 delivery 17893: deferral: Unable_to_chdir_to_maildir._(#4.2.1)/ Dec 31 00:00:03 smmcroute mail: 1041256803.920384 status: local 1/10 remote 1/255 Dec 31 00:00:03 smmcroute mail: 1041256803.920474 delivery 17894: deferral: Unable_to_chdir_to_maildir._(#4.2.1)/ Dec 31 00:00:03 smmcroute mail: 1041256803.920549 status: local 0/10 remote 1/255 Dec 31 00:00:05 smmcroute mail: 1041256805.928609 starting delivery 17895: msg 290849 to local [EMAIL PROTECTED] Dec 31 00:00:05 smmcroute mail: 1041256805.929225 status: local 1/10 remote 1/255 Dec 31 00:00:05 smmcroute mail: 1041256805.934214 delivery 17895: deferral: Unable_to_chdir_to_maildir._(#4.2.1)/ Dec 31 00:00:05 smmcroute mail: 1041256805.934480 status: local 0/10 remote 1/255 Dec 31 00:00:10 smmcroute mail: 1041256810.059273 delivery 17886: deferral: Sorry,_I_wasn't_able_to_establish_an_SMTP_connection._(#4.4.1)/ OR .when sending to a virtual user as created by qmailadmin/vpopmail system (and yes I checked the Maildir has been created in /usr/local/vpopmail/domains/smmc.qld.edu.au/cs Dec 31 12:23:28 smmcroute mail: 1041301408.535012 new msg 290797 Dec 31 12:23:28 smmcroute mail: 1041301408.535628 info msg 290797: bytes 702 from [EMAIL PROTECTED] qp 49475 uid 89 Dec 31 12:23:28 smmcroute mail: 1041301408.541201 starting delivery 22514: msg 292224 to local [EMAIL PROTECTED] Dec 31 12:23:28 smmcroute mail: 1041301408.543116 status: local 2/10 remote 0/255 Dec 31 12:23:28 smmcroute mail: 1041301408.544101 delivery 22513: deferral: Unable_to_chdir_to_maildir._(#4.2.1)/ Dec 31 12:23:28 smmcroute mail: 1041301408.545985 status: local 1/10 remote 0/255 Dec 31 12:23:28 smmcroute mail: 1041301408.549619 starting delivery 22515: msg 290797 to local [EMAIL PROTECTED] Dec 31 12:23:28 smmcroute mail: 1041301408.552142 status: local 2/10 remote 0/255 Dec 31 12:23:28 smmcroute mail: 1041301408.553299 delivery 22515: failure: Sorry,_no_mailbox_here_by_that_name._(#5.1.1)/ Dec 31 12:23:28 smmcroute mail: 1041301408.554145 status: local 1/10 remote 0/255 Dec 31 12:23:28 smmcroute mail: 1041301408.557766 bounce msg 290797 qp 49484 Dec 31 12:23:28 smmcroute mail: 1041301408.558188 end msg 290797 Hm! Hi Keith - Probably should keep the same thread going - I almost missed your reply on this - plus people use the archives to help solve issues :) I still think it's a permissions issue, but we can check a few other things as well. What's the output of this command? $ps -aux | grep -i 'qmail-lspawn' On my system, this is what I get: nostromo:[~] ps -aux | grep -i 'qmail-lspawn' root 164 0.0 0.2 892 196 con- I 6Dec02 0:01.20 qmail-lspawn ./Maildir/ Notice the preceding . and the trailing / on the Maildir - do you see the same thing? If not, check your rc file in /var/qmail - it should have your delivery method (or, if your directions call for it, it may be in a file called defaultdelivery in the /var/qmail/controls directory). I know that Matt has made the install simple by making allot of perl scripts - so check in both places. It's common to miss the last / or the . in the command. Brian -- Brian Jackson [EMAIL PROTECTED] To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: qmail toaster wont deliver to v mailboxes
On Thursday, December 26, 2002, at 06:01 PM, Keith Spencer wrote: What does your /var/log/qmail/current file say? $tail -f /var/log/qmail/current | tai64nlocal Brian...I dont have such a /var/log/qmail/current beast! :( Look in your /var/qmail directory for a subdirectory called supervise. This supposes that you've used the author's recommended way of running qmail (daemontools). Inside that directory should be several other subdirectories - with names such as qmail-smtpd, qmail-pop3d, qmail-send (obviously depends on your individual installation). Inside those subdirectories are subdirectories named log which have files named run in them. These run files will show you where your logging is going (if anywhere). For example, in my /var/qmail/supervise/qmail-send/log directory there is a file named run which contains: #!/bin/sh exec /usr/local/bin/setuidgid qmaill /usr/local/bin/multilog t /var/log/qmail I'm using the author's multilog tool to send my logging to /var/log/qmail Once you find the log files, post the error messages. My guess is that it's a permission problem on the directories in question, and qmail can't write the mail. You can also check the queue (/var/qmail/queue) and see if the messages are still there. Brian -- Brian Jackson [EMAIL PROTECTED] To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: qmail toaster wont deliver to v mailboxes
Keith Spencer wrote: But qmail bounces incoming mail claiming the account does not exist on the server. It will deliver mail fro the postmaster account but no others! I have no idea where to look to config it. Any clues guys? Keith Spencer What does your /var/log/qmail/current file say? $tail -f /var/log/qmail/current | tai64nlocal will give you a running commentary - do that in one window, send some messages in another and see what the errors are. Brian To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Boot Manager / Install
Hi - I have a question regarding installation - the handbook alluded to the answer, but I'd like opinions from people who may have done this before :) My system is setup as follows: IDE Controller 0 : Drive 0 (jumpered as master) : Windows XP IDE Controller 0 : Drive 1 (jumpered as slave) : FreeBSD 4.7 I'd like to be able to boot to either drive - but I'm not sure how to configure the Boot Manager to accomplish this. I assume that I need to use Partition Magic or something similar to make space on drive 0 for the boot manager? Can I just go into sysinstall and select disk 0, then install the boot manager? Any How To's, URLs, or words of wisdom greatly appreciated. Thanks, Brian -- [EMAIL PROTECTED] To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: Boot Manager / Install
Brian Jackson wrote: Hi - I have a question regarding installation - the handbook alluded to the answer, but I'd like opinions from people who may have done this before :) It seems like this was addressed in a thread that I missed (see Dual Booting FreeBSD 4.7 and Windows XP) - the boot manager didn't seem to install on the boot drive when I installed FreeBSD on my second disk - are there any special options to make sure this happens? I'll give it another go tonight and see if I missed something obvious. Brian -- [EMAIL PROTECTED] To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: Mail server howto question
On Wednesday, December 4, 2002, at 10:48 PM, Lord Raiden wrote: 1st, I need to build a mail server that does both pop and smtp. 2nd, I need that server to be able to do pop before smtp authentication for relaying. Anyone got a good tutorial on how to do that and how to setup the server to authenticate smtp users via pop before smtp? What mail server software would I need to pull this off? Thanks for the info! There are quite a few MTAs and POP daemons that will fit your needs - most of them live in /usr/ports/mail. I've had great success with qmail - here are some sites for your research: http://www.qmail.org - Good site with all the addons (such as your pop before smtp requirement) http://www.lifewithqmail.org - Good tutorial http://matt.simerson.net - Good toaster implementation http://cr.yp.to/qmail.html - Author's site Feel free to mail me if you have any questions. Brian -- Brian Jackson [EMAIL PROTECTED] To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: Mail?
On Saturday, November 30, 2002, at 01:45 PM, Unix Tools wrote: 2) Add an entry at the end if the inetd.conf file pop3stream tcp nowait root/var/qmail/bin/tcp-env tcp-env /var/qmail/bin/pop3 - Original Message - From: aSe [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Sunday, December 01, 2002 02:02 AM Subject: Mail? Hello, I'm trying to find a guide/walk-through/howto on installing postfix/qmail on freebsd, along with a pop3 server. I've been searching on google for awhile now, anything i've found is old and/or doesn't talk about setting up pop3. Please note that the use of inetd with qmail is not supported by the author or if you need help on the qmail mailing lists. Use daemontools (http://cr.yp.to/daemontools.html) instead. The pop daemon should be controlled by tcpserver, similar to the following: #!/bin/sh exec /usr/local/bin/softlimit -m 200 \ /usr/local/bin/tcpserver -v -R -H -l 0 0 110 /var/qmail/bin/qmail-popup \ server-name /bin/checkpassword /var/qmail/bin/qmail-pop3d Maildir 21 An excellent step by step guide is here (http://www.lifewithqmail.org) which will walk you through setting up qmail. I'm sure the instructions above work well - just wanted to point out the part about inetd. Brian -- Brian Jackson [EMAIL PROTECTED] To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: Mail Server Advice
On Friday, November 29, 2002, at 12:17 AM, Ber Ez wrote: Hi to all, I need to build a mail server , I have won the battle of weather to use FreeBSD or Linux or M$ . now i'm facing a new battle ,postfix vs qmail. I need your advice . which of the two would be faster on freebsd ? any optimaization tips ? the system will handle a few mailing lists of 30,000+ subscribers ( news letters ,not a discussion list ) and over 20,000 users. I am thinking of load balancing this between three servers and am looking for info on that as well. thanks Ber . -- qmail (http://www.qmail.org) with ezmlm (http://www.ezmlm.org) and the ezmlm-idx patch (also on http://www.ezmlm.org) make an excellent, easy to administer, and secure mailing list solution. (note that ezmlm-idx will also give you the ability to create html archives) Inter7 has a brilliant virtual hosting and web mail platform for qmail as well (http://www.inter7.com). With all that said, I have no experience with postfix - but I have had much success with qmail and its addons. Brian -- Brian Jackson [EMAIL PROTECTED] To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: 4.7 changes to /bin/sh?
On Wednesday, November 27, 2002, at 01:56 AM, Kris Kennaway wrote: I already told you in the section of my mail you deleted. Kris mime-attachment No, it's the construction, which is illegal and should never have been allowed. Update to the latest version of the port and submit a PR if the bug persists. Kris I guess I didn't understand your answer (above) to the question What changed?. If the port was broken from the get go, I think it was odd that I only noticed that the database on my server wasn't starting after my upgrade to 4.7 (which of course very well may have been the case :) Just my 2 pesos Brian -- Brian Jackson [EMAIL PROTECTED] To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: 4.7 changes to /bin/sh?
On Wednesday, November 27, 2002, at 09:23 AM, Toomas Aas wrote: Your diagnosis is correct. This change is even mentioned in 4.7 release notes (which I read *after* posting similar message to this list a few weeks agog). Thanks very much for the pointer to the release notes!!! That answered my question. Brian -- Brian Jackson [EMAIL PROTECTED] To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: 4.7 changes to /bin/sh?
On Wednesday, November 27, 2002, at 12:25 AM, Kris Kennaway wrote: Hi: I installed the port for thttpd, and when I upgraded to 4.7, it broke my rc.d script, complaining about an unexpected ''. ${PREFIX}/sbin/thttpd_wrapper Funny that this should come up, as I recently upgraded to 4.7 and it broke my /usr/local/etc/rc.d/mysql-server.sh script with the same syntax? What changed? I tried a simple script on FreeBSD 4.7, OSX 10.2 and Solaris 8, and they all barfed on that syntax. my 2 pesos Brian -- Brian Jackson [EMAIL PROTECTED] To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: qmail problem
Is it possible one of the other programs you've mentioned (Spam assassin for example) is changing permissions on your Maildir directory? You need to be owner and make sure the appropriate r/w permissions are there. I'd also try using maildirwatch at the time you see errors and see if it can access the maildir. Your startup and rc files look fine - have you tried backing out either squirrelmail or spam assassin and seeing if the error continues? You also might want to try the qmail mailing list available for search or subscription at http://cr.yp.to or http://www.qmail.org Brian On Monday, November 25, 2002, at 03:12 PM, Jonathan Belson wrote: Hiya My qmail installation went from working fine to acting strangely. I've get the following in my maillog: Nov 25 19:51:40 dookie qmail: 1038253900.810198 starting delivery 61: msg 1933 to local jon@localhost Nov 25 19:51:40 dookie qmail: 1038253900.810425 status: local 10/10 remote 0/20 Nov 25 19:51:53 dookie qmail: 1038253913.640433 delivery 52: deferral: maildir:_not_found/ Nov 25 19:51:53 dookie qmail: 1038253913.641328 status: local 9/10 remote 0/20 Nov 25 19:51:53 dookie qmail: 1038253913.641577 starting delivery 62: msg 1937 to local jon@localhost Nov 25 19:51:53 dookie qmail: 1038253913.641801 status: local 10/10 remote 0/20 Nov 25 19:52:17 dookie qmail: 1038253937.642429 delivery 53: deferral: maildir:_not_found/ I can't find any reference to this error message on the 'Net. My Maildir was created with makemaildir and certainly still exists: jon@dookie:~# ls -arl Maildir total 20 drwx-- 2 jon jon 512 Nov 25 16:38 tmp drwx-- 2 jon jon 512 Nov 25 16:40 new drwx-- 2 jon jon 512 Nov 25 16:02 cur -rw-r--r-- 1 jon jon 345 Nov 25 16:00 courierimapuiddb -rw-r--r-- 1 jon jon36 Nov 8 13:44 courierimapsubscribed drwx-- 5 jon jon 512 Nov 20 15:14 .Trash drwx-- 5 jon jon 512 Nov 25 15:09 .Sent drwx-- 5 jon jon 512 Nov 25 15:09 .Drafts drwxr-xr-x 22 jon jon 1536 Nov 25 19:45 .. drwx-- 8 jon jon 512 Nov 25 16:00 . (The extra directories were created by squirrelmail I presume). My ~/.qmail is: root@dookie:/home/jon# cat .qmail |/usr/local/bin/spamassassin | maildir ./Maildir/ I notice that the perl processes created by spamassassin are around for quite a while - is this to be expected? If I stop qmail and restart it, the problem seems to go away and mail delivery continues as normal. This is my rc script: #!/bin/sh # # This script starts and stops the qmail mail functions. # # Suck in the configuration variables. if [ -r /etc/defaults/rc.conf ]; then . /etc/defaults/rc.conf source_rc_confs elif [ -r /etc/rc.conf ]; then . /etc/rc.conf fi case $1 in start) case ${qmail_smtp_enable} in [Yy][Ee][Ss]) # Start the qmail smtp daemon /usr/local/bin/tcpserver -H -R -c 255 -x /etc/tcp.smtp.cdb \ -u 82 -g 81 0 25 /var/qmail/bin/qmail-smtpd echo -n qmail-smtp ;; esac case ${qmail_pop_enable} in [Yy][Ee][Ss]) # Start the qmail pop daemon /usr/local/bin/tcpserver -H -R -c 255 0 110 \ /var/qmail/bin/qmail-popup HOSTNAME.DOMAIN \ /usr/local/bin/checkpassword /var/qmail/bin/qmail-pop3d \ Maildir echo -n qmail-pop ;; esac case ${qmail_enable} in [Yy][Ee][Ss]) # Start qmail exec env - PATH=/var/qmail/bin:$PATH \ qmail-start ./Maildir splogger qmail echo -n qmail ;; esac ;; stop) # Stop the smtp daemon smtppid=`ps -axw | grep tcpserver | grep smtp | grep -v grep | awk '{ print $1 }'` if [ $smtppid != ]; then kill $smtppid echo -n qmail-smtp fi # Stop the pop daemon poppid=`ps -axw | grep tcpserver | grep popup | grep -v grep | awk '{ print $1 }'` if [ $poppid != ]; then kill $poppid echo -n qmail-pop fi # Stop qmail qmailpid=`ps -axw | grep qmail-send | grep -v grep | awk '{ print $1 }'` if [ $qmailpid != ]; then kill $qmailpid echo -n qmail fi ;; *) echo Usage: `basename $0` {start|stop} 2 ;; esac exit 0 Any clues as to what the problem is? --Jon http://www.witchspace.com To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message -- Brian Jackson [EMAIL PROTECTED] To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: Is there any info about this type tftp daemon ?
Kris Kennaway wrote: Files may be written only if they already exist and are publicly writable. Kris I know that on some old Sun systems I had to manage, I had to touch filename and make sure it was writable before we could get files to it. In other words, make a 0 length file of the name of the file you are trying to tftp to the server first, and when you do the transfer it will overwrite it. Might be the same issue? Brian -- [EMAIL PROTECTED] To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message