Yahoo Groups archive

Milter-greylist

Index last updated: 2026-04-28 23:32 UTC

Message

Re: [milter-greylist] patch for blacklist support

2005-06-30 by manu@netbsd.org

Dan Hollis <goemon@...> wrote:

> It would be nice to specify a custom reject message. This is the main
> thing special about /etc/mail/access.
> 
> acl blacklist blabla1 text "554 5.7.1 fuck spammers"
> acl blacklist blabla2 text "554 5.7.1 twit filter"
> acl blacklist blabla3 text "554 5.7.1 mail refused. your domain does not
> have a working abuse or postmaster mailbox."
> acl blacklist blabla4 text "554 5.7.1 yumago dong-mogo"

I added this (well, it's the message keyword instead of text... maybe it
should be named status?), and I added helo as well.

http://ftp.espci.fr/shadow/manu/blacklist2.diff 

Now, this seems buggy: try this
acl blacklist from manu@... rcpt toto@...
acl blacklist from manu@... rcpt titi@... message "551
5.0.0 go away"

Send a message from manu@... to two recipients: toto@...
and titi@.... The second message is accepted.

Someone wants to debug it? I'm getting bored with it.

-- 
Emmanuel Dreyfus
Le cahier de l'admin BSD 2eme ed. est dans toutes les bonnes librairies
http://www.eyrolles.com/Informatique/Livre/9782212114638/livre-bsd.php
manu@...

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.