debugging SMTP AUTH

This is a discussion on debugging SMTP AUTH within the mailing.postfix.users forums, part of the Mail Servers and Related category; I have postfix 2.3.3 installed and configured on a home machine (running debian etch, if it matters). Since ...


Go Back   Usenet Forums > Mail Servers and Related > mailing.postfix.users

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 09-22-2006
ian_leroux@fastmail.fm
 
Posts: n/a
Default debugging SMTP AUTH

I have postfix 2.3.3 installed and configured on a home machine
(running debian etch, if it matters). Since I have a dynamic IP, I'm
using the sender-dependent relay host and authentication features to
relay my mail out through one of two servers on which I have accounts.
Of the two, one works fine, while the other consistently gives me
"relay access denied" bounce messages, which I assume means I'm not
authenticating properly with it. How can I find out if the smtp client
is attempting to authenticate and, if so, why it isn't succeeding? All
the logs and reports I've looked at merely have the failure message
itself, not the previous history. I've tried using sendmail -v and
debug_peer_list, perhaps incorrectly.

Example error message:

Sep 21 20:07:06 spip postfix/smtp[20508]: C23893A626: to=<XXX@mit.edu>,
relay=in1.smtp.messagingengine.com[66.111.4.73]:25, delay=0.89,
delays=0.03/0.03/0.32/0.51, dsn=5.0.0, status=bounced (host
in1.smtp.messagingengine.com[66.111.4.7
3] said: 554 <XXX@mit.edu>: Relay access denied (in reply to RCPT TO
command))

To add insult to injury, it was working last week, and I can't figure
out what relevant change I might have made.

Any guidance would be much appreciated.

Ian

Reply With Quote
  #2 (permalink)  
Old 09-22-2006
Greg Hackney
 
Posts: n/a
Default Re: debugging SMTP AUTH

ian_leroux@fastmail.fm wrote:
> I have postfix 2.3.3 installed and configured on a home machine
> (running debian etch, if it matters). Since I have a dynamic IP, I'm
> using the sender-dependent relay host and authentication features to
> relay my mail out through one of two servers on which I have accounts.
> Of the two, one works fine, while the other consistently gives me
> "relay access denied" bounce messages, which I assume means I'm not
> authenticating properly with it. How can I find out if the smtp client
> is attempting to authenticate and, if so, why it isn't succeeding? All
> the logs and reports I've looked at merely have the failure message
> itself, not the previous history. I've tried using sendmail -v and
> debug_peer_list, perhaps incorrectly.
>
> Example error message:
>
> Sep 21 20:07:06 spip postfix/smtp[20508]: C23893A626: to=<XXX@mit.edu>,
> relay=in1.smtp.messagingengine.com[66.111.4.73]:25, delay=0.89,
> delays=0.03/0.03/0.32/0.51, dsn=5.0.0, status=bounced (host
> in1.smtp.messagingengine.com[66.111.4.7
> 3] said: 554 <XXX@mit.edu>: Relay access denied (in reply to RCPT TO
> command))
>
> To add insult to injury, it was working last week, and I can't figure
> out what relevant change I might have made.
>
> Any guidance would be much appreciated.
>
> Ian



The server that you are connecting to doesn't support SMTP AUTH.
There are no AUTH mechanism being advertised, as shown below:


# telnet 66.111.4.73 25
Trying 66.111.4.73...
Connected to 66.111.4.73.
Escape character is '^]'.
220 mx4.messagingengine.com ESMTP . No UCE permitted.
ehlo hippie.cincomail.com
250-mx4.messagingengine.com
250-PIPELINING
250-SIZE 71000000
250-ETRN
250 8BITMIME


--
Greg




Reply With Quote
  #3 (permalink)  
Old 09-23-2006
ian_leroux@fastmail.fm
 
Posts: n/a
Default Re: debugging SMTP AUTH


Greg Hackney wrote:
> ian_leroux@fastmail.fm wrote:
> > I have postfix 2.3.3 installed and configured on a home machine
> > (running debian etch, if it matters). Since I have a dynamic IP, I'm
> > using the sender-dependent relay host and authentication features to
> > relay my mail out through one of two servers on which I have accounts.
> > Of the two, one works fine, while the other consistently gives me
> > "relay access denied" bounce messages, which I assume means I'm not
> > authenticating properly with it. How can I find out if the smtp client
> > is attempting to authenticate and, if so, why it isn't succeeding? All
> > the logs and reports I've looked at merely have the failure message
> > itself, not the previous history. I've tried using sendmail -v and
> > debug_peer_list, perhaps incorrectly.
> >
> > Example error message:
> >
> > Sep 21 20:07:06 spip postfix/smtp[20508]: C23893A626: to=<XXX@mit.edu>,
> > relay=in1.smtp.messagingengine.com[66.111.4.73]:25, delay=0.89,
> > delays=0.03/0.03/0.32/0.51, dsn=5.0.0, status=bounced (host
> > in1.smtp.messagingengine.com[66.111.4.7
> > 3] said: 554 <XXX@mit.edu>: Relay access denied (in reply to RCPT TO
> > command))
> >
> > To add insult to injury, it was working last week, and I can't figure
> > out what relevant change I might have made.
> >
> > Any guidance would be much appreciated.
> >
> > Ian

>
>
> The server that you are connecting to doesn't support SMTP AUTH.
> There are no AUTH mechanism being advertised, as shown below:
>
>
> # telnet 66.111.4.73 25
> Trying 66.111.4.73...
> Connected to 66.111.4.73.
> Escape character is '^]'.
> 220 mx4.messagingengine.com ESMTP . No UCE permitted.
> ehlo hippie.cincomail.com
> 250-mx4.messagingengine.com
> 250-PIPELINING
> 250-SIZE 71000000
> 250-ETRN
> 250 8BITMIME


Thank you very much. That pin-pointed the problem for me: I'd enabled
MX lookups by removing the square brackets around the hosts in the
sender-dependent relayhosts map, so that I was trying to authenticate
with the wrong server for outbound traffic.

Thanks again for the assistance,

Ian

Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT +1. The time now is 09:23 PM.


Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0