LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
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 06-14-2007, 05:55 AM   #1
sahil_jammu
LQ Newbie
 
Registered: Nov 2006
Location: india
Posts: 17

Rep: Reputation: 0
configuration of mail server for cluster


hi all
i m working on configuration of mail server for clusters..
there are three clusters containing 42 nodes , 35 nodes and 18 nodes.

The mail server is configured on one of the nodes(using kernel 2.6) and the same machine is acting as an nis and dns server.

the server has configured sucessfully,
the user on the gateway machine is able to send mails to main server node.

but the problem is the 42 node cluster is on 2.4 kernel
and rest all are on 2.6 kernel..
so there is compatibility problem.

i want that machines just forward their mails to main server.

the configuration i did on machine with 2.4 kernel was generating error that no transport agent.
i just want all the users on these nodes should be able to send mail to each other.
i tried procmail and also local mda of postfix.
its not working !!

os used :- suse
ur suggestons are welcome!!
 
Old 06-19-2007, 08:41 AM   #2
brianmcgee
Member
 
Registered: Jun 2007
Location: Munich, Germany
Distribution: RHEL, CentOS, Fedora, SLES (...)
Posts: 399

Rep: Reputation: 40
Why do you think you are facing a compatibility issue? It should be really no problem if the servers use different kernel revisions.

The logfile for the mail system usually contains detailed debug information.

First of all you have to make sure that the cluster nodes really send the email to the mail server or if they get rejected.

Read /var/log/maillog for any clues.

I don't know the exact purpose for your cluster but maybe a Single System Image [1] might help to reduce the configuration and maintenance complexity.

All cluster nodes share the same root filesystem and they have full write acess on it (by using a cluster filesystem or NFS). So there will be only one mail queue and only one mail server configuration (...unless you configure subclusters).

[1] http://www.open-sharedroot.org
 
Old 06-20-2007, 04:24 AM   #3
sahil_jammu
LQ Newbie
 
Registered: Nov 2006
Location: india
Posts: 17

Original Poster
Rep: Reputation: 0
problem in brief...cluster - - mail server

well ya there iss only 1 mail server and 1 que only.....
i want to send mails among different nodes.....

the problem is the mail is not getting saved locally....

or it sud be able to save @ master and then frm there pick up the mail and send it to the destination..

the relay part i guess is not configured properly!!!!!
 
Old 06-20-2007, 06:29 AM   #4
brianmcgee
Member
 
Registered: Jun 2007
Location: Munich, Germany
Distribution: RHEL, CentOS, Fedora, SLES (...)
Posts: 399

Rep: Reputation: 40
Well with postfix you could use this to forward mails to another machine on your LAN:

Code:
/etc/postfix/main.cf:
    myorigin = $mydomain
    mydestination = $myhostname localhost.$mydomain localhost $mydomain
    mynetworks = 127.0.0.0/8
    relayhost = smtp-server.yourdomain.local
What does /var/log/maillog say? Because there you will find all information to debug your issue...

Successful mail:

Quote:
Jun 20 13:24:17 mobilix-03 sendmail[27569]: l5KBOHwC027569: from=brianmcgee, size=42, class=0, nrcpts=1, msgid=<200706201124.l5KBOHwC027569@mobilix-03.gallien.atix>, relay=brianmcgee@localhost
Jun 20 13:24:17 mobilix-03 postfix/smtpd[27570]: connect from localhost.localdomain[127.0.0.1]
Jun 20 13:24:17 mobilix-03 postfix/smtpd[27570]: D237CC0189: client=localhost.localdomain[127.0.0.1]
Jun 20 13:24:17 mobilix-03 postfix/cleanup[27573]: D237CC0189: message-id=<200706201124.l5KBOHwC027569@mobilix-03.gallien.atix>
Jun 20 13:24:17 mobilix-03 postfix/qmgr[25448]: D237CC0189: from=<brianmcgee@mobilix-03.gallien.atix>, size=604, nrcpt=1 (queue active)
Jun 20 13:24:17 mobilix-03 sendmail[27569]: l5KBOHwC027569: to=devnull@localhost, ctladdr=brianmcgee (3215/3215), delay=00:00:00, xdelay=00:00:00, mailer=relay, pri=30042, relay=[127.0.0.1] [127.0.0.1], dsn=2.0.0, stat=Sent (Ok: queued as D237CC0189)
Jun 20 13:24:17 mobilix-03 postfix/smtpd[27570]: disconnect from localhost.localdomain[127.0.0.1]
Jun 20 13:24:18 mobilix-03 postfix/smtp[27574]: D237CC0189: to=<devnull@mobilix-03.gallien.atix>, relay=vmethusalix4.gallien.atix[192.168.3.33], delay=1, status=sent (250 Ok: queued as A897B2CCFA)
Jun 20 13:24:18 mobilix-03 postfix/qmgr[25448]: D237CC0189: removed
Unsuccessful mail, because postfix is not running:

Quote:
Jun 20 13:27:12 mobilix-03 sendmail[29102]: l5KBRCO7029102: from=brianmcgee, size=42, class=0, nrcpts=1, msgid=<200706201127.l5KBRCO7029102@mobilix-03.gallien.atix>, relay=reiner@localhost
Jun 20 13:27:12 mobilix-03 sendmail[29102]: l5KBRCO7029102: to=devnull@localhost, ctladdr=brianmcgee (3215/3215), delay=00:00:00, xdelay=00:00:00, mailer=relay, pri=30042, relay=[127.0.0.1] [127.0.0.1], dsn=4.0.0, stat=Deferred: Connection refused by [127.0.0.1]
They are pretty descriptive. You should look at the node that sends the mail and on the local mailsserver for your cluster...

Last edited by brianmcgee; 06-20-2007 at 06:30 AM.
 
Old 06-20-2007, 11:32 PM   #5
sahil_jammu
LQ Newbie
 
Registered: Nov 2006
Location: india
Posts: 17

Original Poster
Rep: Reputation: 0
thanks i will check out entire configuration again!!
 
  


Reply



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
Linux Cluster/Server configuration Tabemasu Linux - Server 4 06-11-2007 11:42 PM
Mail Server Configuration hakmed Slackware 2 04-01-2005 05:14 PM
how to ??? best mail server configuration budyoke Linux - Software 1 07-28-2004 06:45 AM
mail server / junk mail configuration CtrlAltDel Linux - Software 2 01-16-2004 04:35 PM
E-mail server configuration DesertWolf0132 Linux - Newbie 2 10-15-2003 04:17 PM

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

All times are GMT -5. The time now is 04:27 PM.

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