MS+Postfix, Selective HOLD

Hugo van der Kooij hvdkooij at vanderkooij.org
Thu May 8 20:07:26 IST 2008


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Stef Morrell wrote:
|> -----Original Message-----
|> From: mailscanner-bounces at lists.mailscanner.info
|> [mailto:mailscanner-bounces at lists.mailscanner.info] On Behalf
|> Of Hugo van der Kooij
|> Sent: 08 May 2008 06:50
|>
|> | Do you perchance have a similar method whereby one can bypass email
|> | *from* certain senders?
|>
|> Any access list you put in there with a OK instead of a HOLD
|> will do the trick.
|
| So, if I were, for example, to use your rule file e.g.
| /etc/postfix/MailScanner
|
| #	These senders will not be scanned with MailScanner
| /^bypass at example\.org$/			OK
| #       Everyone else will go through MailScanner!
| /.*/                                    HOLD
| /^$/                                    HOLD
|
| But in the context of
|
| smtpd_sender_restrictions =
| 	some_options,
| ...
| 	check_sender_access regexp:/etc/postfix/MailScanner
|
| That will have the desired effect.
|
| Could you whitelist both senders & recipients this way, or would it hit
| the HOLD action in either ruleset to pass via MS?

Nope. Once you hit a rule you are done.

Hugo.

- --
hvdkooij at vanderkooij.org               http://hugo.vanderkooij.org/
PGP/GPG? Use: http://hugo.vanderkooij.org/0x58F19981.asc

	A: Yes.
	>Q: Are you sure?
	>>A: Because it reverses the logical flow of conversation.
	>>>Q: Why is top posting frowned upon?

Bored? Click on http://spamornot.org/ and rate those images.

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.7 (GNU/Linux)

iD8DBQFII09eBvzDRVjxmYERAs0GAJ99aGO+93rcqDNoWSWncWbFhocNuwCaAxJx
aFY23xy/C5D0Gt0+0EYu/ro=
=UxL0
-----END PGP SIGNATURE-----


More information about the MailScanner mailing list