LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Server (http://www.linuxquestions.org/questions/linux-server-73/)
-   -   Postfix,Open web mail Mail Server Hostname /FQDN Porblem (http://www.linuxquestions.org/questions/linux-server-73/postfix-open-web-mail-mail-server-hostname-fqdn-porblem-705025/)

farrukhndm 02-16-2009 06:39 AM

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

farslayer 02-16-2009 10:01 AM

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

farrukhndm 02-18-2009 01:52 AM

Quote:

Originally Posted by farslayer (Post 3445607)
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.

billymayday 02-18-2009 02:14 AM

You could always use Postfix to rewrite the addresses until you sort it out. See http://www.postfix.org/ADDRESS_REWRITING_README.html

farslayer 02-18-2009 05:49 PM

I thought the Domain option for openwebmail I posted would do it for ALL users..

maybe I was mistaken

billymayday 02-18-2009 05:55 PM

Quote:

Originally Posted by farslayer (Post 3448808)
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.

farslayer 02-18-2009 06:25 PM

There bolded it up to make it stand out.. :)

billymayday 02-18-2009 06:35 PM

And I didn't read you post fully! I'm doing well today!


All times are GMT -5. The time now is 06:18 PM.