Make sure you don't have
sender_host_reject_relay = *
in your configure file. The default is to completely block relaying. You
will probably want to add:
sender_host_accept_relay= host_name_of_smtp_box
iqbal wrote:
> Hi
>
> I am currently trying to setup exim, I have a machine running sendmail
> actiong as the smtp box, exim is sitting on another machine, when I send
> mail from exim itself it works correctly the mail gets delivered fine,
> when I do it via the smtp box (i.e externally) it comres up with the
> error relay not prohibited.
>
> eg send email to domain.com externally ---> works correctly
> send email to sub.domain.com externally --->relay prohibited
> send email to sub.domain.com internally (fromexim box) --->no probs
>
> I have the domain in the localdoms file etc etc, but obviously I'm
> blocking something
>
> Iqbal
>
> --
> *** Exim information can be found at http://www.exim.org/ ***
--
*** Exim information can be found at
http://www.exim.org/ ***