Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

sendmail newbie - 'access_db'.m4

Status
Not open for further replies.

yannos

Programmer
Nov 21, 2002
2
FR
hi,
I'm trying to kick out spammers with access.db, after have done &quot;makemap hash /etc/mail/access.db < /etc/mail/access&quot;, i need to generate a new sendmail.cf, because the old one does not include &quot;FEATURE('access_db', 'hash -o /etc/mail/access')dnl&quot;, but I get an error message :

m4 ../m4/cf.m4 canibals.mc > canibals-yann.cf
m4: ../feature/'access_db'.m4: No such file or directory

whats wrong...
 
try this:
Code:
FEATURE(`access_db', `hash -o /etc/mail/access')dnl

Code:
FEATURE<open Bracket><back tick>access.db<forward tick>, <back tick>hash -o /etc/mail/access<forward tick><close backet>dnl
 
i have used this before

makemap -v hash /etc/mail/access < /etc/mail/access


Ben
 
thanks for your reply, i've resolve my problem
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top