Re: Exim Mail Relay
On Thu, 17 Jan 2002, Andrew Tait wrote: > Never mind. Found it. > > host_reject = 1.2.3.9 > - Original Message - > > How can I prevent a single IP address from send mail through our server, > but > > allow the rest of the class C? > > host_accept_relay = "1.2.3.0/24:!1.2.3.9/32" The host list is scanned left to right. Also, if the last host is negated (and nothing previous matched), then all (*) hosts will match. So try reversing your host-list. Jeremy C. Reed echo '9,J8HD,[EMAIL PROTECTED]:[EMAIL PROTECTED];[EMAIL PROTECTED]@5GBIELD54DL>@8L?:5GDEJ8LDG1' |\ sed ss,s50EBsg | tr 0-M 'p.wBt SgiIlxmLhan:o,erDsduv/cyP'
Re: Exim Mail Relay
Never mind. Found it. host_reject = 1.2.3.9 Andrew Tait System Administrator Country NetLink Pty, Ltd E-Mail: [EMAIL PROTECTED] WWW: http://www.cnl.com.au 30 Bank St Cobram, VIC 3644, Australia Ph: +61 (03) 58 711 000 Fax: +61 (03) 58 711 874 "It's the smell! If there is such a thing." Agent Smith - The Matrix - Original Message - From: "Andrew Tait" <[EMAIL PROTECTED]> To: Sent: Thursday, January 17, 2002 11:02 AM Subject: Exim Mail Relay > A quick question I am hoping some can help me with. > > How can I prevent a single IP address from send mail through our server, but > allow the rest of the class C? > > I have already tried: > > host_accept_relay = "1.2.3.0/24:!1.2.3.9/32" > (address changed to hide open MTA) > > The situation is one of our satellite customers are running an open mail > relay (sigh), and are using our server as a smarthost for delivery. Until > their technician can get onsite to fix the mail server (sigh), I want to > stop this spam at our e-mail server by blocking all outgoing e-mail from > them. > > Andrew Tait > System Administrator > Country NetLink Pty, Ltd > E-Mail: [EMAIL PROTECTED] > WWW: http://www.cnl.com.au > 30 Bank St Cobram, VIC 3644, Australia > Ph: +61 (03) 58 711 000 > Fax: +61 (03) 58 711 874 > > "It's the smell! If there is such a thing." Agent Smith - The Matrix > > > -- > To UNSUBSCRIBE, email to [EMAIL PROTECTED] > with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED] > >
Exim Mail Relay
A quick question I am hoping some can help me with. How can I prevent a single IP address from send mail through our server, but allow the rest of the class C? I have already tried: host_accept_relay = "1.2.3.0/24:!1.2.3.9/32" (address changed to hide open MTA) The situation is one of our satellite customers are running an open mail relay (sigh), and are using our server as a smarthost for delivery. Until their technician can get onsite to fix the mail server (sigh), I want to stop this spam at our e-mail server by blocking all outgoing e-mail from them. Andrew Tait System Administrator Country NetLink Pty, Ltd E-Mail: [EMAIL PROTECTED] WWW: http://www.cnl.com.au 30 Bank St Cobram, VIC 3644, Australia Ph: +61 (03) 58 711 000 Fax: +61 (03) 58 711 874 "It's the smell! If there is such a thing." Agent Smith - The Matrix
Re: Exim Mail Relay
On Thu, 17 Jan 2002, Andrew Tait wrote: > Never mind. Found it. > > host_reject = 1.2.3.9 > - Original Message - > > How can I prevent a single IP address from send mail through our server, > but > > allow the rest of the class C? > > host_accept_relay = "1.2.3.0/24:!1.2.3.9/32" The host list is scanned left to right. Also, if the last host is negated (and nothing previous matched), then all (*) hosts will match. So try reversing your host-list. Jeremy C. Reed echo '9,J8HD,fDGG8B@?:536FC5=8@I;C5?@H5B0D@5GBIELD54DL>@8L?:5GDEJ8LDG1' |\ sed ss,s50EBsg | tr 0-M 'p.wBt SgiIlxmLhan:o,erDsduv/cyP' -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: Exim Mail Relay
Never mind. Found it. host_reject = 1.2.3.9 Andrew Tait System Administrator Country NetLink Pty, Ltd E-Mail: [EMAIL PROTECTED] WWW: http://www.cnl.com.au 30 Bank St Cobram, VIC 3644, Australia Ph: +61 (03) 58 711 000 Fax: +61 (03) 58 711 874 "It's the smell! If there is such a thing." Agent Smith - The Matrix - Original Message - From: "Andrew Tait" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Thursday, January 17, 2002 11:02 AM Subject: Exim Mail Relay > A quick question I am hoping some can help me with. > > How can I prevent a single IP address from send mail through our server, but > allow the rest of the class C? > > I have already tried: > > host_accept_relay = "1.2.3.0/24:!1.2.3.9/32" > (address changed to hide open MTA) > > The situation is one of our satellite customers are running an open mail > relay (sigh), and are using our server as a smarthost for delivery. Until > their technician can get onsite to fix the mail server (sigh), I want to > stop this spam at our e-mail server by blocking all outgoing e-mail from > them. > > Andrew Tait > System Administrator > Country NetLink Pty, Ltd > E-Mail: [EMAIL PROTECTED] > WWW: http://www.cnl.com.au > 30 Bank St Cobram, VIC 3644, Australia > Ph: +61 (03) 58 711 000 > Fax: +61 (03) 58 711 874 > > "It's the smell! If there is such a thing." Agent Smith - The Matrix > > > -- > To UNSUBSCRIBE, email to [EMAIL PROTECTED] > with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED] > > -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Exim Mail Relay
A quick question I am hoping some can help me with. How can I prevent a single IP address from send mail through our server, but allow the rest of the class C? I have already tried: host_accept_relay = "1.2.3.0/24:!1.2.3.9/32" (address changed to hide open MTA) The situation is one of our satellite customers are running an open mail relay (sigh), and are using our server as a smarthost for delivery. Until their technician can get onsite to fix the mail server (sigh), I want to stop this spam at our e-mail server by blocking all outgoing e-mail from them. Andrew Tait System Administrator Country NetLink Pty, Ltd E-Mail: [EMAIL PROTECTED] WWW: http://www.cnl.com.au 30 Bank St Cobram, VIC 3644, Australia Ph: +61 (03) 58 711 000 Fax: +61 (03) 58 711 874 "It's the smell! If there is such a thing." Agent Smith - The Matrix -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]