[Pkg-exim4-users] smtp authentication (exim as a client) problem

marcopar at gmail.com marcopar at gmail.com
Thu Apr 5 10:22:37 UTC 2007


Marc Haber wrote:

> I suggest using swaks to send test e-mails with and without
> authentication via both DSL providers to the same smarthost and find
> out when the smarthost accepts your messages and when not.
> 

the smarthost works only with plain authentication.
using swaks directly on the smarthost as you suggests works well with 
both providers as far as you provide correct username and password.

# swaks -a -s smtp.smartres.eu
To: marcopar at inwind.it
Username: ----
Password: ----
=== Trying smtp.smartres.eu:25...
=== Connected to smtp.smartres.eu.
<-  220 smtp4.aruba.it ESMTP
  -> EHLO ciop.smartres.localdomain
<-  250-smtp4.aruba.it
<-  250-AUTH LOGIN PLAIN
<-  250-AUTH=LOGIN PLAIN
<-  250-PIPELINING
<-  250 8BITMIME
  -> AUTH PLAIN AHBvc3RhaW51c2NpdGFAc21hcnRyZXMuZXUAc210cG91dDk3Ng==
<-  235 ok, go ahead (#2.0.0)
  -> MAIL FROM:<root at ciop.smartres.localdomain>
<-  250 ok
  -> RCPT TO:<marcopar at inwind.it>
<-  250 ok
  -> DATA
<-  354 go ahead
  -> Date: Thu, 05 Apr 2007 12:16:35 +0200
  -> To: marcopar at inwind.it
  -> From: root at ciop.smartres.localdomain
  -> Subject: test Thu, 05 Apr 2007 12:16:35 +0200
  -> X-Mailer: swaks v20040404.1 jetmore.org/john/code/#swaks
  ->
  -> This is a test mailing
  ->
  -> .
<-  250 ok 1175768210 qp 31988
  -> QUIT
<-  221 smtp4.aruba.it
=== Connection closed by foreign host.


as you can see the smarthost resolves to multiples ip:

# host smtp.smartres.eu
smtp.smartres.eu has address 62.149.128.203
smtp.smartres.eu has address 62.149.128.200
smtp.smartres.eu has address 62.149.128.201
smtp.smartres.eu has address 62.149.128.202

and if you reverse lookup one of the ip:
# host 62.149.128.200
200.128.149.62.in-addr.arpa domain name pointer smtpa3.aruba.it.

don't know if this matters but if it does it would be interesting to 
know why it gives problems only with one of the providers.

ciao



More information about the Pkg-exim4-users mailing list