Link to home
Start Free TrialLog in
Avatar of md168
md168

asked on

/etc/mail/access

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
Avatar of wesly_chen
wesly_chen
Flag of United States of America image

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
ASKER CERTIFIED SOLUTION
Avatar of stetor
stetor
Flag of Italy image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial