LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 04-23-2006, 06:48 AM   #1
IanDMac
LQ Newbie
 
Registered: Sep 2005
Location: UK
Posts: 7

Rep: Reputation: 0
Backup mx using sendmail 8.12.11 used to relay for other non listed domains


Hi,

Have been digging into this for what seems like an age now and no matter what I try, do not seem to be able to find a solution to combat my following problem.

Basically, I have a server set up with sendmail 8.12.11 that is used for backup MX relaying of mail in the event that the higher priority mail server is offline and all works great and in such a failure event, mail dutifully arrives on the backup MX server and is retained/spooled, and when the primary one comes back online, it is all then delivered on - great

Problem I have found is that spammers can use this backup MX also by listing the valid domain name in the email address of the email being sent along with all of the other email addresses that are external and nothing to do with any domain listed in the access and mailertable files - and they are dutifully (ahhhhh) sent on it would appear.

In my access file I have along the lines of:

mydomain.tld RELAY # for each domain

and in my mailertable file I have along the lines of:

mydomain.tld esmtp:[mail.mydomain.tld]
.mydomain.tld esmtp:[mail.mydomain.tld]

Now I can not hide the MX record in DNS as then it will not be accessible for mail to failover onto. I need to enable RELAY in access for the proper domain for it to retain/spool and deliver mail on for in the event of primary mail server failure, and I need to ensure the mailertable is as per to ensure it gets to the main mail server when sending on.

Anyone any ideas please on what 'I am obviously' missing here to prevent such an abuse being possible please.

At present I have had to stop the backup MX for obvious reasons of it being open to this kind of abuse, so really need to work out what I am missing or done wrong, as no doubt this is a total idiot (me) mistake I would guess.

Any input gratefully received.

Mac
 
  


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
Sendmail Relay-Domains From External Server littlenicker Linux - Networking 3 05-25-2005 11:45 AM
sendmail , the /etc/mail/relay-domains File kernelvn Linux - Networking 4 05-04-2005 12:25 PM
relay mail to sendmail relay server??? lemay_jeff Linux - Newbie 0 07-06-2004 04:54 PM
can't relay to other domains except LOCALHOST netkepala Linux - Software 4 10-13-2002 11:34 AM
Sendmail: relay-domains question d3funct Linux - General 0 02-22-2002 11:36 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

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