From: b1 on
Hello alltogether

Currently I am trying to set up a Debian Lenny Server, but I am stuck at
mail delivery. The server I am trying to set up, has no FQDN, so I used
my ISP-Mailserver as a smarthost (I enabled the proper SMTP
authentication in exim4).
This setup worked a few days, before I suddenly received 451 errors.
At first I thought it to be a problem with Exim4, so I switched to
postfix. But postfix also gives me the 451 error:

Apr 22 15:53:31 openshoolproxy postfix/smtp[24368]: 413CF26EF9:
to=<webservice(a)b1online.de>, orig_to=<root(a)openshoolproxy>,
relay=smtp.strato.com[81.169.145.132]:25, delay=2137,
delays=2136/0.05/0.33/0.12, dsn=4.0.0, status=deferred (host
smtp.strato.com[81.169.145.132] said: 451 Local Error (in reply to end
of DATA command))

To further troubleshoot my problem I used telnet to connect to
smtp.strato.com and to send a mail manually.

This is what I did:

telnet smtp.strato.de 25
Trying 81.169.145.133...
Connected to smtp.strato.de.
Escape character is '^]'.
220 smtp.passthru
EHLO openshoolproxy
250-smtp.passthru
250-ENHANCEDSTATUSCODES
250-8BITMIME
250-DELIVERBY
250-SIZE 104857600
250-AUTH PLAIN LOGIN CRAM-MD5
250 HELP
AUTH LOGIN
334 VXNlcm5hbWU6
d2Vic2VydmljZUBiMW9ubGluZS5kZQ==
334 UGFzc3dvcmQ6
xxxxMYPASSWORD_IN_BASE64xxxx
235 2.0.0 OK Authenticated
mail from: webservice(a)b1online.de
250 2.1.0 <webservice(a)b1online.de> Sender ok
rcpt to: benedikt(a)b1online.de
250 2.1.5 <benedikt(a)b1online.de> Recipient ok
DATA
354 Start mail input; end with <CRLF>.<CRLF>
test
..
451 Local Error




Very odd. After this fail I tried the same procedure from my arch linux
box at home. It succeeded:




telnet smtp.strato.com 25
Trying 81.169.145.132...
Connected to smtp.strato.com.
Escape character is '^]'.
220 post.strato.de [fruni mo3] ESMTP RZmta 23.0 ready; Thu, 22 Apr 2010
15:55:55 +0200 (MEST)
EHLO openshoolproxy
250-post.strato.de [fruni mo3] greets 79.230.91.82
250-ENHANCEDSTATUSCODES
250-8BITMIME
250-PIPELINING
250-DELIVERBY
250-SIZE 104857600
250-AUTH PLAIN LOGIN CRAM-MD5
250-STARTTLS
250 HELP
AUTH LOGIN
334 VXNlcm5hbWU6
d2Vic2VydmljZUBiMW9ubGluZS5kZQ==
334 UGFzc3dvcmQ6
xxxxMYPASSWORD_IN_BASE64xxxx
235 2.0.0 OK Authenticated
mail from: webservice(a)b1online.de
250 2.1.0 <webservice(a)b1online.de> Sender ok
rcpt to: benedikt(a)b1online.de
250 2.1.5 <benedikt(a)b1online.de> Recipient ok
DATA
354 Enter data for mail with id g0718am3MD7AJw
test mich
..
250 queued as g0718am3MD7AJw


This looks very strange to me. Independently from my mailserver the
telnet command should have succeeded on both machines. But it failed on
my debian box. What could be wrong? Is this a problem of my setup, or is
my ISP blocking something?

Thanks in advance

Benedikt




--
To UNSUBSCRIBE, email to debian-user-REQUEST(a)lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster(a)lists.debian.org
Archive: http://lists.debian.org/1271946001.11753.18.camel(a)localhost.localdomain
From: Sjoerd Hardeman on
b1 schreef:
> This looks very strange to me. Independently from my mailserver the
> telnet command should have succeeded on both machines. But it failed on
> my debian box. What could be wrong? Is this a problem of my setup, or is
> my ISP blocking something?
Did you try your Debian machine again? It might be a temporary problem
which was solved during your trip home to try it on the other computer.

Sjoerd

From: b1 on
Hi Sjoerd

Thank you for your answer.
I just logged onto the Debian machine (per ssh) and tried it again.
Unfortunately it failed again. As before it gave the 451 Local Error.


On Thu, 2010-04-22 at 16:24 +0200, Sjoerd Hardeman wrote:
> b1 schreef:
> > This looks very strange to me. Independently from my mailserver the
> > telnet command should have succeeded on both machines. But it failed on
> > my debian box. What could be wrong? Is this a problem of my setup, or is
> > my ISP blocking something?
> Did you try your Debian machine again? It might be a temporary problem
> which was solved during your trip home to try it on the other computer.
>
> Sjoerd
>



--
To UNSUBSCRIBE, email to debian-user-REQUEST(a)lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster(a)lists.debian.org
Archive: http://lists.debian.org/1271950330.11753.22.camel(a)localhost.localdomain
From: Camaleón on
On Thu, 22 Apr 2010 16:20:01 +0200, b1 wrote:

