从源辞典

查阅生活点点滴滴

Easy Bluetooth Mouse Setup

September 15th, 2005 by congyuan

To my surprised, it is very easy to setup bluetooth on Mac XServe.

Plug in the bluethooth USB adapter, Xserve automatically recognise it without the need of installing driver. The bluetooth icon is shown up on the top bar.

Then put in battery for the wireless mouse.

Go to Applications->Utilities->Bluetooth setup assistant, it discovers the mouse immediately. Then it will automatically pair with the mouse.

I have never seen so easy to setup a bluetooth mouse, compared to Windows. Mac really gives me a surprise this time.

Posted in Mac OS Xserve | No Comments »

Funny settings of Mac OS email server

September 6th, 2005 by congyuan

In Xserve’s manual “Mail_service_v10.4.pdf”, it has the following instructions for settingup email aliases.

There are two methods for creating aliases for virtual host users: Mac OS X Server-style,
and Postfix-style. Each one has its advantages and disadvantages. Mac OS X Serverstyle
aliases are easy to make, and are listed with a user’s login name. You can easily see
what alias refers to which user. The downside of this kind of alias is that mail service’s
Sieve functionality doesn’t understand Mac OS X Server-style aliases and will not filter
mail based on the Mac OS X Server-style alias.

What it says is Mac OS style does NOT work! It is reffering to the GUI setting under “Workgroup Mananger”. The short names are actually not the email aliases.

Is it funny? So if it doesn’t work, why Apple put those fields there?

Mac OS doesn’t do a good job on email server setup.

Posted in Mac OS Xserve | No Comments »

Mac OS 10.3的mail server图形界面启动不管用

September 5th, 2005 by congyuan

如果是在苹果的Mac OS X 10.3的 Server Admin里Stop/Start email service,发现在点击”Start”后,仍显示SMTP, POP, IMAP是处于停止状态。

只有通过命令 postfix start才可以启动以上SMTP/POP/IMAP。

真是对苹果的服务器头疼。不知道Tiger会不会少一些bug。

Posted in Mac OS Xserve | No Comments »

Rebuild cyrus mailbox

September 4th, 2005 by congyuan

1. Stop the cyrus (IMAP/POP) server.
2. Execute these commands in Terminal:

$ su root
# mv /var/imap /var/imap.old
# mkdir /var/imap
# /usr/bin/cyrus/tools/mkimap
# chown -R cyrus:mail /var/imap
# sudo -u cyrus /usr/bin/cyrus/bin/reconstruct -i

3. Restart the cyrus (IMAP/POP) server, and verify that mail is working

Note: for 10.3 only. For Tiger, there are built in repair button.

Posted in Mac OS Xserve | No Comments »

Email login error

September 4th, 2005 by congyuan

When I tried to login to my mailbox on Xserve using POP3, I got this error.

[SYS/PERM] Unable to open maildrop: System I/O error

Solved by rebuilding the cryus mailbox database.

Posted in Mac OS Xserve | No Comments »

Email not getting through

September 4th, 2005 by congyuan

Email sent to the Xserve were not delivered to user’s mailbox

It is very strange. I checked the mail.log file. It shows the server received the mail (status=sent). But when the user login with POP3 or IMAP, he didn’t see the mail.

Currently only one of the users has this problem. That user did’t get all the mails, but only some of the mails.

Temporarily solved by rebuilding the mailbox database.

Posted in Mac OS Xserve | No Comments »

[Mac] Create a User From Command Line in Mac OS X

July 19th, 2005 by congyuan

1. Check current UID
nireport . /users name uid

2. Add a user
echo ‘henry::512:512::0:0:Henry James:/Users/henry:/bin/bash’
| sudo niload -v passwd /

3. Change password
sudo passwd henry

Posted in 电脑网络, Mac OS Xserve | No Comments »