Linux - Server This forum is for the discussion of Linux Software used in a server related context. |
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
|
02-16-2009, 07:39 AM
|
#1
|
Member
Registered: Mar 2008
Location: Pakistan
Distribution: Fedora,Centos,RHEL
Posts: 75
Rep:
|
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
|
|
|
02-16-2009, 11:01 AM
|
#2
|
LQ Guru
Registered: Oct 2005
Location: Northeast Ohio
Distribution: linuxdebian
Posts: 7,249
Rep:
|
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.
|
|
|
02-18-2009, 02:52 AM
|
#3
|
Member
Registered: Mar 2008
Location: Pakistan
Distribution: Fedora,Centos,RHEL
Posts: 75
Original Poster
Rep:
|
Quote:
Originally Posted by farslayer
|
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.
|
|
|
02-18-2009, 03:14 AM
|
#4
|
LQ Guru
Registered: Mar 2006
Location: Sydney, Australia
Distribution: Fedora, CentOS, OpenSuse, Slack, Gentoo, Debian, Arch, PCBSD
Posts: 6,678
Rep:
|
You could always use Postfix to rewrite the addresses until you sort it out. See http://www.postfix.org/ADDRESS_REWRITING_README.html
|
|
|
02-18-2009, 06:49 PM
|
#5
|
LQ Guru
Registered: Oct 2005
Location: Northeast Ohio
Distribution: linuxdebian
Posts: 7,249
Rep:
|
I thought the Domain option for openwebmail I posted would do it for ALL users..
maybe I was mistaken
|
|
|
02-18-2009, 06:55 PM
|
#6
|
LQ Guru
Registered: Mar 2006
Location: Sydney, Australia
Distribution: Fedora, CentOS, OpenSuse, Slack, Gentoo, Debian, Arch, PCBSD
Posts: 6,678
Rep:
|
Quote:
Originally Posted by farslayer
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.
|
|
|
02-18-2009, 07:25 PM
|
#7
|
LQ Guru
Registered: Oct 2005
Location: Northeast Ohio
Distribution: linuxdebian
Posts: 7,249
Rep:
|
There bolded it up to make it stand out..
|
|
|
02-18-2009, 07:35 PM
|
#8
|
LQ Guru
Registered: Mar 2006
Location: Sydney, Australia
Distribution: Fedora, CentOS, OpenSuse, Slack, Gentoo, Debian, Arch, PCBSD
Posts: 6,678
Rep:
|
And I didn't read you post fully! I'm doing well today!
|
|
|
All times are GMT -5. The time now is 07:35 AM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|