> Currently I am trying to set up a Debian Lenny Server, but I am stuck at
> mail delivery. The server I am trying to set up, has no FQDN, so I used
> my ISP-Mailserver as a smarthost (I enabled the proper SMTP
> authentication in exim4).
> This setup worked a few days, before I suddenly received 451 errors. At
> first I thought it to be a problem with Exim4, so I switched to postfix.
> But postfix also gives me the 451 error:
>
> Apr 22 15:53:31 openshoolproxy postfix/smtp[24368]: 413CF26EF9:
> to=<webservice(a)b1online.de>, orig_to=<root(a)openshoolproxy>,
> relay=smtp.strato.com[81.169.145.132]:25, delay=2137,
> delays=2136/0.05/0.33/0.12, dsn=4.0.0, status=deferred (host
> smtp.strato.com[81.169.145.132] said: 451 Local Error (in reply to end
> of DATA command))

Mmm, the remote server (81.169.145.132) has encountered some kind of
error while sending "data" command.

But, are you in control of Strato's server? If no, then you can only
contact them and request more info about this error. If the problem is on
their side, you can only "guess".

(...)

> telnet smtp.strato.de 25
> Trying 81.169.145.133...
> Connected to smtp.strato.de.
> Escape character is '^]'.
> 220 smtp.passthru
^^^^^^^^^^^^^

(...)

> 451 Local Error

Look that "smtp.passthru" string, it seems some kind of proxy/redirector
service.

> Very odd. After this fail I tried the same procedure from my arch linux
> box at home. It succeeded:
>
>
>
>
> telnet smtp.strato.com 25
> Trying 81.169.145.132...
> Connected to smtp.strato.com.
> Escape character is '^]'.
> 220 post.strato.de [fruni mo3] ESMTP RZmta 23.0 ready; Thu, 22 Apr 2010
> 15:55:55 +0200 (MEST)

(...)

> 250 queued as g0718am3MD7AJw

That server response looks more "normal". No proxy between you and smtp
server.

(...)

If available, try to send an e-mail using a secure channel (SSL/TLS
465/587 port) and check if that works. The idea behind this is to bypass
the proxy server on their side altough I'm not sure this will work :-/

Greetings,

--
Camaleón


--
To UNSUBSCRIBE, email to debian-user-REQUEST(a)lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster(a)lists.debian.org
Archive: http://lists.debian.org/pan.2010.04.22.17.28.16(a)gmail.com
From: deloptes on
b1 wrote:

> On Thu, 2010-04-22 at 17:28 +0000, Camaleón wrote:
>> On Thu, 22 Apr 2010 16:20:01 +0200, b1 wrote:
>>
>> > Currently I am trying to set up a Debian Lenny Server, but I am stuck
>> > at mail delivery. The server I am trying to set up, has no FQDN, so I
>> > used my ISP-Mailserver as a smarthost (I enabled the proper SMTP
>> > authentication in exim4).
>> > This setup worked a few days, before I suddenly received 451 errors. At
>> > first I thought it to be a problem with Exim4, so I switched to
>> > postfix. But postfix also gives me the 451 error:
>> >
>> > Apr 22 15:53:31 openshoolproxy postfix/smtp[24368]: 413CF26EF9:
>> > to=<webservice(a)b1online.de>, orig_to=<root(a)openshoolproxy>,
>> > relay=smtp.strato.com[81.169.145.132]:25, delay=2137,
>> > delays=2136/0.05/0.33/0.12, dsn=4.0.0, status=deferred (host
>> > smtp.strato.com[81.169.145.132] said: 451 Local Error (in reply to end
>> > of DATA command))
>>
>> Mmm, the remote server (81.169.145.132) has encountered some kind of
>> error while sending "data" command.
>>
>> But, are you in control of Strato's server? If no, then you can only
>> contact them and request more info about this error. If the problem is on
>> their side, you can only "guess".
>>
>> (...)
>>
>> > telnet smtp.strato.de 25
>> > Trying 81.169.145.133...
>> > Connected to smtp.strato.de.
>> > Escape character is '^]'.
>> > 220 smtp.passthru
>> ^^^^^^^^^^^^^
>>
>> (...)
>>
>> > 451 Local Error
>>
>> Look that "smtp.passthru" string, it seems some kind of proxy/redirector
>> service.
>>
>> > Very odd. After this fail I tried the same procedure from my arch linux
>> > box at home. It succeeded:
>> >
>> >
>> >
>> >
>> > telnet smtp.strato.com 25
>> > Trying 81.169.145.132...
>> > Connected to smtp.strato.com.
>> > Escape character is '^]'.
>> > 220 post.strato.de [fruni mo3] ESMTP RZmta 23.0 ready; Thu, 22 Apr 2010
>> > 15:55:55 +0200 (MEST)
>>
>> (...)
>>
>> > 250 queued as g0718am3MD7AJw
>>
>> That server response looks more "normal". No proxy between you and smtp
>> server.
>>
>> (...)
>>
>> If available, try to send an e-mail using a secure channel (SSL/TLS
>> 465/587 port) and check if that works. The idea behind this is to bypass
>> the proxy server on their side altough I'm not sure this will work :-/
>>
>> Greetings,
>>
>> --
>> Camaleón
>>
>>
>
>
> Hey thanks camaleon
>
> You pointed me at the right direction with your passthru hint. We had a
> proxy on our net, through which the smtp-messages were going. This proxy
> had a virus scanner, which caused the problem. After disabling the
> scanner everything works fine.
>
> Thank you
>
> Benedikt
>
>
>

if you have been using amavis or am,amavis+clamav be aware that support for
older clamav was thrown away, so it's not working very well. It was
blocking my email for some time.

regards


--
To UNSUBSCRIBE, email to debian-user-REQUEST(a)lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster(a)lists.debian.org
Archive: http://lists.debian.org/hqubp3$u6h$2(a)dough.gmane.org