On Tue, May 5, 2009 at 12:32 AM, Jonathan McMahon <jongmcma...@yahoo.com> wrote: > > I'm trying to set up an extremely basic mailserver on Leopard 10.5 in order > to check the behavior of some PHP scripts. Nothing fancy needed - I just want > to send and receive mail to/from myself without having to go out to my ISP. > > > QUESTION #1 > I've been able to get Postfix started and can telnet into 127.0.0.1 to get a > test email sent. The issue is that it bounces as an unknown user...is there a > basic checklist I can run through to make sure the user does in fact exist? I > can only find buts and pieces on the web. > > Here is the error message I'm getting: > > to=<j...@john-does-imac.localhost>, orig_to=<j...@john-does-imac>, > relay=local, delay=0.07, delays=0.06/0/0/0, dsn=5.1.1, status=bounced > (unknown user: "john") > > I modified /etc/postfix/aliases: > > root: john >
Add user 'john' on your system. You are using postfix-local mda. > then ran newaliases, but that doesn't seem to help. > > QUESTION #2 > I know that I need an FQDN in order for Postfix to function properly, but I'm > having trouble understanding what goes where in the "u...@host.domain.tld" > scheme. > > My System Preferences list the following: > > Computer Name: John Doe's iMac > > Computers on your local network can access your computer at: > john-does-imac.local > > Assuming I want to send a message to johndoe, what does the FQDN look like? > How about the following parameters? > > myhostname = > mydomain = > myorigin = > > The confusing part is what to use for the domain and tld since I don't own an > actual domain like "yahoo.com". My best guess is: > > j...@john-does-imac.localdomain.local myhostname = john-does-imac.localdomain.local mydomain = localdomain.local myorigin = $mydomain mydestination = $myhostname, $mydomain, localhost Now j...@john-does-imac.localdomain.local, j...@localdomain.local and j...@localhost are valids. -- Reinaldo de Carvalho http://korreio.sf.net http://python-cyrus.sf.net