Linode Forum
Linode Community Forums
 FAQFAQ    SearchSearch    MembersMembers      Register Register 
 LoginLogin [ Anonymous ] 
Post new topic  Reply to topic
Author Message
 Post subject: Setting up Backup Mail
PostPosted: Sat Jul 17, 2004 2:37 am 
Offline

Joined: Sat Jul 17, 2004 2:28 am
Posts: 1
Hi

How do I setup sendmail to act as a backup mail server (store and forward) for an unlimited amount of domains.


Top
   
 Post subject: use the access database
PostPosted: Sun Jul 18, 2004 8:59 am 
Offline
Senior Member
User avatar

Joined: Fri Aug 15, 2003 2:15 pm
Posts: 111
Website: http://fubegra.net/
In Debian and Fedora (and presumably Red Hat), the default sendmail.mc has the access database enabled. You can use this to add domains that you wish to relay; for each domain for which you wish to be a backup MX, go to the /etc/mail directory, and add a line of the form:

Code:
domain.example.com           RELAY


to the access file. Then leave your editor, and use make to build the database. While Debian's makefile will suggest you also do /etc/init.d/sendmail reload after running make, I've found that it's unnecessary in most cases.

The access database can also be used to deny relaying; if there's a zombie running a dictionary attack, you can nip it in the bud with something like:

Code:
Connect:192.168.42.42          REJECT


or

Code:
From:idiotspammer@example.com            550 Address unknown


More information is available here.

EDIT: pointing out the /etc/mail/access file.

_________________
Bus error (passengers dumped)


Top
   
Display posts from previous:  Sort by  
Post new topic  Reply to topic


Who is online

Users browsing this forum: No registered users and 2 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
Jump to:  
RSS

Powered by phpBB® Forum Software © phpBB Group