[Mimedefang] many recipients
Egor Moskvichev
jugr at mail.ru
Thu Sep 2 10:07:46 EDT 2004
Try this
if ($RelayAddr ne '192.198.100.10') {
if (scalar(@Recipients) > 5) {
return action_bounce("Too many recipients, message refused")
}
}
Egor Moskvichev
----- Original Message -----
From: "CONTRERAS, Pablo" <pcontreras at ecogas.com.ar>
To: <mimedefang at lists.roaringpenguin.com>
Sent: Thursday, September 02, 2004 2:32 AM
Subject: [Mimedefang] many recipients
> Hi, I test this and work ok!, my server run with relay of internet
> what can I do for apply this filter only with address external
> I try to make this but doesn't work
> I try this
> sub filter_begin {
> # Why doesn't work this "if"
> if ($RelayAddr ne "192.198.100.10"){
> # reject email with too many recipients
> if (@Recipients > 5) {
> return action_bounce("Too many recipients, message refused")
> }
> }
> }
More information about the MIMEDefang
mailing list