Exim i format wpisania domen zewnętrznych
: 15 czerwca 2008, 21:57
Witam,
Przeszukałem trochę materiałów na ten temat, ale nie mogę znaleźć opisu, w jakim formacie wpisać w Eximie domeny zewnętrzne np.: .com .pl .net .org itd.? Z "*" nie działa. Chodzi o to, że mogę wysyłać maile tylko na te domeny, które mam wpisane w całości np.: o2.pl, interia.pl. W innym wypadku dostaję taką zwrotkę:
Exima mam spiętego z MySQLem wg tego opisu: http://www.baseciq.org/2003/06/22/exim-i-mysql
Z góry serdecznie dziękuję za pomoc.
Dodatkowo dla przykładu polecenie coś takiego jak poniżej.
Pozdrawiam
Pzar
Przeszukałem trochę materiałów na ten temat, ale nie mogę znaleźć opisu, w jakim formacie wpisać w Eximie domeny zewnętrzne np.: .com .pl .net .org itd.? Z "*" nie działa. Chodzi o to, że mogę wysyłać maile tylko na te domeny, które mam wpisane w całości np.: o2.pl, interia.pl. W innym wypadku dostaję taką zwrotkę:
Gdybym miał wpisać je wszystkie to trochę by tego było"A message that you sent could not be delivered to one or more of its recipients. This is a permanent error. The following address(es) failed:
login@eximtours.pl
Unrouteable address"

