LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 02-15-2005, 07:18 AM   #1
Atif_Khan
Member
 
Registered: Sep 2004
Distribution: CentOS, Slackware, Solaris, Ubuntu
Posts: 66

Rep: Reputation: 15
Sendmail Issue!


Dear fellows,

I have a question about sendmail. I have DNS servers and a mail server running sendmail. I have 2 domains which I maintain locally and have users of on my mail servers. I have zones of few clients on my DNS servers and in few zones they want my mail server to use as a backup server if their primary mail server goes down.

I dont have mail users of my clients domain on may mail server machine. I just want may mail server to store their mails as que server when their primary server goes down.

I know i cant use those domain in my local domain names file in /etc/mail. How can I make my mail server just to store the incoming mails for my client domains. Should i put their domain entries in relay_domains file or whereelse.

Although didnt get any reply on such big forum in other category but still waiting for someone who knows about sendmail to reply!
 
Old 02-15-2005, 11:19 AM   #2
zymurgist
Member
 
Registered: Jan 2003
Location: Long Island
Distribution: Redhat 8.0
Posts: 109

Rep: Reputation: 15
Set up a small postfix server on your bastion that will store and forward when your primary server is available. The added benefit of this is that you can also scan for spam and viruses before you forward on to your main server.

http://www.freespamfilter.org/

I've been running this for about 6 months on a 486 and it works wonderfully.

ken
 
Old 02-15-2005, 12:02 PM   #3
Atif_Khan
Member
 
Registered: Sep 2004
Distribution: CentOS, Slackware, Solaris, Ubuntu
Posts: 66

Original Poster
Rep: Reputation: 15
Dear Ken,

Thanks for the reply. Seems like you didnt get what I mean. I dont need a secondary server for myserlf. My primary mail server is a backup mail server for some of my clients whose domain names are being hosted on my DNS.

Here is the example of my client abc.com with zone entries on my DNS server

@ IN MX 10 mail.abc.com (this is my clients primary mail server)
@ IN MX 20 mail1.abc.com (this is my mail server being used as a backup server for my client)

mail1 IN A x.x.x.x (this is the IP of my mail server)

I want mails for my clients domain to be qued on my mail server and I dont have users for that domain on my mail machine. I just want my mail server machine to que the mail for my clients when their primary mail server goes down.

I am just confused. I guess and believe sendmail does the queing by itself for domains listed in the relay_domains file. Am I right or not?


Last edited by Atif_Khan; 02-15-2005 at 12:36 PM.
 
Old 02-16-2005, 09:35 AM   #4
zymurgist
Member
 
Registered: Jan 2003
Location: Long Island
Distribution: Redhat 8.0
Posts: 109

Rep: Reputation: 15
I gave up on sendmail after much confusion, but basically, you want your secondary server to be a forwarding server to your first one. If it can't connect tot he first one, it will queue the mail. You'll have to read up on sendmail on how to make it a forwarding server.

ken
 
Old 02-16-2005, 10:34 AM   #5
Berhanie
Senior Member
 
Registered: Dec 2003
Location: phnom penh
Distribution: Fedora
Posts: 1,625

Rep: Reputation: 165Reputation: 165
Q4.14 in this faq talks about relaying.

Last edited by Berhanie; 02-16-2005 at 10:36 AM.
 
Old 02-16-2005, 01:05 PM   #6
Atif_Khan
Member
 
Registered: Sep 2004
Distribution: CentOS, Slackware, Solaris, Ubuntu
Posts: 66

Original Poster
Rep: Reputation: 15
Thanks guys,

I was right. To que to the mail for other domains we just need to enter domain name or IP address in relay domains file. Thanks for help though.
 
  


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
sendmail issue... TreyAU21 Linux - Software 1 10-27-2005 12:43 AM
Sendmail issue? basketkase999 Linux - Newbie 3 03-07-2005 11:56 PM
Sendmail issue? basketkase999 Linux - Software 1 03-07-2005 09:25 PM
sendmail issue archangel Linux - Software 3 11-13-2002 07:45 PM
sendmail issue iquadri1 Linux - Networking 1 09-29-2001 02:02 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

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