[COLUG] Exim4 Recipient Whitelisting (solved)
Dave Maxwell
dmaxwell at columbus.rr.com
Sat Sep 22 13:16:08 EDT 2007
On Sat September 22 2007, Dave Maxwell wrote:
> What I need to do is simply give Exim4 a list of valid recipients. I could
> then reject mails to non-existent recipients at SMTP connection time. It
> is a small business with low turnover and having small text file on the
> Exim4 side of valid recipients is an entirely practical means to deal with
> this.
After much head scratching and Google shaking, I found the following
basically solves my problem. rcpt_accept.txt has one valid recipient per
line like so:
user1 at example.com
user2 at example.com
Any mails to users not explictly in that list are rejected at SMTP connection
time which means the brain dead Exchange 2000 not-so-smarthost can't be used
to bounce spams off of.
recipients = lsearch;/etc/exim4/rcpt_accept.txt
verify = recipient/callout
I hope this helps somebody sometime.
Dave
--
Outside of a dog, a book is man's best friend. Inside of a dog, it is too
dark to read.
More information about the colug432
mailing list