Jeff Abrahamson on 5 Jun 2004 21:01:03 -0000


[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]

[PLUG] Re: machines (and parts) to a good home


Dan Widyono wrote (in private mail):
> Does purple.com have to be first entry in localhost, perhaps
> sendmail does reverse lookup too?

That seemed quite reasonable, but I figured I should do it with a
CNAME in /etc/bind/*.

This fixes the check_mail problem:

    jeff@diderot:jeff $ echo check_mail jeff@purple.com | /usr/lib/sendmail -bt
    ADDRESS TEST MODE (ruleset 3 NOT automatically invoked)
    Enter <ruleset> <address>
    > check_mail         input: jeff @ purple . com
    Basic_check_mail   input: jeff @ purple . com
    tls_client         input: $| MAIL
    TLS_connection     input:
    TLS_connection   returns:
    tls_client       returns:
    CanonAddr          input: < jeff @ purple . com >
    canonify           input: < jeff @ purple . com >
    Canonify2          input: jeff < @ purple . com >
    Canonify2        returns: jeff < @ diderot . purple . com . >
    canonify         returns: jeff < @ diderot . purple . com . >
    Parse0             input: jeff < @ diderot . purple . com . >
    Parse0           returns: jeff < @ diderot . purple . com . >
    CanonAddr        returns: jeff < @ diderot . purple . com . >
    Basic_check_mail returns: < OKR >
    check_mail       returns: < OKR >
    > jeff@diderot:jeff $ 

but now leaves me with an authorization problem:

    Jun  5 16:46:52 diderot sm-mta[27417]: i55KkqX7027417: ruleset=check_rcpt, arg1=<jeffa@cs.drexel.edu>, relay=asterix.purple.com [192.168.0.6], reject=550 5.7.1 <jeffa@cs.drexel.edu>... Relaying denied. Proper authentication required.
    Jun  5 16:46:52 diderot sm-mta[27417]: i55KkqX7027417: from=<jeff@purple.com>, size=1372, class=0, nrcpts=0, proto=ESMTP, daemon=MTA, relay=asterix.purple.com [192.168.0.6]
    Jun  5 16:46:52 diderot sm-mta[27418]: i55KkqX7027418: from=<>, size=1299, class=0, nrcpts=1, msgid=<E1BWi44-00048F-00@asterix.purple.com>, proto=ESMTP, daemon=MTA, relay=asterix.purple.com [192.168.0.6]
    Jun  5 16:46:52 diderot sm-mta[27419]: i55KkqX7027418: to=<jeff@purple.com>, delay=00:00:00, xdelay=00:00:00, mailer=local, pri=31511, dsn=2.0.0, stat=Sent


What does it mean by authentication?  How did I suddenly get an
authenticating smtp server?  Do I want this?  And what do I do if I
don't?

The other problem I at least knew something of how to look for, this
one I'm a bit more lost.  Still, I can reproduce it this way:

    jeff@diderot:jeff $ echo check_rcpt jeff@purple.com | /usr/lib/sendmail -bt
    ADDRESS TEST MODE (ruleset 3 NOT automatically invoked)
    Enter <ruleset> <address>
    > check_rcpt         input: jeff @ purple . com
    Basic_check_rcpt   input: jeff @ purple . com
    Rcpt_ok            input: jeff @ purple . com
    ParseRecipient     input: jeff @ purple . com
    CanonAddr          input: jeff @ purple . com
    canonify           input: jeff @ purple . com
    Canonify2          input: jeff < @ purple . com >
    Canonify2        returns: jeff < @ diderot . purple . com . >
    canonify         returns: jeff < @ diderot . purple . com . >
    Parse0             input: jeff < @ diderot . purple . com . >
    Parse0           returns: jeff < @ diderot . purple . com . >
    CanonAddr        returns: jeff < @ diderot . purple . com . >
    ParseRecipient   returns: jeff < @ diderot . purple . com >
    Rcpt_ok          returns: RELAY
    Basic_check_rcpt returns: RELAY
    check_rcpt       returns: RELAY
    > jeff@diderot:jeff $ 

But diderot.purple.com is, indeed, listed in /etc/mail/sendmail.cw.
(Is this the right place?  It used to be.)  So what might be the cause
of this?

*Sigh.*

Thanks in advance for further suggestions.

At least it's raining out...

-Jeff Abrahamson





___________________________________________________________________________
Philadelphia Linux Users Group         --        http://www.phillylinux.org
Announcements - http://lists.phillylinux.org/mailman/listinfo/plug-announce
General Discussion  --   http://lists.phillylinux.org/mailman/listinfo/plug