Tema: Re: Exim 4 ir lokalus pritatymas
Autorius: No
Data: 2008-12-22 20:09:48
Levas wrote:
> kazkokia mistika. Pas mane tokia pat konfiguracija ir nieko as nekonfiginau ir local delivery puikiausiai veikia.
> O tavo MX irasai kokie? O exim sukonfigurintas kad priimtu lokalu pasta?
> 
> Kaip atrodo eximo konfiguracija? Ar "vidinis" relayinimas yra?
> 

Levas wrote:
 > kazkokia mistika. Pas mane tokia pat konfiguracija ir nieko as 
nekonfiginau ir local delivery puikiausiai veikia.
 > O tavo MX irasai kokie? O exim sukonfigurintas kad priimtu lokalu pasta?
 >
 > Kaip atrodo eximo konfiguracija? Ar "vidinis" relayinimas yra?



biuras:/home/kiero# cat /etc/exim4/update-exim4.conf.conf
# /etc/exim4/update-exim4.conf.conf
#
# Edit this file and /etc/mailname by hand and execute update-exim4.conf
# yourself or use 'dpkg-reconfigure exim4-config'

# dc_eximconfig_configtype='internet'

dc_eximconfig_configtype='internet'
dc_other_hostnames=''
dc_local_interfaces=''
dc_readhost='biuras.lt'
dc_relay_domains='biuras.lt'
dc_minimaldns='true'
dc_relay_nets='192.168.0.0/24'
dc_smarthost='smtp.zebra.lt'
dc_never_users='never_users = root'
CFILEMODE='644'
dc_use_split_config='true'
dc_hide_mailname='true'
dc_mailname_in_oh='true'
dc_localdelivery='maildir_home'
biuras:/home/kiero#



biuras:/home/kiero# dig mx biuras.lt

; <<>> DiG 9.3.4-P1.1 <<>> mx biuras.lt
;; global options:  printcmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 49501
;; flags: qr rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 4, ADDITIONAL: 5

;; QUESTION SECTION:
;biuras.lt.                 IN      MX

;; ANSWER SECTION:
biuras.lt.          9992    IN      MX      10 mail.biuras.lt.

Is exim logu
2008-12-22 20:10:10 1LEpEI-00050Y-MC <= no@biuras.lt U=no P=local S=344
2008-12-22 20:10:10 1LEpEI-00050Y-MC remote host address is the local 
host: biuras.lt
2008-12-22 20:10:10 1LEpEI-00050Y-MC == no@biuras.lt R=hubbed_hosts 
defer (-1): remote host address is the local host
2008-12-22 20:10:10 1LEpEI-00050Y-MC ** no@biuras.lt: retry timeout exceeded
2008-12-22 20:10:11 1LEpEI-00050a-WA <= <> R=1LEpEI-00050Y-MC 
U=Debian-exim P=local S=1197
2008-12-22 20:10:11 1LEpEI-00050a-WA remote host address is the local 
host: biuras.lt
2008-12-22 20:10:11 1LEpEI-00050a-WA == no@biuras.lt R=hubbed_hosts 
defer (-1): remote host address is the local host
2008-12-22 20:10:11 1LEpEI-00050a-WA ** no@biuras.lt: retry timeout exceeded
2008-12-22 20:10:11 1LEpEI-00050a-WA no@biuras.lt: error ignored
2008-12-22 20:10:11 1LEpEI-00050Y-MC Completed
2008-12-22 20:10:11 1LEpEI-00050a-WA Completed



biuras:/home/no# exim -d+route -bt  no@biuras.lt
Exim version 4.63 uid=0 gid=0 pid=19282 D=fbb95cfd
Berkeley DB: Sleepycat Software: Berkeley DB 4.3.29: (September  6, 2005)
Support for: crypteq iconv() IPv6 PAM Perl GnuTLS move_frozen_messages 
Content_Scanning Old_Demime
Lookups: lsearch wildlsearch nwildlsearch iplsearch cdb dbm dbmnz dnsdb 
dsearch ldap ldapdn ldapm mysql nis nis0 passwd pgsql sqlite
Authenticators: cram_md5 cyrus_sasl plaintext spa
Routers: accept dnslookup ipliteral iplookup manualroute queryprogram 
redirect
Transports: appendfile/maildir/mailstore/mbx autoreply lmtp pipe smtp
Fixed never_users: 0
Size of off_t: 8
changed uid/gid: forcing real = effective
   uid=0 gid=0 pid=19282
   auxiliary group list: <none>
seeking password data for user "uucp": cache not available
getpwnam() succeeded uid=10 gid=10
configuration file is /var/lib/exim4/config.autogenerated
log selectors = 00000ffc 00189001
trusted user
admin user
seeking password data for user "mail": cache not available
getpwnam() succeeded uid=8 gid=8
user name "root" extracted from gecos field "root"
originator: uid=0 gid=0 login=root name=root
sender address = root@biuras.lt
Address testing: uid=0 gid=102 euid=0 egid=102
 >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
Testing no@biuras.lt
 >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
Considering no@biuras.lt
 >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
routing no@biuras.lt
--------> hubbed_hosts router <--------
local_part=no domain=biuras.lt
checking domains
search_open: lsearch "/etc/exim4/hubbed_hosts"
search_find: file="/etc/exim4/hubbed_hosts"
   key="biuras.lt" partial=2 affix=*. starflags=0
LRU list:
   :/etc/exim4/hubbed_hosts
   End
internal_search_find: file="/etc/exim4/hubbed_hosts"
   type=lsearch key="biuras.lt"
file lookup required for biuras.lt
   in /etc/exim4/hubbed_hosts
lookup yielded: biuras.lt
biuras.lt in "partial-lsearch;/etc/exim4/hubbed_hosts"? yes (matched 
"partial-lsearch;/etc/exim4/hubbed_hosts")
R: hubbed_hosts for biuras.lt
calling hubbed_hosts router
hubbed_hosts router called for no@biuras.lt
   domain = biuras.lt
search_open: lsearch "/etc/exim4/hubbed_hosts"
   cached open
search_find: file="/etc/exim4/hubbed_hosts"
   key="biuras.lt" partial=2 affix=*. starflags=0
LRU list:
   :/etc/exim4/hubbed_hosts
   End
internal_search_find: file="/etc/exim4/hubbed_hosts"
   type=lsearch key="biuras.lt"
cached data used for lookup of biuras.lt
   in /etc/exim4/hubbed_hosts
lookup yielded: biuras.lt
original list of hosts = "biuras.lt" options =
expanded list of hosts = "biuras.lt" options =
set transport remote_smtp
finding IP address for biuras.lt
doing DNS lookup
DNS lookup of biuras.lt (AAAA) gave NO_DATA
returning DNS_NODATA
DNS lookup of biuras.lt (A) succeeded
local host found for non-MX address
fully qualified name = biuras.lt
biuras.lt MANO_IP mx=-1 sort=-225
LOG: MAIN
   remote host address is the local host: biuras.lt (while routing 
<no@biuras.lt>)
hubbed_hosts router: defer for no@biuras.lt
   message: remote host address is the local host
no@biuras.lt cannot be resolved at this time:
   remote host address is the local host
search_tidyup called
 >>>>>>>>>>>>>>>> Exim pid=19282 terminating with rc=1 >>>>>>>>>>>>>>>>
biuras:/home/no#