Re: [exim] blocking on rcp phase a message from/to a certain…

Page principale
Supprimer ce message
Répondre à ce message
Auteur: Mr Shunz
Date:  
À: exim-users
Sujet: Re: [exim] blocking on rcp phase a message from/to a certain domain
On 10/3/07, Leonardo Boselli <leo@???> 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@???    ..o   |,,,/_
Linux User #415108   ooo
---------------------------------------------------------
()  ascii ribbon campaign - against html mail
/\                        - against microsoft attachments
---------------------------------------------------------