Yahoo Groups archive

Milter-greylist

Index last updated: 2026-04-13 23:57 UTC

Message

Re: [milter-greylist] Whitelist with Sendmail access db

2017-07-03 by Johann Klasek

On Sat, Jul 01, 2017 at 06:17:03PM +0200, Markus Edemalm markus@... [milter-greylist] wrote:
> > 29 juni 2017 kl. 23:38 skrev Johann Klasek johann@... [milter-greylist] <milter-greylist@yahoogroups.com>:
> Thank you Johann! It???s working now! :)

Great!

> Now I only need to maintain one whitelist, shared between Sendmails dnsbl feature and milter-greylist.

Nice.

> The Sendmail config above should be included in the official documentation.

@Emmanuel, could you incorporate following patch for the README file?

--- README      2016-11-24 05:35:40.000000000 +0100
+++ README.N    2017-07-03 13:23:37.596828522 +0200
@@ -175,10 +175,26 @@
 SLocal_check_rcpt
 R$+            $: $(storage {greylist} $) $&{client_addr}
 R$+            $: $>A <$1> <?> <+Connect> <$1>
-R<$+> <$*>     $: $(storage {greylist} $@ $1 $) $2
+R<?> <$+>      $: <?> $&{client_name}
+R<?> $+                $: $>D <$1> <?> <+Connect> <$1>
+R<$+> <$*>     $: $(storage {greylist} $@ $1 $) $1
 
 Note that there must be tabs and no spaces before the "$:"!
 
+Some sample entries for /etc/mail/access ...
+
+Connect:1.2.3          OK
+Connect:provider.net   OK
+
+As RHS the keywords "WHITE", "RELAY" or "OK" are allowed. But to make sure
+Sendmail keeps accepting mails from the given source "OK" is the usually
+the best, except explicitly full relaying is desired where "RELAY" should
+be given.
+On the LHS the tag "connect:" is mandatory, followed by either an address
+or a domain (both of them might be partial, covering a whole network or
+any subdoman).
+
+
  3 Configuring Postfix with milter-greylist
  ==========================================
 

Regards,

Johann

Attachments

Move to quarantaine

This moves the raw source file on disk only. The archive index is not changed automatically, so you still need to run a manual refresh afterward.