Hi,
I installed mail server using postfix dovecot spamassassin squirrelmail;. I can able to send and receive the mails. But my mail id is showing as
username@hostname.domain name instead of username@domainname.
Example:
username:test
hostname:mailserver
domainname: xyz.com
then the mail id shold be
test@xyz.com
but for me it showing as
test@mailserver.uceou.edu......
here is my postfix configuration details..
/etc/postfix/main.cf
________________________________________________________________________
myhostname = mailserver.xyz.com
myorigin = $mydomain
inet_interfaces = all
mydestination = $mydomain, $myhostname, localhost.$mydomain,localhost xyz.com
local_recipient_maps = unix
asswd.byname $alias_maps
mynetworks_style = host
________________________________________________________________________
here is my /etc/hosts file
________________________________________________________________________
127.0.0.1 mailserver mailserver localhost.localdomain localhost
::1 localhost6.localdomain6 localhost6
________________________________________________________________________
With the above configuration i was able to send and receive the mails..
Thanks in advance.