Linux Mailserver POSTFIX as MTA

Dear Sir/Madam:

I have mail server in redhat enterprsie linux POSTFIX as an MTA and dovecot imap,  for the web access iam using squirrelmail but when the mail is sent from the squirrelmail users are receiving as username.localhost.domainname.com
1, please tell me how to make only as username.domainname.com
2, in the webmail (squirrelmail)sent folder i can see username.localhost.com
please tell me in this.







D_wathiAsked:
Who is Participating?
 
fosiul01Connect With a Mentor Commented:
i setup squirrelmail onece, as far i know , when you configure squirrelmail first time, you had to give him the domain name information

can you check the server configuration of squirrelmail, see if you can insert domain.com by hand or not.
0
 
fosiul01Commented:
whats in your /etc/hosts file ??

it should be   domain.com

127.0.0.1  yourdomain.com  localhost localhost.localdomain
0
 
D_wathiAuthor Commented:
sir , i just changed it to

127.0.0.1 mail.domainname.com  mail localhost.localdomain localhost

please tell me is this correct or should i change it.
0
Get expert help—faster!

Need expert help—fast? Use the Help Bell for personalized assistance getting answers to your important questions.

 
fosiul01Commented:
ok if your mx record say primary mailserver is mail.domainname.com

then its seems right.
0
 
D_wathiAuthor Commented:
also after this change when the mail is sent from the webmail(squirrelmail) still the users receive as username.localhost.domainname.com , please help me to solve this .
0
 
fosiul01Commented:
check thsi one

http://www.nabble.com/SM-Appends-the-Wrong-Domain-td19442861.html

as i said, you will have to check server configuration for squirrelmail.
0
 
bevhostCommented:
In SquirrelMail, goto

Options -> Personal Information

set the email address and Users Full name in there.

Also, if the users login with their email address as their username, then is will be set correctly from the start.
But this depends on who you setup the authentication.
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.