[exim] sending mail through squirrelmail

Pàgina inicial
Delete this message
Reply to this message
Autor: Rakotomandimby Mihamina
Data:  
A: exim-users, squirrelmail-users
CC: 
Assumpte: [exim] sending mail through squirrelmail
Hi,

I have a Debian server, running Exim 4.5x and Squirrelmail 1.4.5, all
debian packaged.

The hosted local domains are la-roseraie.be and suntechweb.com. They are
virtual domains, and they receive mail correctly.

############# part of exim4.conf #####################
.ifndef MAIN_LOCAL_DOMAINS
MAIN_LOCAL_DOMAINS = @:localhost:dsearch;/etc/exim4/virtual_domains
.endif
domainlist local_domains = MAIN_LOCAL_DOMAINS
######################################################

    $ ls -l /etc/exim4/virtual_domains
    -rw-r--r--  1 root root 22 Oct 18 15:12 la-roseraie.be
    -rw-r--r--  1 root root 93 Oct 18 15:01 suntechweb.com



The URL of the webmail is either http://webmail.la-roseraie.be or
http://webmail.suntechweb.com. The webmail is on the same machine as the
Exim.

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 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
2005-11-03 21:27:16 unexpected disconnection while reading SMTP command
from localhost (webmail.suntechweb.com) [127.0.0.1]
2005-11-03 21:27:57 H=localhost (webmail.suntechweb.com) [127.0.0.1]
F=<> rejected RCPT <rktmb@???>: relay not permitted
2005-11-03 21:27:57 unexpected disconnection while reading SMTP command
from localhost (webmail.suntechweb.com) [127.0.0.1]
###############################################

These are two attempts where i set and unset the Sender address in
squirrelmail.

Would you help me to find out the problem?

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

I wonder, because I get the same error message when I try to use this
MTA from anywhere _without_ SMTP_AUTH.

Thank you very much

--
Administration & Formation à l'administration
de serveurs dédiés:
http://www.google.fr/search?q=aspo+infogerance+serveur