Share your knowledge at the LQ Wiki.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 07-28-2008, 02:25 PM   #1
LQ Newbie
Registered: Jul 2008
Posts: 6

Rep: Reputation: 0
Access.db file in sendmail Q

I've got a Fedora 7 box serving as a mail portal for my domain. The previous administration set this up, and I get confused easily when it comes to Linux, so please bear with me.

Within /etc/mail, there is a file called access.db that I can modify through the file "access," I've gotten that far.

Within "access" is a line - REJECT

(mydomain is actually the name of my domain)

I presume this was done to keep the outside world from spamming my "All" address. This can be managed in Exchange (we are filtering who can send to that address there as well), but I would assume this is bounced earlier to avoid unnecessary traffic.

My issue is: How do I keep this current configuration and allow a specific email address or domain to mail to "" I tried adding a line - OK

But that had no effect. Any tips?

Thanks in advance for any and all assistance!
Old 07-28-2008, 02:30 PM   #2
LQ Newbie
Registered: Aug 2003
Posts: 15

Rep: Reputation: 0
I've never seen the FROM and TO used in an access.db.

The access is about relaying...using your server as a "hop" to move mail around the sendmail network. As such it should apply for both sending and receiving messages.

Here's the syntax for an access file


# by default we allow relaying from localhost...
localhost.localdomain RELAY
localhost RELAY RELAY
192.168.1 RELAY
Old 07-28-2008, 02:38 PM   #3
LQ Newbie
Registered: Jul 2008
Posts: 6

Original Poster
Rep: Reputation: 0
Thanks for the response.

I had already found that document online, but like you said, it makes no mention of the from: and to: syntax, so it does me no good in this case.

I know that my current setup does work, however. In the past, when I've needed to accept mail from this domain to our "all" address, I simply commented out that line and the mail came through fine.

EDIT - I also found that discusses the "from" amd "to" tags, but I don't really understand how to do what I'm proposing.

Anyone else have a suggestion?

Last edited by Trader2699; 07-28-2008 at 04:13 PM.



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 config questions + Sendmail not reflecting changes to access db wbuik Linux - Networking 2 03-26-2009 06:02 AM
Sendmail access file in Solaris 10 sunnyyang Linux - Newbie 1 07-06-2008 08:54 PM
sendmail access file ip subnet slackamp Linux - Server 0 06-14-2007 11:09 AM
Sendmail /etc/mail/access issue (access.db) CactusS4 Linux - General 0 05-22-2004 08:59 PM
sendmail access file not doing spit odious1 Linux - Software 1 04-30-2004 12:40 AM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 08:18 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration