On 2006-01-31 11:09:55 +0100, csere matyas wrote: > we have a client that doesnt want to loose any mail, and asked us not to > scan any mail addressed to him. > is there a way to do recipient whitelisting, eg if the mail is to > [EMAIL PROTECTED] it would always pass, and get delivered?
Gavin Carr's whitelist_soft may be what you are looking for[1] (see http://www.openfusion.com.au/labs/qpsmtpd/). For more fine-grained control, you might want to look at my aliases* plugins[2], which allow you to attach arbitrary labels to recipients which can then be checked by other plugins (I use this to select greylisting and some body scans only for selected recipients). Since you write "scan any mail": Be aware that you can only return a single success code after receiving the header and body of the mail. If a single mail is addressed to [EMAIL PROTECTED] and [EMAIL PROTECTED], you can only accept the mail for both or reject it for both if the rejection is based on the content of the mail. There are ways around this limitation[1][3], but they involve temporary rejections, and some (broken) MTAs don't handle them gracefully, so that may not be acceptable if you absolutely cannot afford to lose legitimate mails. Assuming that your client has a domain of its own its probably simplest to set up a second MX without any filters. hp [1] http://www.openfusion.com.au/labs/qpsmtpd/ [2] http://www.hjp.at/projekte/qpsmtpd/aliases/ [3] http://www.hjp.at/projekte/qpsmtpd/cf_wrapper/ -- _ | Peter J. Holzer | Ich sehe nun ein, dass Computer wenig |_|_) | Sysadmin WSR | geeignet sind, um sich was zu merken. | | | [EMAIL PROTECTED] | __/ | http://www.hjp.at/ | -- Holger Lembke in dan-am
pgpH73KSTKhLD.pgp
Description: PGP signature
