• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 443
  • Last Modified:

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.







0
D_wathi
Asked:
D_wathi
  • 4
  • 2
1 Solution
 
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
 
fosiul01Commented:
ok if your mx record say primary mailserver is mail.domainname.com

then its seems right.
0
Configuration Guide and Best Practices

Read the guide to learn how to orchestrate Data ONTAP, create application-consistent backups and enable fast recovery from NetApp storage snapshots. Version 9.5 also contains performance and scalability enhancements to meet the needs of the largest enterprise environments.

 
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:
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:
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

Featured Post

Get your Conversational Ransomware Defense e‑book

This e-book gives you an insight into the ransomware threat and reviews the fundamentals of top-notch ransomware preparedness and recovery. To help you protect yourself and your organization. The initial infection may be inevitable, so the best protection is to be fully prepared.

  • 4
  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now