Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: exim: users

blocking on rcp phase a message from/to a certain domain

 

 

exim users RSS feed   Index | Next | Previous | View Threaded


leo at dicea

Oct 3, 2007, 1:40 AM

Post #1 of 4 (739 views)
Permalink
blocking on rcp phase a message from/to a certain domain

is there a way to give a 550 error to message that have as sender or
recipient any user on @unwanted.doma.in ???
(since unwanted.doma.in is a cname for the server, used only far a
particular service only from certain hosts, definively not for e-mail - it refuse
with a "lowest mx point to local host" but only after data, bouncing back ... i
wish it just drop connection immediately.


--
Leonardo Boselli
Nucleo informatico e Telematico
Dipartimento Ingegneria Civile e Ambientale
Universita` di Firenze
Via Santa Marta 3
I-50139 Firenze
+39 055-4796-431
+39 348-8605-348
fax 055-495-333


--
## List details at http://lists.exim.org/mailman/listinfo/exim-users
## Exim details at http://www.exim.org/
## Please use the Wiki with this list - http://wiki.exim.org/


leo at dicea

Oct 3, 2007, 1:40 AM

Post #2 of 4 (692 views)
Permalink
blocking on rcp phase a message from/to a certain domain [In reply to]

is there a way to give a 550 error to message that have as sender or
recipient any user on @unwanted.doma.in ???
(since unwanted.doma.in is a cname for the server, used only far a
particular service only from certain hosts, definively not for e-mail - it refuse
with a "lowest mx point to local host" but only after data, bouncing back ... i
wish it just drop connection immediately.


--
Leonardo Boselli
Nucleo informatico e Telematico
Dipartimento Ingegneria Civile e Ambientale
Universita` di Firenze
Via Santa Marta 3
I-50139 Firenze
+39 055-4796-431
+39 348-8605-348
fax 055-495-333


--
## List details at http://lists.exim.org/mailman/listinfo/exim-users
## Exim details at http://www.exim.org/
## Please use the Wiki with this list - http://wiki.exim.org/


leo at dicea

Oct 3, 2007, 8:37 AM

Post #3 of 4 (687 views)
Permalink
Re: blocking on rcp phase a message from/to a certain domain [In reply to]

On 3 Oct 2007 at 10:39, John Jetmore wrote:
> On Wed, 3 Oct 2007, Leonardo Boselli wrote:
> > is there a way to give a 550 error to message that have as sender or
> > recipient any user on @unwanted.doma.in ???

> I use it to block rcpt of domains that don't have MX records on servers
> that host the domain's A record. You could simplify it for your case and
> just have
> deny message = <$local_part@$domain> is not handled here (0x15)
> domains = unwanted.doma.in

I did this. the question was "have as sender or recipient".
I wanted to trash away _also_ messages that have unwanted.doma.in as a
sender !!!!
--
Leonardo Boselli
Nucleo informatico e Telematico
Dipartimento Ingegneria Civile e Ambientale
Universita` di Firenze
Via Santa Marta 3
I-50139 Firenze
+39 055-4796-431
+39 348-8605-348
fax 055-495-333


--
## List details at http://lists.exim.org/mailman/listinfo/exim-users
## Exim details at http://www.exim.org/
## Please use the Wiki with this list - http://wiki.exim.org/


mrshunz at gmail

Oct 3, 2007, 8:55 AM

Post #4 of 4 (684 views)
Permalink
Re: blocking on rcp phase a message from/to a certain domain [In reply to]

On 10/3/07, Leonardo Boselli <leo[at]dicea.unifi.it> wrote:
> On 3 Oct 2007 at 10:39, John Jetmore wrote:
> > On Wed, 3 Oct 2007, Leonardo Boselli wrote:
> > > is there a way to give a 550 error to message that have as sender or
> > > recipient any user on @unwanted.doma.in ???
>
> > I use it to block rcpt of domains that don't have MX records on servers
> > that host the domain's A record. You could simplify it for your case and
> > just have
> > deny message = <$local_part@$domain> is not handled here (0x15)
> > domains = unwanted.doma.in
>
> I did this. the question was "have as sender or recipient".
> I wanted to trash away _also_ messages that have unwanted.doma.in as a
> sender !!!!

Hi,

then you can use smth like:

deny message = unwanted.doma.in cannot send here!
sender_domains = unwanted.doma.in

--
Daniele Santi .o.
MrShunz[at]gmail.com ..o |,,,/_
Linux User #415108 ooo
---------------------------------------------------------
() ascii ribbon campaign - against html mail
/\ - against microsoft attachments
---------------------------------------------------------

--
## List details at http://lists.exim.org/mailman/listinfo/exim-users
## Exim details at http://www.exim.org/
## Please use the Wiki with this list - http://wiki.exim.org/

exim users RSS feed   Index | Next | Previous | View Threaded
 
 


Interested in having your list archived? Contact lists@gossamer-threads.com
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.