[Raw Msg Headers][Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Re Zmailer/netfind problem




  Well, Kamil Kukura <kamk@ccsun.tuke.cs> solved my problem very easily:  To
avoid having zmailer reply in the affirmative when it tried to verify/expand 
a name, change the server.cf file in the $MAILSHARE/cf directory.

  In the quadprint function, change one line!
# These functions are used by the smtpserver to do synchronous address checking.
quadprint (quad) {

#| This is a prettyprinter for address quads.  What it prints is what someone
#| doing a VRFY or EXPN quer


        local text

        case $(channel $quad) in
        local)  text=$(login2uid $(user $quad)) # ignore return value
                if text="$(fullname $(user $quad))"; then
                        text="local delivery for $text"
                else
!                       text="local delivery for"
                fi
                ;;
        usenet) text="local delivery to newsgroup" ;;

---------This then becomes---------
                if text="$(fullname $(user $quad))"; then
                        text="local delivery for $text"
                else
!                       # NO! text="local delivery for"
!                       text="550 no such user:"
                fi
                ;;
        usenet) text="local delivery to newsgroup" ;;
------------
(Boy, was that easy!)

  This appears to be a necessary and sufficient change for both 
expn andf vrfy, so I recommend it to the zmailer community.

  Again, this was to avoid returning a misleading message that mail for the
specified person is received locally, even if the person doesn't exist.  The
former (errornious) message causes netfind to report that it's found someone
when it really hasn't.

--dave