Re: [Exim] sender_verify always successful

Page principale
Supprimer ce message
Répondre à ce message
Auteur: Michael West
Date:  
À: Philip Hazel, exim-users
Sujet: Re: [Exim] sender_verify always successful
    O.K. now this is working.

    first the lookuphost needed someway to send stuff if it was going to validate local parts of
    non-local domains. So now the router is:


    lookuphost:
        driver = lookuphost
        transport = remote_smtp
        verify_only


    Also, I was unable to verify local parts because my firewall would not let me.


    Duh.


    Sorry to pollute your mail with these messages.

    
I decided to move from sendmail to exim because I am going to have a more interesting mail
configuration soon. When I finally got sendmail working a year ago, I never understood why it
worked or what it was doing.

Exim is nice. It makes sense. I am confident that I can get it to do whatever I need it to.

    Not to say that I will not post again.


    Thanks,
            ~Michael



On Mon, Sep 17, 2001 at 10:14:15AM -0700, Michael West wrote:
>
>     Well, I think I am right about smarthost.

>
>     I set my smarthost to no_verify and added a new router:

>
> -----
> lookuphost:
>     driver = lookuphost
>     verify_only
> -----

>
> Now `exim -bvs asdf@jkl`
> does not verify, and good addresses are verified.
>
> This trouble now is that all of my incoming messages cannot be verified.
> here is a sample of my reject log
>
> -----
> 2001-09-17 09:58:50 rejected MAIL FROM:<exim-users-admin@???>
> H=localhost.localdomain (localhost) [12
> 7.0.0.1] temporarily unable to verify sender address (try again later)
> -----
>
>     Any ideas on this part.  Does my new routing look O.K.

>
>     The exim book has become my nightly reading.  I am just beginning to
>     understand the architecture enough to figure this out.

>
>     I'll keep plugging away, but will hope to here from you.

>
>     Thanks
>             Michael

>
>
>
>
>
>
>
> On Mon, Sep 17, 2001 at 09:23:57AM -0700, Michael West wrote:
> >
> >     Here is the output.  

> >
> >     The only thing I can think of is that this does not work in
> > conjunction with smarthost.

> >
> >     Let me know what you think
> > -----------------

> >
> > exim -d9 -bv asdf@jkl
> > Exim version 3.22 debug level 9 uid=0 gid=0
> > Berkeley DB: Sleepycat Software: DB 2.4.14: (6/2/98)
> > c138685-b.sttls1.wa.home.com in local_domains? yes (matched
> > c138685-b.sttls1.wa.home.com)
> > Actual local interface address is 127.0.0.1 (lo)
> > Actual local interface address is 24.10.41.243 (eth0)
> > Caller is an admin user
> > Caller is a trusted user
> > user name "root" extracted from gecos field "root"
> > originator: uid=0 gid=0 login=root name=root
> > sender address = root@???
> > Verifying: uid=0 gid=0 euid=8 egid=12
> > >>>>>>>>>>>>>>>>>>>>>>>>
> > Verifying asdf@jkl
> > asdf@jkl in web@???? no (end of list)
> > jkl in local_domains? no (end of list)
> > address asdf@jkl
> > local_part=asdf domain=jkl
> > domain is not local
> > >>>>>>>>>>>>>>>>>>>>>>>>
> > routing asdf@jkl, domain jkl
> > smarthost router called for asdf@jkl
> > route_domain = jkl
> > routelist_item = * mail bydns_a
> > after handling route_lists items, matched = 1
> > original hostlist=mail options=bydns_a
> > expanded hostlist="mail" options=bydns_a
> > DNS lookup of mail (A) succeeded
> > Actual local interface address is 127.0.0.1 (lo)
> > Actual local interface address is 24.10.41.243 (eth0)
> > fully qualified name = mail.sttls1.wa.home.com
> > mail.sttls1.wa.home.com 24.254.60.13 mx=-1 sort=-37
> > routed by smarthost router:
> > deliver to asdf@jkl
> > transport: remote_smtp
> > host mail.sttls1.wa.home.com [24.254.60.13]
> > asdf@jkl
> > deliver to asdf@jkl
> > router = smarthost, transport = remote_smtp
> > host mail.sttls1.wa.home.com [24.254.60.13]
> > asdf@jkl verified ok as asdf@jkl
> > search_tidyup called
> >     
> > On Mon, Sep 17, 2001 at 09:23:58AM +0100, Philip Hazel wrote:
> > > On Sun, 16 Sep 2001, Michael West wrote:
> > >
> > > > I am trying to use the sender_verify and sender_verify_hosts_callback
> > > > but
> > > >
> > > > exim -bv asdf@jkl
> > > > or
> > > > exim -bvs asdf@jkl
> > > >
> > > > is successful for every syntactically correct address.
> > >
> > > Use the provided debugging facilities.
> > >
> > > exim -d9 -bv asdf@jkl
> > >
> > > What does that say?
> > >
> > > -- 
> > > Philip Hazel            University of Cambridge Computing Service,
> > > ph10@???      Cambridge, England. Phone: +44 1223 334714.

> > >
>
> --
> ## List details at http://www.exim.org/mailman/listinfo/exim-users Exim details at http://www.exim.org/ ##