All posts by admin

Checking for fat binary components

  • file – will provide the file type information. in the case of a binary, it will give the components that makes up the binary
  • readlink – will provide the libraries it is linked to
$ readlink /usr/bin/ruby
../../System/Library/Frameworks/Ruby.framework/Versions/Current/usr/bin/ruby
$ file /usr/lib/libruby.dylib
/usr/lib/libruby.dylib: Mach-O universal binary with 4 architectures
/usr/lib/libruby.dylib (for architecture ppc7400):   Mach-O dynamically linked shared library ppc
/usr/lib/libruby.dylib (for architecture ppc64):   Mach-O 64-bit dynamically linked shared library ppc64
/usr/lib/libruby.dylib (for architecture i386):   Mach-O dynamically linked shared library i386
/usr/lib/libruby.dylib (for architecture x86_64):   Mach-O 64-bit dynamically linked shared library x86_64

Notes on Setting up Hosted Email

  • postsuper – a command used for mail queue maintenance
  • postfix reload – a command used to refresh postfix
  • postconf -n – a command used to look at mail configuration
  • /etc/postfix/master.cf – there is apprently a SMTP line that can cause the mail transport to not be able to find the SMTP port. Uncommenting the SMTP line will enable the service for external host delivery.