We help IT Professionals succeed at work.

/etc/mail/access

md168
md168 asked
on
764 Views
Last Modified: 2012-05-11
Redhat, /etc/mail/access

I am adding thousands of DISCARDs to /etc/mail/access.  Is it possible to have the access file reference external files.

For example, can I have:

From:[1.1.1.1] OK
From:[1.1.1.2] OK
File: /nas/companyA
File: /nas/companyB

This way, I need thousands of lines in /etc/mail/access
Comment
Watch Question

Top Expert 2011

Commented:
As far as I know, /etc/mail/access doesn't have the feature to reference external file.
Also, you need to use the makemap utility program to create the database map.
To create the access database map, use the following command:
# makemap hash /etc/mail/access.db < /etc/mail/access

For more details, check
http://www.sendmail.org/m4/anti_spam.html
CERTIFIED EXPERT
Commented:
Unlock this solution and get a sample of our free trial.
(No credit card required)
UNLOCK SOLUTION
Unlock the solution to this question.
Thanks for using Experts Exchange.

Please provide your email to receive a sample view!

*This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

OR

Please enter a first name

Please enter a last name

8+ characters (letters, numbers, and a symbol)

By clicking, you agree to the Terms of Use and Privacy Policy.