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 03-24-2008, 02:59 AM   #1
aravind1024004
Member
 
Registered: Mar 2008
Posts: 47

Rep: Reputation: 15
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.
 
Old 03-24-2008, 07:58 PM   #2
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
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.

Last edited by billymayday; 03-25-2008 at 12:36 AM.
 
Old 03-25-2008, 12:25 AM   #3
aravind1024004
Member
 
Registered: Mar 2008
Posts: 47

Original Poster
Rep: Reputation: 15
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.
 
Old 03-25-2008, 12:28 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
What does your mail log say when yopu try and send an email to that domain?
 
Old 03-25-2008, 12:37 AM   #5
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
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.
 
Old 03-26-2008, 01:10 AM   #6
aravind1024004
Member
 
Registered: Mar 2008
Posts: 47

Original Poster
Rep: Reputation: 15
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.
 
Old 03-26-2008, 04:45 AM   #7
aravind1024004
Member
 
Registered: Mar 2008
Posts: 47

Original Poster
Rep: Reputation: 15
i need to configure postfix in multiple domains in single mailserver
is there any refer guide to configure.
 
Old 03-26-2008, 05:04 AM   #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
Yes - you should start with http://www.postfix.org/VIRTUAL_README.html
 
  


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
Debian Linux Mailserver -lcf- Linux - Networking 4 03-26-2008 01:33 AM
Looking for help with Linux mailserver challange dclarkson Linux - Server 1 10-10-2006 08:34 AM
how to configure a linux mailserver with spamfilter ? balki Linux - Networking 3 08-02-2004 03:42 PM
Linux Mailserver jriis Linux - Networking 1 06-07-2001 05:20 AM

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

All times are GMT -5. The time now is 05:38 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