LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Server (https://www.linuxquestions.org/questions/linux-server-73/)
-   -   Linux Mailserver (https://www.linuxquestions.org/questions/linux-server-73/linux-mailserver-630173/)

aravind1024004 03-24-2008 02:59 AM

Linux Mailserver
 
hi,

i had configured postfix mailserver in rhel4 update 4.
postfix-2.2.10-1.RHEL4.2
server hostname is experts.linux.com were i configured postfix smtp and imap.
imap-2001a-18 is which i used.

i had configured squirrelmail in another machine where the hostname is rules.linux.com
squirrelmail-1.4.6-7.el4

when i send any mail to smtp server(experts.linux.com) from squirrelmail server(rules.linux.com) its working fine.
mails are delivering to the respective users.


my problem is i had another domain (radius.linux.com).In this server only imap and postfix services are running.I had to add this server in the main.cf file of experts.linux.com.so that when i send mail to radius.linux.com users from squirrelmail it should be delivered.

please say me where to add another domain name in the main.cf file according to my setup.

my task is i had send on mail to radius.linux.com user from squirrelmail (rules.linux.com).I know that i can be done thro DNS but i need to knw without DNS how to do this?

thanks in advance.

billymayday 03-24-2008 07:58 PM

have you added radius.linux.com to mydestinations in main.cf?

If squirrelmail is using this postfix server, you shouldn't need to do anything more to send mail to that domain.

aravind1024004 03-25-2008 12:25 AM

ya i have added radius.linux.com to mydestination in main.cf file.

these are the parameters which i edited in main.cf file

myhostname = experts.linux.com
mydomain = linux.com
myorigin = $mydomain
inet_interfaces = all
mydestination = $myhostname, localhost.$mydomain, localhost, $mydomain, radius.linux.com
unknown_local_recipient_reject_code = 550
mynetworks = 151.2.0.0/16, 127.0.0.0/8
relay_domains = $mydestination
relayhost = radius.linux.com
alias_maps = hash:/etc/aliases
alias_database = hash:/etc/aliases

my machine radius.linux.com and experts.linux.com and ruleslinux.com are in the same network.
all the machine are in 151.2.0.0 series ip.

billymayday 03-25-2008 12:28 AM

What does your mail log say when yopu try and send an email to that domain?

billymayday 03-25-2008 12:37 AM

I take it you ae using one physical server. Do you have an MX record pointing to it for the new domain? This shouldn't matter is squirrelmail is using this server to send though.

aravind1024004 03-26-2008 01:10 AM

thanks billymayday,

i just want to know is it possible to connfigure mutiple domains in single mailserver.
(ie) a mail server consists on multiple domains with different users.
is it possible?
if it is guide me with documents to refer.
since i searched in google and redhat but cant able to find the relevant document.

aravind1024004 03-26-2008 04:45 AM

i need to configure postfix in multiple domains in single mailserver
is there any refer guide to configure.

billymayday 03-26-2008 05:04 AM

Yes - you should start with http://www.postfix.org/VIRTUAL_README.html


All times are GMT -5. The time now is 09:50 AM.