Re: [exim] sending mail through squirrelmail

Pàgina inicial
Delete this message
Reply to this message
Autor: Thomas Hochstein
Data:  
A: exim-users
Assumpte: Re: [exim] sending mail through squirrelmail
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 rktmb@???, 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=<mihamina@???> rejected RCPT <rktmb@???>: 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