Rakotomandimby Mihamina schrieb:

> When I login in the shell (SSH) and I try to send a mail to one of my
> adress, let's say [EMAIL PROTECTED], it succeds. Orange.fr is not hosted
> on the server.

When you send mail from the shell, you don't use SMTP, but some kind
of direct injection.

> When I use the webmail, set to use localhost, the relay is not
> permitted!
>
> ############# Exim4 main log ###################
> 2005-11-03 21:27:16 H=localhost (webmail.suntechweb.com) [127.0.0.1]
> F=<[EMAIL PROTECTED]> rejected RCPT <[EMAIL PROTECTED]>: relay not
> permitted  

You webmail *does* use SMTP.

> Would you help me to find out the problem?

You need to have a look at your ACLs and allow to send mail from
localhost withaut authentification.

> The question is 
> Why does Exim consider that the webmail is not on the local machine?

It does - but obviously you don't allow relaying from localhost.

Try something like:

|   # Accept locally generated mail
|
|   accept  hosts = 127.0.0.1 : 10.0.0.9 : localhost : webmail.suntechweb.com

in acl_check_rcpt (or however your "acl_smtp_rcpt" is called).

-thh

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

Reply via email to