Re: [Exim] Help Pls

Pàgina inicial
Delete this message
Reply to this message
Autor: Sanvir Singh Jham
Data:  
A: Philip Hazel
CC: exim-users
Assumpte: Re: [Exim] Help Pls
Hello Philip

Thanks for helping me out with this: However, I am getting a bounced mail,
whenever a mail is sent to @somedomain.com, with

"cat" command not found for block_domain transport

Another query: By implementing block_domain, am I blocking only out-bound
mails or the in-bound mails for somedomain.com too.

How do I resolve this? Yet to get the mail size stuff working !!

Thanks once again

Regards,
Sanvir


Philip Hazel wrote:

> On Mon, 25 Jun 2001, Sanvir Singh Jham wrote:
>
> > I am running exim as the mail server for my organisation. The problem
> > I am facing is that the employees send mails directly to our clients at
> > ( lets say @somedomain.com), I want to control this, either just
> > dropping/blocking/rejecting the mails being sent to
> > anyone@???. That is want to control the out-bound mails to a
> > particular domain.
>
> Set up a first router like this:
>
> block_domain:
> driver = domainlist
> transport = block_domain
> route_list = somedomain.com
>
> Set up a matching transport like this:
>
> block_domain:
> driver = pipe
> return_output
> command = cat /some/file
> user = exim
>
> And then in the /some/file you can put the message, e.g.
>
> You are not allowed to send mail to somedomain.com. Please go and
> apologise to your manager and take a 50% pay cut this month.
>
> If you want to allow some users to mail to that domain, you can put
> further conditions on the router, such as "senders" or "condition".
>
> > Also how can I restrict the message sizes, like the mail server will not
> > allow in-bound or out-bound mails whose size exceeds a certain limit say
> > 500KB.
>
> Exim manual => index => "size limit" => page 86 => message_size_limit.
>
> --
> Philip Hazel            University of Cambridge Computing Service,
> ph10@???      Cambridge, England. Phone: +44 1223 334714.


--
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Sanvir Singh Jham                   Tel: 694 1831/6619/6612/8617/ 5226/7/8
Velocient Technologies Limited      Fax: 694 3732
New Delhi                           E-Mail:sanvir.jham@???
                                            ssjham@???
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
                         Just Believe in the Best