Fwd: Re: [afnog] Re:Problem with mail server "Exim Configuration"

anyuru francis anyfrancis at yahoo.com
Wed May 18 12:21:09 EAT 2005


--- anyuru francis <anyfrancis at yahoo.com> wrote:

> Date: Wed, 18 May 2005 02:17:59 -0700 (PDT)
> From: anyuru francis <anyfrancis at yahoo.com>
> Subject: Re: [afnog] Re:Problem with mail server
> "Exim Configuration"
> To: Brian Candler <B.Candler at pobox.com>
> 
> Hi Brian I checked and had some mistakes with
> domains
> in my /usr/local/admin/vac*.* files with domain
> names
> corrected all those now when I do a exim -d -bt
> user at domain I get
>  exim -d -bt user at domain
> Exim version 4.51 (FreeBSD 4.10) uid=0 gid=0 pid=535
> D=fbb95cfd
> Probably Berkeley DB version 1.8x (native mode)
> Support for: iconv() IPv6 PAM Perl OpenSSL
> Content_Scanning Old_Demime
> Lookups: lsearch wildlsearch nwildlsearch iplsearch
> cdb dbm dbmnz dnsdb dsearch mysql nis nis0 passwd
> Authenticators: cram_md5 plaintext spa
> Routers: accept dnslookup ipliteral manualroute
> queryprogram redirect
> Transports: appendfile/maildir/mailstore/mbx
> autoreply
> lmtp pipe smtp
> Fixed never_users: 0
> changed uid/gid: forcing real = effective
>   uid=0 gid=0 pid=535
>   auxiliary group list: 0
> finduser used cached passwd data for mailnull
> configuration file is /usr/local/etc/exim/configure
> log selectors = 00000ffc 00020800
> trusted user
> admin user
> originator: uid=0 gid=0 login=root name=Charlie Root
> sender address = root at domain
> Address testing: uid=0 gid=6 euid=0 egid=6
> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
> Testing user at domain
> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
> Considering user at domain
> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
> routing user at domain
> --------> dnslookup router <--------
> local_part=user domain=domain
> checking domains
> domain "@ : domain"? yes (matched "@")
> domain in "! +local_domains"? no (matched "!
> +local_domains")
> dnslookup router skipped: domains mismatch
> --------> system_aliases router <--------
> local_part=user domain=domain
> checking "condition"
> calling system_aliases router
> rda_interpret (string):
> ${lookup{$local_part}lsearch{/etc/aliases}}
> search_open: lsearch "/etc/aliases"
> search_find: file="/etc/aliases"
>   key="francis" partial=-1 affix=NULL starflags=0
> LRU list:
>   :/etc/aliases
>   End
> internal_search_find: file="/etc/aliases"
>   type=lsearch key="user"
> file lookup required for francis
>   in /etc/aliases
> lookup failed
> expanded:
> file is not a filter file
> parse_forward_list:
> system_aliases router declined for
> francis at csluganda.com
> --------> vacation_director router <--------
> local_part=francis domain=csluganda.com
> checking require_files
> file check: /usr/mail/domain/${local_part}/.vacation
> expanded file: /usr/mail/domain/user/.vacation
> stat() yielded -1
> errno = 2
> vacation_director router skipped: file check
> --------> userforward router <--------
> local_part=user domain=domain
> checking for local user
> userforward router skipped: user is not a local user
> --------> virtual_user router <--------
> local_part=user domain=domain
> calling virtual_user router
> rda_interpret (string): ${lookup mysql{ SELECT
> maildir
> FROM users WHERE id = '${local_part}@${domain}' }}
> search_open: mysql "NULL"
> search_find: file="NULL"
>   key=" SELECT maildir FROM users WHERE id =
> 'francis at csluganda.com' " partial=-1 affix=NULL
> starflags=0
> LRU list:
>   :/etc/aliases
>   End
> internal_search_find: file="NULL"
>   type=mysql key=" SELECT maildir FROM users WHERE
> id
> = 'francis at csluganda.com' "
> database lookup required for  SELECT maildir FROM
> users WHERE id = 'francis at csluganda.com'
> MYSQL query:  SELECT maildir FROM users WHERE id =
> 'User at Domain'
> MYSQL new connection: host=localhost port=0
> socket=NULL database=maildb user=mail
> lookup yielded: /usr/mail/domain/users/user/Maildir/
> expanded: /usr/mail/domain/users/user/Maildir/
> file is not a filter file
> parse_forward_list:
> /usr/mail/domain/users/user/Maildir/
> extract item: /usr/mail/domain/users/user/Maildir/
> set transport address_directory
> virtual_user router generated
> /usr/mail/domain/users/user/Maildir/
>   pipe, file, or autoreply
>   errors_to=NULL transport=address_directory
>   uid=unset gid=unset home=NULL
> routed by virtual_user router
>   envelope to: user at domain
>   transport: <none>
> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
> Considering /usr/mail/domain/users/user/Maildir/
> user at domain -> /usr/mail/domain/users/user/Maildir/
>   transport = address_directory
> search_tidyup called
> close MYSQL connection: localhost/maildb/mail
> >>>>>>>>>>>>>>>> Exim pid=535 terminating with rc=0
> >>>>>>>>>>>>>>>>
> Well and when I do a 
> dns check with domain I get"Loop detected! Probable
> cause is lame delegation to server with cached NS
> data"
> and "
> 0.2% of queries will end in failure at 192.5.6.30
> (A.GTLD-SERVERS.NET) - nameserver loop detected
> 
> 26.0% of queries will end in failure at 81.199.88.10
> (ns.one2net.co.ug) - no such record
> 
> 24.1% of queries will end in failure at 62.8.64.3
> (ns1.wananchi.com) - nameserver loop detected
> 
> 26.0% of queries will end in failure at 81.199.88.11
> (ns2.one2net.co.ug) - no such record
> 
> 23.6% of queries will end in failure at 62.8.64.4
> (ns2.wananchi.com) - nameserver loop detected
> 
> 
> and I get this error too "
> "Domain exists but there is no such record"

And I can send mails from the server and they will be
recieved localy using the root account
> --- Brian Candler <B.Candler at pobox.com> wrote:
> 
> > On Wed, May 18, 2005 at 12:37:44AM -0700, anyuru
> > francis wrote:
> > > And when I type exim -bt user at domain-name I get
> > > Undeliverable and Unroutable address any help to
> > this
> > > matter will highly be appreciated.
> > 
> > As root:
> > 
> > # exim -d -bt user at domain-name
> > 
> > will give you a very detailled report of the
> routing
> > decision making
> > process. You can then go through your exim
> > configuration and work out which
> > router isn't working the way you think it should.
> > You should be able to see
> > if exim is able to communicate successfully with
> the
> > mysql daemon, for
> > example, and what query it sends.
> > 
> > It generates quite a lot of output so you probably
> > want to capture it to a
> > file:
> > 
> > # exim -d -bt user at domain-name 2>debug.out        
> #
> > sh or bash
> > # exim -d -bt user at domain-name >&debug.out        
> #
> > csh
> > 
> > Regards,
> > 
> > Brian.
> > 
> 
> 
> __________________________________________________
> Do You Yahoo!?
> Tired of spam?  Yahoo! Mail has the best spam
> protection around 
> http://mail.yahoo.com 
> 


__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 



More information about the afnog mailing list