Mailing List Archive

can send but not receive
Hello All Exim Users,
I write from Italy and I've configured a Debian Server in my home on the
static IP of my ADSL connection.
I've installed Exim through apt-get and its installation script, setting it
with direct smtp connection. I can successfully send mail to anyone, but I
can only receive them in my local home network. Any attempt to send a mail to
my server from the Internet result in this error message: 5.1.1 not a valid
mail-box.

In the documentation I don't find anything useful to solve the problem. Can
you help me please?

Best wishes
Paolo
Re: can send but not receive [ In reply to ]
On Sun, 21 Jul 2002, Paolo Gaggini wrote:

> Hello All Exim Users,
> I write from Italy and I've configured a Debian Server in my home on the
> static IP of my ADSL connection.
> I've installed Exim through apt-get and its installation script, setting it
> with direct smtp connection. I can successfully send mail to anyone, but I
> can only receive them in my local home network. Any attempt to send a mail to
> my server from the Internet result in this error message: 5.1.1 not a valid
> mail-box.

Do you have a domain? Does the MX point at the hostname of your server?
(which should then have an A record with the IP of your server) Does the
username of the email address exist on your server?

What is the email address you were trying to send to?

What was the entire bounce message?

>
> In the documentation I don't find anything useful to solve the problem. Can
> you help me please?
>
> Best wishes
> Paolo
>
> --
>
> ## List details at http://www.exim.org/mailman/listinfo/exim-users Exim details at http://www.exim.org/ ##
>
>
Re: can send but not receive [ In reply to ]
On Sunday 21 July 2002 16:46, you wrote:
> Do you have a domain? Does the MX point at the hostname of your server?

Yes I have, and then I asked my provider to change the MX record.
Now the original domain is www.gseserver.net while the MX record is
mail.gseserver.net. Both domains point to the same IP address (the IP of my
ADSL connection).

> username of the email address exist on your server?
> What is the email address you were trying to send to?

Yes. In my home I've 4 PC in the same LAN. One of them is the server
(directly connected to the Internet), and there is a "paolo" user who can
send mails in the Internet and receive mail from the other 3 LAN PC but not
from the Internet. I think only local mail is received, but I can't
understand why.

Thanks a lot!
Re: can send but not receive [ In reply to ]
On Sun, 21 Jul 2002, Paolo Gaggini wrote:

> On Sunday 21 July 2002 16:46, you wrote:
> > Do you have a domain? Does the MX point at the hostname of your server?
>
> Yes I have, and then I asked my provider to change the MX record.
> Now the original domain is www.gseserver.net while the MX record is
> mail.gseserver.net. Both domains point to the same IP address (the IP of my
> ADSL connection).

Er, you mean, the domain is 'gseserver.net', and the MX record for that
domain points at the _host_ 'mail.gseserver.net', for which the IP
address is 213.155.200.101

I assume someone on the Internet is trying to send to
'paolo@gseserver.net' ?

I dunno about anything else, but your server is accepting SMTP
connections and immediately closing them (see below.) You'll need to
figure that out and fix it before you can go any further.

It would also help if you posted the FULL bounce message that the
outside user received when trying to send..

$ telnet mail.gseserver.net 25
Trying 213.155.200.101...
Connected to mail.gseserver.net.
Escape character is '^]'.
Connection closed by foreign host.




>
> > username of the email address exist on your server?
> > What is the email address you were trying to send to?
>
> Yes. In my home I've 4 PC in the same LAN. One of them is the server
> (directly connected to the Internet), and there is a "paolo" user who can

Are you trying to send to 'paolo@gseserver.net' ??

Post the _FULL_ bounce message that the outside user received.



> send mails in the Internet and receive mail from the other 3 LAN PC but not
> from the Internet. I think only local mail is received, but I can't
> understand why.
>
> Thanks a lot!
>
>
> --
>
> ## List details at http://www.exim.org/mailman/listinfo/exim-users Exim details at http://www.exim.org/ ##
>
>
Re: can send but not receive [ In reply to ]
On Sunday 21 July 2002 20:53, you wrote:
> Er, you mean, the domain is 'gseserver.net', and the MX record for that
> domain points at the _host_ 'mail.gseserver.net', for which the IP
> address is 213.155.200.101

Oops.. ok! Excuse me but... I'm a molecular biologist! Informatics is a
recent passion, and for me it's difficult to correctly translate the tech
English of the documentation. So, "www" and "mail" are hosts. I called them
"third level domain".

> I assume someone on the Internet is trying to send to
> 'paolo@gseserver.net' ?

Right!

> It would also help if you posted the FULL bounce message that the
> outside user received when trying to send..

I use KMail (in a Madrake8.1/KDE3 system), which returns a window saying:

******************
Sending failed:
The server didn't accept one of the recipients.
It said: 5.1.1 <paolo@gseserver.net> is not a valid mailbox
********************************************

> $ telnet mail.gseserver.net 25
>
> Connection closed by foreign host.

That's interesting. I have no idea for that. Do you use a Linux system (well,
with pine..)? May you try to suppose what can be the problem? Why it should
accept the connection and then close it immediately???

Thanks again! :)
Re: can send but not receive [ In reply to ]
On Sun, 21 Jul 2002, Paolo Gaggini wrote:

> I use KMail (in a Madrake8.1/KDE3 system), which returns a window saying:
>
> ******************
> Sending failed:
> The server didn't accept one of the recipients.
> It said: 5.1.1 <paolo@gseserver.net> is not a valid mailbox
> ********************************************

Try telnetting into port 25 on your server, and issue something like:

EHLO gseserver.net
mail from:<paolo@gseserver.net>
rcpt to:<paolo@gseserver.net>
data
"anything you want"
.

And post the output>

> > $ telnet mail.gseserver.net 25
> >
> > Connection closed by foreign host.
>
> That's interesting. I have no idea for that. Do you use a Linux system (well,
> with pine..)? May you try to suppose what can be the problem? Why it should
> accept the connection and then close it immediately???
>
> Thanks again! :)

pts/2 juha@vim2:~$ mail -v paolo@gseserver.net
Subject: test
asfd
.
LOG: MAIN
<= juha@saarinen.org U=juha P=local S=315
pts/2 juha@vim2:~$ Connecting to mail.gseserver.net [213.155.200.101]:25
... connected
LOG: MAIN
Remote host mail.gseserver.net [213.155.200.101] closed connection in
response to initial connection
LOG: MAIN
== paolo@gseserver.net R=dnslookup T=remote_smtp defer (-18): Remote
host mail.gseserver.net [213.155.200.101] closed connection in response to
initial connection


Have you tcp-wrapped the smtp daemon?

Should show up in /var/log/exim/main.log.


--
Juha Saarinen