LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices

Reply
 
Search this Thread
Old 02-16-2009, 01:46 AM   #1
farrukhndm
Member
 
Registered: Mar 2008
Location: Pakistan
Distribution: Fedora,Centos,RHEL
Posts: 75

Rep: Reputation: 15
Postfix Hostname / domain name configuration problem.


Dear Gurus,

As i have configured Mail Server with Postfix,DoveCot with Web Email client Open Webmail on Fedora,

When Creating new email from Open webmail my my email Address shown as

myname@mail.mydomain.com in From Field.which is wrong as its should be myname@mydomain.com. please tell me where i have to change in configuration file.thnaks.

My hosts file configuration is
vi /etc/hosts
# Do not remove the following line, or various programs
# that require network functionality will fail.
127.0.0.1 mail.mydomain.com mail
192.168.1.10 mail.mydomian.com mail

Last edited by farrukhndm; 02-16-2009 at 01:54 AM.
 
Old 02-16-2009, 02:07 AM   #2
farrukhndm
Member
 
Registered: Mar 2008
Location: Pakistan
Distribution: Fedora,Centos,RHEL
Posts: 75

Original Poster
Rep: Reputation: 15
host file configration porblem but donsn't solve my problem.

My hosts file configuration problem,i have change it to .
# Do not remove the following line, or various programs
# that require network functionality will fail.
127.0.0.1 localhost.localdomain localhost
192.168.1.10 mail.mydomian.com mail
~
~
then

#service network reload
#service postfix reload

But when go to open webmail for creating new emails i see the same problem.In From email address .
myname@mail.mydoman.com.Please guide me what i have to do after changing the host file.which service need to reload to update my hosts configuration to email address.
 
Old 02-16-2009, 03:33 AM   #3
vlademir
Member
 
Registered: Jan 2009
Location: The Netherlands
Distribution: Centos,Ubuntu,Mandriva,Suse11.1
Posts: 86

Rep: Reputation: 17
Quote:
Originally Posted by farrukhndm View Post
Dear Gurus,

As i have configured Mail Server with Postfix,DoveCot with Web Email client Open Webmail on Fedora,

When Creating new email from Open webmail my my email Address shown as

myname@mail.mydomain.com in From Field.which is wrong as its should be myname@mydomain.com. please tell me where i have to change in configuration file.thnaks.

My hosts file configuration is
vi /etc/hosts
# Do not remove the following line, or various programs
# that require network functionality will fail.
127.0.0.1 mail.mydomain.com mail
192.168.1.10 mail.mydomian.com mail
If i remember i think you can change the email configuration at the file :

Quote:
/etc/postfix/virtusertable

Last edited by vlademir; 02-17-2009 at 12:58 PM. Reason: mistake in command
 
Old 02-16-2009, 04:14 AM   #4
farrukhndm
Member
 
Registered: Mar 2008
Location: Pakistan
Distribution: Fedora,Centos,RHEL
Posts: 75

Original Poster
Rep: Reputation: 15
i have one host working mail.mydomain.com

Thanks,vlademir
but i have no virtual host configured on apache.Please tell me where will be the problem???????
 
Old 02-16-2009, 11:03 AM   #5
farslayer
Guru
 
Registered: Oct 2005
Location: Willoughby, Ohio
Distribution: linuxdebian
Posts: 7,232
Blog Entries: 5

Rep: Reputation: 189Reputation: 189
Duplicate Thread..

I posted a possible solution in the other thread..
http://www.linuxquestions.org/questi...orblem-705025/
 
Old 02-17-2009, 12:56 PM   #6
vlademir
Member
 
Registered: Jan 2009
Location: The Netherlands
Distribution: Centos,Ubuntu,Mandriva,Suse11.1
Posts: 86

Rep: Reputation: 17
Quote:
Originally Posted by farrukhndm View Post
Thanks,vlademir
but i have no virtual host configured on apache.Please tell me where will be the problem???????
Sorry i made an error in the command, you have to look at :
Quote:
/etc/postfix/virtusertable
check there you will find all the emails and you can configure your adress email there
 
Old 10-30-2010, 08:05 PM   #7
trevil
LQ Newbie
 
Registered: Dec 2006
Posts: 5

Rep: Reputation: Disabled
Quote:
Originally Posted by vlademir View Post
Sorry i made an error in the command, you have to look at :

check there you will find all the emails and you can configure your adress email there
You can remove the # in front of:

mydomain = yourdomain.com <- set domain here

myorigin = $mydomain

in postfix's main.cf
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Postfix user@domain restricted mail relay configuration bntawil Linux - Server 1 07-22-2008 06:35 PM
hostname/domain Problem, RedHat AS 4.0 rajeshsfo Linux - Software 1 12-17-2007 11:01 PM
basic questions on hostname and domain name + related postfix questions Moebius Linux - Newbie 7 09-04-2007 12:50 PM
Postfix domain name problem sbabcock23 Linux - Server 3 08-16-2006 03:46 PM


All times are GMT -5. The time now is 06:27 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration