OSEC

Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com
 
Re: all outgoing mail is written as userlocalhost.localdomain

From: Sandy Drobic (postfix-usersjapantest.homelinux.com)
Date: Mon Nov 21 2005 - 04:46:01 CST


Aaron Harwood wrote:

>Hi Sandy,
>
>I've just been looking at the postconf output as well, and I've been
>changing some of the values, so they differ a little from my previous
>post:
>
>[roothome postfix]# /usr/sbin/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
>mail_owner = postfix
>mailq_path = /usr/bin/mailq.postfix
>manpage_directory = /usr/share/man
>mydestination = $myhostname, localhost.$mydomain, localhost, $mydomain,
>mail.$mydomain, www.$mydomain, ftp.$mydomain home.$mydomain
>mydomain = aerosoul.com.au
>myhostname = mail
>
>
Okay, this could be a problem. Please set myhostname to a fully
qualified name (mail.aerosoul.com.au).
"mydestination = mail" ist not unusable.

The recommendation is also NOT to use a cname entry. Please use an A
record to resolve your mx name.
I hope you have also set up a reverse lookup for your mx ip locally.

Sandy

PS: Please to not post in HTML and please do not top posting (writing
above what you are referring to)