Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/yermulnik/exim-greylist
EXIM patches to implement greylisting
https://github.com/yermulnik/exim-greylist
Last synced: 25 days ago
JSON representation
EXIM patches to implement greylisting
- Host: GitHub
- URL: https://github.com/yermulnik/exim-greylist
- Owner: yermulnik
- License: gpl-2.0
- Created: 2015-08-07T09:12:34.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2018-04-17T12:58:17.000Z (over 6 years ago)
- Last Synced: 2024-10-28T04:58:59.677Z (2 months ago)
- Size: 26.4 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# exim-greylist
EXIM patches to implement greylistingIdea: 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`:
```Makefile
.if !empty(.CURDIR:M/*/ports/mail/exim)
EXTRA_PATCHES+=/path/to/greylist.patch
.endif
```
```shell
#> 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 lateracl_check_rcpt:
accept local_parts = firstuser : anotheruser
acl = acl_greylist
```