Exima mam spiętego z MySQLem wg tego opisu: http://www.baseciq.org/2003/06/22/exim-i-mysql
Z góry serdecznie dziękuję za pomoc.
Dodatkowo dla przykładu polecenie
Kod: Zaznacz cały
exim -d+all -bt [email]login@eximtours.pl[/email] daje
Kod: Zaznacz cały
:~#exim -d+all -bt [email]login@eximtours.pl[/email]
21:46:14 3807 Exim version 4.69 uid=0 gid=0 pid=3807 D=fffdffff
Berkeley DB: Berkeley DB 4.6.21: (September 27, 2007)
Support for: crypteq iconv() IPv6 PAM Perl Expand_dlfunc 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 dovecot 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
21:46:14 3807 changed uid/gid: forcing real = effective
21:46:14 3807 uid=0 gid=0 pid=3807
21:46:14 3807 auxiliary group list: <none>
21:46:14 3807 seeking password data for user "uucp": cache not available
21:46:14 3807 getpwnam() succeeded uid=10 gid=10
21:46:14 3807 configuration file is /etc/exim4/exim4.conf
21:46:14 3807 log selectors = 00000ffc 00612001
21:46:14 3807 trusted user
21:46:14 3807 admin user
21:46:14 3807 seeking password data for user "mail": cache not available
21:46:14 3807 getpwnam() succeeded uid=8 gid=8
21:46:14 3807 expanding: $1
21:46:14 3807 result: root
21:46:14 3807 user name "root" extracted from gecos field "root"
21:46:14 3807 originator: uid=0 gid=0 login=root name=root
21:46:14 3807 sender address = root@ETC_MAILNAME
21:46:14 3807 Address testing: uid=0 gid=102 euid=0 egid=102
21:46:14 3807 >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
21:46:14 3807 Testing [email]login@eximtours.pl[/email]
21:46:14 3807 >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
21:46:14 3807 Considering [email]login@eximtours.pl[/email]
21:46:14 3807 >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
21:46:14 3807 routing [email]login@eximtours.pl[/email]
21:46:14 3807 --------> hubbed_hosts router <--------
21:46:14 3807 local_part=login domain=eximtours.pl
21:46:14 3807 checking domains
21:46:14 3807 expanding: /etc/exim4/hubbed_hosts
21:46:14 3807 result: /etc/exim4/hubbed_hosts
21:46:14 3807 condition: exists{/etc/exim4/hubbed_hosts}
21:46:14 3807 result: false
21:46:14 3807 expanding: partial-lsearch;/etc/exim4/hubbed_hosts
21:46:14 3807 result: partial-lsearch;/etc/exim4/hubbed_hosts
21:46:14 3807 skipping: result is not used
21:46:14 3807 failed to expand: ${if exists{/etc/exim4/hubbed_hosts}{partial-lsearch;/etc/exim4/hubbed_hosts}fail}
21:46:14 3807 error message: "if" failed and "fail" requested
21:46:14 3807 failure was forced
21:46:14 3807 expansion of "${if exists{/etc/exim4/hubbed_hosts}{partial-lsearch;/etc/exim4/hubbed_hosts}fail}" forced failure: assume not in this list
21:46:14 3807 hubbed_hosts router skipped: domains mismatch
21:46:14 3807 --------> mysql_alias router <--------
21:46:14 3807 local_part=login domain=eximtours.pl
21:46:14 3807 checking domains
21:46:14 3807 expanding: SELECT nazwa FROM domeny WHERE nazwa="${domain}"
21:46:14 3807 result: SELECT nazwa FROM domeny WHERE nazwa="eximtours.pl"
21:46:14 3807 search_open: mysql "NULL"
21:46:14 3807 search_find: file="NULL"
21:46:14 3807 key="SELECT nazwa FROM domeny WHERE nazwa="eximtours.pl"" partial=-1 affix=NULL starflags=0
21:46:14 3807 LRU list:
21:46:14 3807 internal_search_find: file="NULL"
21:46:14 3807 type=mysql key="SELECT nazwa FROM domeny WHERE nazwa="eximtours.pl""
21:46:14 3807 database lookup required for SELECT nazwa FROM domeny WHERE nazwa="eximtours.pl"
21:46:14 3807 MySQL query: SELECT nazwa FROM domeny WHERE nazwa="eximtours.pl"
21:46:14 3807 MYSQL new connection: host=localhost port=0 socket=NULL database=eximdb user=root
21:46:14 3807 MYSQL: no data found
21:46:14 3807 lookup failed
21:46:14 3807 expanding: ${lookup mysql {SELECT nazwa FROM domeny WHERE nazwa="${domain}"}}
21:46:14 3807 result:
21:46:14 3807 eximtours.pl in ""? no (end of list)
21:46:14 3807 eximtours.pl in "127.0.0.1 : o2.pl : *.com : *.org : *.net"? no (end of list)
21:46:14 3807 eximtours.pl in "+mysql_local_domains : +relay_to_domains"? no (end of list)
21:46:14 3807 mysql_alias router skipped: domains mismatch
21:46:14 3807 --------> mysql_localuser router <--------
21:46:14 3807 local_part=login domain=eximtours.pl
21:46:14 3807 checking domains
21:46:14 3807 expanding: SELECT nazwa FROM domeny WHERE nazwa="${domain}"
21:46:14 3807 result: SELECT nazwa FROM domeny WHERE nazwa="eximtours.pl"
21:46:14 3807 search_open: mysql "NULL"
21:46:14 3807 cached open
21:46:14 3807 search_find: file="NULL"
21:46:14 3807 key="SELECT nazwa FROM domeny WHERE nazwa="eximtours.pl"" partial=-1 affix=NULL starflags=0
21:46:14 3807 LRU list:
21:46:14 3807 internal_search_find: file="NULL"
21:46:14 3807 type=mysql key="SELECT nazwa FROM domeny WHERE nazwa="eximtours.pl""
21:46:14 3807 cached data used for lookup of SELECT nazwa FROM domeny WHERE nazwa="eximtours.pl"
21:46:14 3807 lookup failed
21:46:14 3807 expanding: ${lookup mysql {SELECT nazwa FROM domeny WHERE nazwa="${domain}"}}
21:46:14 3807 result:
21:46:14 3807 eximtours.pl in ""? no (end of list)
21:46:14 3807 cached no match for +relay_to_domains
21:46:14 3807 cached lookup data = NULL
21:46:14 3807 eximtours.pl in "+mysql_local_domains : +relay_to_domains"? no (end of list)
21:46:14 3807 mysql_localuser router skipped: domains mismatch
21:46:14 3807 --------> real_local router <--------
21:46:14 3807 local_part=login domain=eximtours.pl
21:46:14 3807 real_local router skipped: prefix mismatch
21:46:14 3807 --------> system_aliases router <--------
21:46:14 3807 local_part=login domain=eximtours.pl
21:46:14 3807 checking domains
21:46:14 3807 expanding: SELECT nazwa FROM domeny WHERE nazwa="${domain}"
21:46:14 3807 result: SELECT nazwa FROM domeny WHERE nazwa="eximtours.pl"
21:46:14 3807 search_open: mysql "NULL"
21:46:14 3807 cached open
21:46:14 3807 search_find: file="NULL"
21:46:14 3807 key="SELECT nazwa FROM domeny WHERE nazwa="eximtours.pl"" partial=-1 affix=NULL starflags=0
21:46:14 3807 LRU list:
21:46:14 3807 internal_search_find: file="NULL"
21:46:14 3807 type=mysql key="SELECT nazwa FROM domeny WHERE nazwa="eximtours.pl""
21:46:14 3807 cached data used for lookup of SELECT nazwa FROM domeny WHERE nazwa="eximtours.pl"
21:46:14 3807 lookup failed
21:46:14 3807 expanding: @ : ${lookup mysql {SELECT nazwa FROM domeny WHERE nazwa="${domain}"}}
21:46:14 3807 result: @ :
21:46:14 3807 eximtours.pl in "@ : "? no (end of list)
21:46:14 3807 eximtours.pl in "+local_domains"? no (end of list)
21:46:14 3807 system_aliases router skipped: domains mismatch
21:46:14 3807 --------> userforward router <--------
21:46:14 3807 local_part=login domain=eximtours.pl
21:46:14 3807 checking domains
21:46:14 3807 expanding: SELECT nazwa FROM domeny WHERE nazwa="${domain}"
21:46:14 3807 result: SELECT nazwa FROM domeny WHERE nazwa="eximtours.pl"
21:46:14 3807 search_open: mysql "NULL"
21:46:14 3807 cached open
21:46:14 3807 search_find: file="NULL"
21:46:14 3807 key="SELECT nazwa FROM domeny WHERE nazwa="eximtours.pl"" partial=-1 affix=NULL starflags=0
21:46:14 3807 LRU list:
21:46:14 3807 internal_search_find: file="NULL"
21:46:14 3807 type=mysql key="SELECT nazwa FROM domeny WHERE nazwa="eximtours.pl""
21:46:14 3807 cached data used for lookup of SELECT nazwa FROM domeny WHERE nazwa="eximtours.pl"
21:46:14 3807 lookup failed
21:46:14 3807 expanding: @ : ${lookup mysql {SELECT nazwa FROM domeny WHERE nazwa="${domain}"}}
21:46:14 3807 result: @ :
21:46:14 3807 eximtours.pl in "@ : "? no (end of list)
21:46:14 3807 eximtours.pl in "+local_domains"? no (end of list)
21:46:14 3807 userforward router skipped: domains mismatch
21:46:14 3807 --------> procmail router <--------
21:46:14 3807 local_part=login domain=eximtours.pl
21:46:14 3807 checking domains
21:46:14 3807 expanding: SELECT nazwa FROM domeny WHERE nazwa="${domain}"
21:46:14 3807 result: SELECT nazwa FROM domeny WHERE nazwa="eximtours.pl"
21:46:14 3807 search_open: mysql "NULL"
21:46:14 3807 cached open
21:46:14 3807 search_find: file="NULL"
21:46:14 3807 key="SELECT nazwa FROM domeny WHERE nazwa="eximtours.pl"" partial=-1 affix=NULL starflags=0
21:46:14 3807 LRU list:
21:46:14 3807 internal_search_find: file="NULL"
21:46:14 3807 type=mysql key="SELECT nazwa FROM domeny WHERE nazwa="eximtours.pl""
21:46:14 3807 cached data used for lookup of SELECT nazwa FROM domeny WHERE nazwa="eximtours.pl"
21:46:14 3807 lookup failed
21:46:14 3807 expanding: @ : ${lookup mysql {SELECT nazwa FROM domeny WHERE nazwa="${domain}"}}
21:46:14 3807 result: @ :
21:46:14 3807 eximtours.pl in "@ : "? no (end of list)
21:46:14 3807 eximtours.pl in "+local_domains"? no (end of list)
21:46:14 3807 procmail router skipped: domains mismatch
21:46:14 3807 --------> maildrop router <--------
21:46:14 3807 local_part=login domain=eximtours.pl
21:46:14 3807 checking domains
21:46:14 3807 expanding: SELECT nazwa FROM domeny WHERE nazwa="${domain}"
21:46:14 3807 result: SELECT nazwa FROM domeny WHERE nazwa="eximtours.pl"
21:46:14 3807 search_open: mysql "NULL"
21:46:14 3807 cached open
21:46:14 3807 search_find: file="NULL"
21:46:14 3807 key="SELECT nazwa FROM domeny WHERE nazwa="eximtours.pl"" partial=-1 affix=NULL starflags=0
21:46:14 3807 LRU list:
21:46:14 3807 internal_search_find: file="NULL"
21:46:14 3807 type=mysql key="SELECT nazwa FROM domeny WHERE nazwa="eximtours.pl""
21:46:14 3807 cached data used for lookup of SELECT nazwa FROM domeny WHERE nazwa="eximtours.pl"
21:46:14 3807 lookup failed
21:46:14 3807 expanding: @ : ${lookup mysql {SELECT nazwa FROM domeny WHERE nazwa="${domain}"}}
21:46:14 3807 result: @ :
21:46:14 3807 eximtours.pl in "@ : "? no (end of list)
21:46:14 3807 eximtours.pl in "+local_domains"? no (end of list)
21:46:14 3807 maildrop router skipped: domains mismatch
21:46:14 3807 --------> lowuid_aliases router <--------
21:46:14 3807 local_part=login domain=eximtours.pl
21:46:14 3807 checking domains
21:46:14 3807 expanding: SELECT nazwa FROM domeny WHERE nazwa="${domain}"
21:46:14 3807 result: SELECT nazwa FROM domeny WHERE nazwa="eximtours.pl"
21:46:14 3807 search_open: mysql "NULL"
21:46:14 3807 cached open
21:46:14 3807 search_find: file="NULL"
21:46:14 3807 key="SELECT nazwa FROM domeny WHERE nazwa="eximtours.pl"" partial=-1 affix=NULL starflags=0
21:46:14 3807 LRU list:
21:46:14 3807 internal_search_find: file="NULL"
21:46:14 3807 type=mysql key="SELECT nazwa FROM domeny WHERE nazwa="eximtours.pl""
21:46:14 3807 cached data used for lookup of SELECT nazwa FROM domeny WHERE nazwa="eximtours.pl"
21:46:14 3807 lookup failed
21:46:14 3807 expanding: @ : ${lookup mysql {SELECT nazwa FROM domeny WHERE nazwa="${domain}"}}
21:46:14 3807 result: @ :
21:46:14 3807 eximtours.pl in "@ : "? no (end of list)
21:46:14 3807 eximtours.pl in "+local_domains"? no (end of list)
21:46:14 3807 lowuid_aliases router skipped: domains mismatch
21:46:14 3807 --------> local_user router <--------
21:46:14 3807 local_part=login domain=eximtours.pl
21:46:14 3807 checking domains
21:46:14 3807 expanding: SELECT nazwa FROM domeny WHERE nazwa="${domain}"
21:46:14 3807 result: SELECT nazwa FROM domeny WHERE nazwa="eximtours.pl"
21:46:14 3807 search_open: mysql "NULL"
21:46:14 3807 cached open
21:46:14 3807 search_find: file="NULL"
21:46:14 3807 key="SELECT nazwa FROM domeny WHERE nazwa="eximtours.pl"" partial=-1 affix=NULL starflags=0
21:46:14 3807 LRU list:
21:46:14 3807 internal_search_find: file="NULL"
21:46:14 3807 type=mysql key="SELECT nazwa FROM domeny WHERE nazwa="eximtours.pl""
21:46:14 3807 cached data used for lookup of SELECT nazwa FROM domeny WHERE nazwa="eximtours.pl"
21:46:14 3807 lookup failed
21:46:14 3807 expanding: @ : ${lookup mysql {SELECT nazwa FROM domeny WHERE nazwa="${domain}"}}
21:46:14 3807 result: @ :
21:46:14 3807 eximtours.pl in "@ : "? no (end of list)
21:46:14 3807 eximtours.pl in "+local_domains"? no (end of list)
21:46:14 3807 local_user router skipped: domains mismatch
21:46:14 3807 --------> mail4root router <--------
21:46:14 3807 local_part=login domain=eximtours.pl
21:46:14 3807 checking domains
21:46:14 3807 expanding: SELECT nazwa FROM domeny WHERE nazwa="${domain}"
21:46:14 3807 result: SELECT nazwa FROM domeny WHERE nazwa="eximtours.pl"
21:46:14 3807 search_open: mysql "NULL"
21:46:14 3807 cached open
21:46:14 3807 search_find: file="NULL"
21:46:14 3807 key="SELECT nazwa FROM domeny WHERE nazwa="eximtours.pl"" partial=-1 affix=NULL starflags=0
21:46:14 3807 LRU list:
21:46:14 3807 internal_search_find: file="NULL"
21:46:14 3807 type=mysql key="SELECT nazwa FROM domeny WHERE nazwa="eximtours.pl""
21:46:14 3807 cached data used for lookup of SELECT nazwa FROM domeny WHERE nazwa="eximtours.pl"
21:46:14 3807 lookup failed
21:46:14 3807 expanding: @ : ${lookup mysql {SELECT nazwa FROM domeny WHERE nazwa="${domain}"}}
21:46:14 3807 result: @ :
21:46:14 3807 eximtours.pl in "@ : "? no (end of list)
21:46:14 3807 eximtours.pl in "+local_domains"? no (end of list)
21:46:14 3807 mail4root router skipped: domains mismatch
21:46:14 3807 no more routers
[email]login@eximtours.pl[/email] is undeliverable: Unrouteable address
21:46:14 3807 search_tidyup called
21:46:14 3807 close MYSQL connection: localhost/eximdb/root
21:46:14 3807 >>>>>>>>>>>>>>>> Exim pid=3807 terminating with rc=2 >>>>>>>>>>>>>>>>
Pzar