This is a discussion on exim4 access.db? within the alt.comp.mail.exim forums, part of the Mail Servers and Related category; Hi all, does exim4 has an equivalent to sendmail's access.db? IE can the following be implemented in exim4: ...
|
|||||||
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
|
|||
|
Hi all, does exim4 has an equivalent to sendmail's access.db? IE can
the following be implemented in exim4: 209.210.xxx OK 69.66.xxx RELAY 69.66.xxy RELAY 69.66.xyy RELAY 1 DISCARD 2 DISCARD 3 DISCARD 4 DISCARD 5 DISCARD 6 DISCARD 7 DISCARD 8 DISCARD 9 DISCARD 10 DISCARD If not? does exim4 support TCP wrappers? Thanks |
|
|||
|
On 18 Jul 2006 09:32:51 -0700, "spec" <frank@frankritchie.com> wrote:
>Hi all, does exim4 has an equivalent to sendmail's access.db? IE can >the following be implemented in exim4: > >209.210.xxx OK >69.66.xxx RELAY >69.66.xxy RELAY >69.66.xyy RELAY >1 DISCARD >2 DISCARD >3 DISCARD >4 DISCARD >5 DISCARD >6 DISCARD >7 DISCARD >8 DISCARD >9 DISCARD >10 DISCARD I'll tell you what I have set, which was quite easy to do, and didn't involve any editing of the main exim4 config file, except maybe to alter the wording slightly of the rejection messages. My mail server is Exim 4.5, running on Debian Sarge 3.1r2, using 'non-split config' (one monolithic config file). In /etc/exim4/, I created the following files : local_host_blacklist local_host_whitelist local_sender_blacklist local_sender_whitelist In 'local_host_blacklist' I have quite a few CIDR ranges, each on a seperate line. Every time I want to add another, I just open up this file, enter the range, and restart exim4. IIUC, emails originating from these domains are rejected at RCPT time using this method. I use 'local_sender_blacklist' to reject mail from specific envelope-senders, which again, IIUC, are rejected at RCPT time. I've added a few addresses to 'local_sender_whitelist' (even though it's possible to whitelist addresses within a blacklist), and that's about it. Hope this helps a bit. Regards, Pete. |
![]() |
| Thread Tools | |
| Display Modes | |
|
|