DirectNET

Data Center Management Solutions including UPS Systems, Data Center Cooling, KVM over IP & IP Power Strips, Server Racks and Server Rack accessories; KVM Switches and KVM Extenders; Rackmount Monitors and Rackmount Keyboards.


NAVIGATION
Home
Store
INSIDE MAC
Television Shows
Broadcast Shows
Daily News Shows
Special Shows
EVENTS
DAILY TIPS
Design
Mac OS X
Mac OS X UNIX
COMMUNITY
Forums
Surveys
NEWS
Current
Press
Archive
FEATURES
Editorial
Dr. Mac
Reviews
Reader Reports
RESOURCES
FAQ
Documentation
Learning Center
MAN pages
Glossary
Tutorials
Tips
Links

OUR PARTNERS

FAQ 

Mail Administration

How do I turn on local SMTP?
Why don't aliases work in sendmail?
Is there anything better than sendmail?
How can I use my Mac for SMTP from the Classic environment?
I have all my old mail in Eudora. How can I migrate it to Mail.app?

How do I turn on local SMTP?
  1. activate sendmail by changing the following line in /etc/hostconfig:

    MAILSERVER=-YES-

  2. reboot, or just spawn sendmail, if you know how to do that persistently, ie:

    sudo nohup /System/Library/StartupItems/Sendmail &

  3. yes, I checked -- SMTP relaying is off by default :-)


Why don't aliases work in sendmail?

James Hammett helped figure this one out:

  1. edit /etc/mail/sendmail.cf and un-comment the following line:
    O AliasFile=/etc/mail/aliases
  2. create an /etc/mail/aliases file; mine looks like this:
    	#  Aliases in this file will NOT be expanded in the header from
    	#  Mail, but WILL be visible over networks.
    	#
    	#       >>>>>>>>>>      The program "newaliases" must be run after
    	#       >> NOTE >>      this file is updated for any changes to
    	#       >>>>>>>>>>      show through to sendmail.
    	#
    	#
    	# See also RFC 2142, `MAILBOX NAMES FOR COMMON SERVICES, ROLES 
    	# AND FUNCTIONS', May 1997
    
    	# Pretty much everything else in this file points to "root", so 
    	# you would do well in either reading roots mailbox or forwarding
    	# roots email from here.
    
    	root:   mark@zieg.com
    
    	# Basic system aliases -- these MUST be present
    	MAILER-DAEMON: postmaster
    	postmaster: root
    
    	# General redirections for pseudo accounts
    	bin:    root
    	daemon: root
    	games:  root
    	man:    root
    	news:   root
    	nobody: root
    	operator: root
    	pop:    root
    	system: root
    	toor:   root
    	usenet: news
    	uucp:   root
    	xten:   root
    
    	# BUSINESS-RELATED MAILBOX NAMES
    	info:           root
    	marketing:      root
    	sales:          root
    	support:        root
    
    	# NETWORK OPERATIONS MAILBOX NAMES
    	abuse:          root
    	noc:            root
    	security:       root
    
    	# SUPPORT MAILBOX NAMES FOR SPECIFIC INTERNET SERVICES
    	ftp:            root
    	ftp-bugs:       ftp
    	hostmaster:     root
    	webmaster:      root
    	www:            webmaster
  3. run "sendmail -bi" to activate the new aliases.
  4. if you had previously defined a ".forward" in /private/var/root, you should now be able to delete it.


Is there anything better than sendmail?

To my knowledge, nobody has ported qmail yet (my favorite), but the well-regarded Postfix is available.

Note: apparently you have to delete, or comment-out, line 92 of the 'niscript' utility to make it actually create the groups and users.


How can I use my Mac for SMTP from the Classic environment?

I don't know how you might do this over PPP, or any situation where your IP/hostname varies, but if you have a fixed IP or DNS name you can enter that manually. For instance, I use "zieg.mco.enteract.com" as my SMTP host from Classic, and "localhost" when I'm in OS-X.


All my old mail is in Eudora. How can I migrate it to Mail.app?

Randal Cox sent in a Perl script to do just that, along with a very interesting method of execution.

Copyright © 2000-2008 Inside Mac Media, Inc. All rights reserved.
Apple assumes no responsibility with regard to the selection, performance, or use of the products or services. All understandings, agreements, or warranties, if any, take place directly between the vendors and prospective users.
Apple, the Apple logo, Mac, PowerMac G4, PowerMac G5, Xserve, Xserve RAID, PowerBook, iBook, Airport, AirPort Extreme, iMac, eMac, iLife, iMovie, iCal, iPhoto, iTunes, QuickTime, FireWire, iPod, iSight, AppleWorks, Macintosh, Jaguar, Panther, Mac OS, Mac OS X and Mac OS X Server are trademarks of Apple Computer, Inc.