Re: Exim4
<citation de="Nicolas ROCHE">
> ça ne marche jamais du premier coup pour moi
> en vrac, tu regardes avec les commandes suivantes les problèmes à résoudre
> :
Merci pour ton aide.
Voici les résultats des commandes. Malheureusement, je ne sais pas trop
quoi en faire.
> # tail /var/log/exim4/mainlog
tail /var/log/exim4/mainlog
2015-03-01 07:02:37 Start queue run: pid=2466
2015-03-01 07:02:37 1YRWi4-0006wV-U6 Message is frozen
2015-03-01 07:02:37 1YREjf-0005bn-Tj Message is frozen
2015-03-01 07:02:37 1YRtAq-0006TC-76 Message is frozen
2015-03-01 07:02:37 End queue run: pid=2466
2015-03-01 07:32:37 Start queue run: pid=4054
2015-03-01 07:32:37 1YRWi4-0006wV-U6 Message is frozen
2015-03-01 07:32:37 1YREjf-0005bn-Tj Message is frozen
2015-03-01 07:32:37 1YRtAq-0006TC-76 Message is frozen
2015-03-01 07:32:37 End queue run: pid=4054
> $ exim4 -bt nicolas
exim4 -bt nicolas
R: smarthost for nicolas@bureau
nicolas@bureau
router = smarthost, transport = remote_smtp_smarthost
host smtp.orange.fr [193.252.22.64]
host smtp.orange.fr [80.12.242.10]
> $ exim4 -d -bt nicolas
exim4 -d -bt nicolas
Exim version 4.80 uid=0 gid=0 pid=4381 D=fbb95cfd
Berkeley DB: Berkeley DB 5.1.29: (October 25, 2011)
Support for: crypteq iconv() IPv6 PAM Perl Expand_dlfunc GnuTLS
move_frozen_messages Content_Scanning DKIM Old_Demime
Lookups (built-in): lsearch wildlsearch nwildlsearch iplsearch cdb dbm
dbmjz 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
Compiler: GCC [4.7.2]
Library version: GnuTLS: Compile: 2.12.20
Runtime: 2.12.20
Library version: Cyrus SASL: Compile: 2.1.25
Runtime: 2.1.25 [Cyrus SASL]
Library version: PCRE: Compile: 8.30
Runtime: 8.30 2012-02-04
Total 19 lookups
Library version: MySQL: Compile: 5.5.37 [(Debian)]
Runtime: 5.5.41
Library version: SQLite: Compile: 3.7.13
Runtime: 3.7.13
WHITELIST_D_MACROS: "OUTGOING"
TRUSTED_CONFIG_LIST: "/etc/exim4/trusted_configs"
changed uid/gid: forcing real = effective
uid=0 gid=0 pid=4381
auxiliary group list: <none>
seeking password data for user "uucp": cache not available
getpwnam() succeeded uid=10 gid=10
changed uid/gid: calling tls_validate_require_cipher
uid=102 gid=104 pid=4382
auxiliary group list: <none>
tls_validate_require_cipher child 4382 ended: status=0x0
configuration file is /var/lib/exim4/config.autogenerated
log selectors = 00000ffc 00612001
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@bureau
Address testing: uid=0 gid=104 euid=0 egid=104
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
Testing nicolas@bureau
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
Considering nicolas@bureau
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
routing nicolas@bureau
--------> hubbed_hosts router <--------
local_part=nicolas domain=bureau
checking domains
search_open: lsearch "/etc/exim4/hubbed_hosts"
search_find: file="/etc/exim4/hubbed_hosts"
key="bureau" partial=2 affix=*. starflags=0
LRU list:
:/etc/exim4/hubbed_hosts
End
internal_search_find: file="/etc/exim4/hubbed_hosts"
type=lsearch key="bureau"
file lookup required for bureau
in /etc/exim4/hubbed_hosts
lookup failed
trying partial match *.bureau
internal_search_find: file="/etc/exim4/hubbed_hosts"
type=lsearch key="*.bureau"
file lookup required for *.bureau
in /etc/exim4/hubbed_hosts
lookup failed
bureau in "partial-lsearch;/etc/exim4/hubbed_hosts"? no (end of list)
hubbed_hosts router skipped: domains mismatch
--------> smarthost router <--------
local_part=nicolas domain=bureau
checking domains
bureau in "@:localhost"? no (end of list)
bureau in "! +local_domains"? yes (end of list)
R: smarthost for nicolas@bureau
calling smarthost router
smarthost router called for nicolas@bureau
domain = bureau
route_item = * smtp.orange.fr byname
bureau in "*"? yes (matched "*")
original list of hosts = "smtp.orange.fr" options = byname
expanded list of hosts = "smtp.orange.fr" options = byname
set transport remote_smtp_smarthost
finding IP address for smtp.orange.fr
calling host_find_byname
gethostbyname2(af=inet6) returned 4 (NO_DATA)
fully qualified name = smtp.orange.fr
gethostbyname2 looked up these IP addresses:
name=smtp.orange.fr address=80.12.242.10
name=smtp.orange.fr address=193.252.22.64
queued for remote_smtp_smarthost transport: local_part = nicolas
domain = bureau
errors_to=NULL
domain_data=NULL localpart_data=NULL
routed by smarthost router
envelope to: nicolas@bureau
transport: remote_smtp_smarthost
host smtp.orange.fr [80.12.242.10]
host smtp.orange.fr [193.252.22.64]
nicolas@bureau
router = smarthost, transport = remote_smtp_smarthost
host smtp.orange.fr [80.12.242.10]
host smtp.orange.fr [193.252.22.64]
search_tidyup called
>>>>>>>>>>>>>>>> Exim pid=4381 terminating with rc=0 >>>>>>>>>>>>>>>>
> et puis tu as cette commande magique pour vider le spool :
> |
> $ mailq|
>
> # exim4 -Mrm `ls /var/spool/exim4/input/ | grep -- -H$ | cut -c 1-16`
>
>
> Bon courage.
>
>
--
On constate que les règnes longs sont toujours déplorables. Dieu est
éternel. Jugez vous-même.
-+- Sébastien Roch Nicolas, dit Chamfort -+-
Reply to:
- Follow-Ups:
- Re: Exim4
- From: Nicolas ROCHE <nroche@prologue.fr>