My email timed out and truncated the subject line...

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

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


----------
Output of postconf -n:

alias_database = hash:/etc/aliases
alias_maps = hash:/etc/aliases
command_directory = /usr/sbin
config_directory = /etc/postfix
daemon_directory = /usr/libexec/postfix
debug_peer_level = 2
html_directory = no
inet_interfaces = localhost
mail_owner = _postfix
mailq_path = /usr/bin/mailq
manpage_directory = /usr/share/man
message_size_limit = 10485760
mydestination = $myhostname, localhost.$mydomain, localhost
mydomain_fallback = localhost
mynetworks_style = host
myorigin = $myhostname
newaliases_path = /usr/bin/newaliases
queue_directory = /private/var/spool/postfix
readme_directory = /usr/share/doc/postfix
sample_directory = /usr/share/doc/postfix/examples
sendmail_path = /usr/sbin/sendmail
setgid_group = _postdrop
unknown_local_recipient_reject_code = 550


Any help would be appreciated. Thanks.




      

Reply via email to