LinuxQuestions.org
Visit Jeremy's Blog.
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, 07:39 AM   #1
farrukhndm
Member
 
Registered: Mar 2008
Location: Pakistan
Distribution: Fedora,Centos,RHEL
Posts: 75

Rep: Reputation: 15
Postfix,Open web mail Mail Server Hostname /FQDN Porblem


Dear Gurus,

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

When Composing new email from Open webmail my my email Address shown as
In Creating new email its shows in myname@mail.mydomain.com in
From Text Box .which is wrong as its should be myname@mydomain.com. please tell me where i have to change in configuration file.thnaks.

# cat /etc/hosts
# 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.mydomain.com mail
 
Old 02-16-2009, 11:01 AM   #2
farslayer
LQ Guru
 
Registered: Oct 2005
Location: Northeast Ohio
Distribution: linuxdebian
Posts: 7,249
Blog Entries: 5

Rep: Reputation: 191Reputation: 191
I would start here:
http://openwebmail.org/openwebmail/doc/faq.txt

Quote:
Q: The default mail domain for my user is always wrong, how can I set it?

A: To have openwebmail find the correct mail domain for the user,
you'd give it some hint.

For example, if the webmail url is

http://mail.server_1.com/cgi-bin/.....,

and you want the email for tom to be tom@virtual_1.com.

You can achieve this in either the following 2 ways:

1. create per user config file etc/users.conf/tom
and set option domainnames to virtual_1.com
2. create per domain config file etc/sites.cof/mail1.server_1.com
and set option domainnames to virtual_1.com


While 1 is only for the user tom, the method 2 has effect for all users
who logins with the url http://mail.server_1.com/cgi-bin/....
Looks like it can also be set on a per user basis in the personal configuration settings.
http://openwebmail.org/openwebmail/h.../personal.html

Last edited by farslayer; 02-18-2009 at 07:24 PM.
 
Old 02-18-2009, 02:52 AM   #3
farrukhndm
Member
 
Registered: Mar 2008
Location: Pakistan
Distribution: Fedora,Centos,RHEL
Posts: 75

Original Poster
Rep: Reputation: 15
Quote:
Originally Posted by farslayer View Post
I would start here:
http://openwebmail.org/openwebmail/doc/faq.txt



Looks like it can also be set on a per user basis in the personal configuration settings.
http://openwebmail.org/openwebmail/h.../personal.html
Great i have change the From Email Address as you mention in Personalize settings.its working good.

But the problem is that i have more then 200 Email Accounts .And its impossible to go every user account and Personalize the emails Settings of Open web mail.

we need to find out from which configuration file Open webmail is reading Default "Email From " myname@mail.domain.com .So i will change the value to myname@domain.com.

Plz help me as there are no more users working on openwebmail.

One thing more last month my email server crash and i recover it my old backup.
From recovering email server i have Copied my Old /var/www/* in New email server and don't run the

#execute /var/www/cgi-bin/openwebmail/openwebmail-tool.pl --init

Because if i initilize the above perl script it my be Refresh the Account information of my all users and i have to renter the POP3 Accounts settings.
 
Old 02-18-2009, 03:14 AM   #4
billymayday
LQ Guru
 
Registered: Mar 2006
Location: Sydney, Australia
Distribution: Fedora, CentOS, OpenSuse, Slack, Gentoo, Debian, Arch, PCBSD
Posts: 6,678

Rep: Reputation: 122Reputation: 122
You could always use Postfix to rewrite the addresses until you sort it out. See http://www.postfix.org/ADDRESS_REWRITING_README.html
 
Old 02-18-2009, 06:49 PM   #5
farslayer
LQ Guru
 
Registered: Oct 2005
Location: Northeast Ohio
Distribution: linuxdebian
Posts: 7,249
Blog Entries: 5

Rep: Reputation: 191Reputation: 191
I thought the Domain option for openwebmail I posted would do it for ALL users..

maybe I was mistaken
 
Old 02-18-2009, 06:55 PM   #6
billymayday
LQ Guru
 
Registered: Mar 2006
Location: Sydney, Australia
Distribution: Fedora, CentOS, OpenSuse, Slack, Gentoo, Debian, Arch, PCBSD
Posts: 6,678

Rep: Reputation: 122Reputation: 122
Quote:
Originally Posted by farslayer View Post
I thought the Domain option for openwebmail I posted would do it for ALL users..

maybe I was mistaken
That's certainly what the link you posted says. Clearly I hadn't read this previously.

OP - in case you are wondering, it's the first link in farslayer's response.
 
Old 02-18-2009, 07:25 PM   #7
farslayer
LQ Guru
 
Registered: Oct 2005
Location: Northeast Ohio
Distribution: linuxdebian
Posts: 7,249
Blog Entries: 5

Rep: Reputation: 191Reputation: 191
There bolded it up to make it stand out..
 
Old 02-18-2009, 07:35 PM   #8
billymayday
LQ Guru
 
Registered: Mar 2006
Location: Sydney, Australia
Distribution: Fedora, CentOS, OpenSuse, Slack, Gentoo, Debian, Arch, PCBSD
Posts: 6,678

Rep: Reputation: 122Reputation: 122
And I didn't read you post fully! I'm doing well today!
 
  


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
Ubuntu server with postfix. My mail goes to Spam in Gmail and Yahoo Mail. Ideeas? bob808 Linux - Server 4 02-07-2009 05:11 PM
LXer: Debian Mail Server Setup with Postfix + Dovecot + SASL + Squirrel Mail LXer Syndicated Linux News 0 03-12-2008 11:50 PM
problem receiving pop3 mail from postfix mail server GEN_Electric Linux - Software 2 02-14-2005 03:43 PM
Open web mail OR Send mail groups linuxeagle Linux - Networking 0 05-12-2004 02:54 PM
Postfix mail server not accepting incoming mail from the external interface rexmundi Linux - Networking 7 12-22-2003 04:41 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 07:35 AM.

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration