Skip to content

yermulnik/exim-greylist

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 

Repository files navigation

exim-greylist

EXIM patches to implement greylisting

   Idea: Lena(at)lena.kiev.ua, http://wiki.exim.org/DbLessGreyListingC
   Written by: vc(at)vc.org.ua, 2008-06-10

This patchset is intended to be used with FreeBSD port of EXIM (ports/mail/exim)

####INSTALLATION /etc/make.conf:

.if !empty(.CURDIR:M/*/ports/mail/exim)
EXTRA_PATCHES+=/path/to/greylist.patch
.endif
#> make -C /usr/ports/mail/exim/ install [or just "portinstall|portupgrade -W mail/exim"]
#> /usr/bin/install -s -o root -g wheel -m 555 `make -C /usr/ports/mail/exim/ -V BUILD_WRKSRC`/build-`uname -s`-`uname -m`/greylist.so `make -C /usr/ports/mail/exim/ -V LOCALBASE`/libexec/
#> make -C /usr/ports/mail/exim/ clean
#> service exim restart

####USAGE /usr/local/etc/exim/configure:

acl_greylist:
  defer log_message         = greylisted
        !host               = 127.0.0.1 : ^(relay|mail|mx|smtp) : *.mail.ru : *.google.com : *.yahoo.com
        # parameters -- key, defer-timeout, allow-timeout (in seconds)
        condition           = ${dlfunc{/usr/local/libexec/greylist.so}{greylist} \
                            {$sender_host_address,$sender_address}{240}{604800}}
        message             = Greylisting in progress, please try again later

acl_check_rcpt:
   accept  local_parts      = firstuser : anotheruser
           acl              = acl_greylist

About

EXIM patches to implement greylisting

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published