Re: SMTP-Error 451 while using smarthost for mail delivery
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@b1online.de>, orig_to=<root@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
Reply to: