Category Archives: FreeBSD

Mac使用SMB共享的問題

Mac won’t follow symbolic links in SMB share \r\n使用MAC連接到基於samba服務的共享時,如果目錄是通過符號連接(ln -s)的,則顯示快捷方式,無法打開,經google發現關掉smb.conf中的“unix extensions = no”就可以了。\r\n “unix extensions = no” FTW!! \r\nThanks guys! That did it!!\r\n\r\nI’ll still probably go ahead get Samba upgraded.

Continue Reading →

解决ntp的错误 no server suitable for synchronization found

当用ntpdate -d 来查询时会发现导致 no server suitable for synchronization found 的错误的信息有以下2个:\r\n\r\n错误1.Server dropped: Strata too high\r\n\r\n在ntp客户端运行ntpdate serverIP,出现no server suitable for synchronization found的错误。\r\n\r\n在ntp客户端用ntpdate –d serverIP查看,发现有“Server dropped: strata too high”的错误,并且显示“stratum

Continue Reading →

Postfix常用命令

查看队列::postqueue -p\r\n\r\n清空队列:postsuper -d ALL\r\n\r\npostfix有四种不同的邮件队列,并且由队列管理进程统一进行管理:\r\n\r\n1. maildrop:本地邮件放置在maildrop中,同时也被拷贝到incoming中。\r\n\r\n2. incoming:放置正在到达或队列管理进程尚未发现的邮件。\r\n\r\n3. active:放置队列管理进程已经打开了并正准备投递的邮件,该队列有长度的限制。\r\n\r\n4. deferred:放置不能被投递的邮件。\r\n\r\n启动postfix:postfix start

Continue Reading →