LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
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 01-15-2006, 07:42 PM   #1
wbuik
LQ Newbie
 
Registered: Sep 2005
Distribution: Debian (Sarge)
Posts: 22

Rep: Reputation: 15
Unhappy Sendmail config questions + Sendmail not reflecting changes to access db


I am trying to set up a simple sendmail smtp relay server but I am having some problems. It is a apt-get Debian package install. First, no matter what I do to the access or access.db files sendmail still starts seemingly with no changes. If I delete or rename access.db it still starts. If I type gibberish into the access file and try to remake access.db with 'make access.db' it still creates a new file with no warnings! Second, I do not know exactly what to put into the access file to make it do what I want it to do, even if sendmail did pay attention to my changes. What I want it to do is to not accept any incoming mail at all, and relay mail from three different domains, and preferably only from a single email address in each of them. It also must not pay any attention to the IP of the computer it is relaying from.

I'm not great with Linux to begin with, let alone something as complex as sendmail so simple, detailed instructions would be greatly appreciated.

Thanks in advance.
 
Old 01-15-2006, 09:02 PM   #2
gilead
Senior Member
 
Registered: Dec 2005
Location: Brisbane, Australia
Distribution: Slackware64 14.0
Posts: 4,123

Rep: Reputation: 151Reputation: 151
It may be that your sendmail.cf wasn't generated with support for the access functionality. See if you get a similar output from the following grep:

Code:
grep 'access\.db' /etc/mail/sendmail.cf
Kaccess hash -T<TMPF> -o /etc/mail/access.db
# FEATURE(`access_db',`hash -T<TMPF> -o /etc/mail/access.db')dnl
The line "FEATURE(`access_db',`hash -T<TMPF> -o /etc/mail/access.db')dnl" should be in the sendmail.mc file used to generate the sendmail.cf file. I don't know whether you can add the support by hand or whether there are other necessary parts of the file. I always generate the cf file from the mc file.
 
Old 03-26-2009, 05:02 AM   #3
drbidwell
LQ Newbie
 
Registered: Mar 2009
Posts: 1

Rep: Reputation: 0
Sendmail not reflecting changes to access db

I have the FEATURE access_db in my sendmail.mc file and have recreated the sendmail.mc file and restarted sendmail and have rebuilt my /etc/mail/access.db file, but sendmail still seems to ignore the addresses in the access file/database.

When I send to an address that is listed in the access db, it still goes through without any problems. I have trimmed the access file down to just a list of addresses to block. The format of my access entries is:

spammer@host.net ERROR:"550 Blocked by AU ITS"

Any ideas as to what else to check to get this working?
 
  


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 - Config for IP Block's & Config Issues Thom_Redhat Linux - Software 1 04-07-2006 01:29 PM
Sendmail Config dunmarie Linux - Software 1 06-27-2005 02:00 AM
Several serverish questions. . . Sendmail config, IRC, FTP. . . Spreegem Debian 1 05-19-2005 12:23 PM
sendmail for internal network and network config questions RedHat123 Linux - Networking 0 04-06-2005 03:15 PM
sendmail config help shellcode Linux - Networking 3 01-10-2004 07:47 AM


All times are GMT -5. The time now is 03:48 PM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration