Re: Exim4
<citation de="Nicolas ROCHE">
>
> Bonjour,
>
> Tu as 3 mails bloqués dans ton spool je pense parce qu'il sont destinés
> à nicolas@bureau qui est une adresse qui n'existe pas.
>
> Pour comprendre pourquoi ça bloque en spool tu as cette commande là :
>
> # exim4 -qff -v
Oui, justement. Cette adresse devrait exister.
delivering 1YSKGc-0003UE-K0 (queue run pid 15622)
LOG: MAIN
Unfrozen by forced delivery
R: smarthost for root@bureau
T: remote_smtp_smarthost for root@bureau
Connecting to smtp.orange.fr [80.12.242.10]:25 ... connected
SMTP<< 220 mwinf5d50 ME ESMTP server ready
SMTP>> EHLO bureau.veronico.net
SMTP<< 250-mwinf5d50 hello [2.9.104.104], pleased to meet you
250-HELP
250-AUTH LOGIN PLAIN
250-SIZE 44000000
250-ENHANCEDSTATUSCODES
250-8BITMIME
250 OK
SMTP>> MAIL FROM:<> SIZE=3228
SMTP<< 250 2.1.0 <> sender ok
SMTP>> RCPT TO:<root@bureau>
SMTP<< 550 5.1.1 Adresse d au moins un destinataire invalide. Invalid
recipient. OFR204_418 [418]
SMTP>> QUIT
LOG: MAIN
** root@bureau R=smarthost T=remote_smtp_smarthost: SMTP error from
remote mail server after RCPT TO:<root@bureau>: host smtp.orange.fr
[80.12.242.10]: 550 5.1.1 Adresse d au moins un destinataire invalide.
Invalid recipient. OFR204_418 [418]
LOG: MAIN
Frozen (delivery error message)
LOG: queue_run MAIN
End queue run: pid=15622 -qff
> Nicolas.
>
> Le 01/03/2015 07:42, Zuthos Oddy a écrit :
>> <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.
>>>
>>>
>>
>
--
Plus les galets ont roulés, plus ils sont polis.
Pour les cochers, c'est le contraire.
-+- Alphonse Allais -+-
Reply to:
- Follow-Ups:
- Re: Exim4
- From: Pierre Malard <plm@teledetection.fr>
- References:
- Re: Exim4
- From: "Zuthos Oddy" <zuthos@laposte.net>
- Re: Exim4
- From: Nicolas ROCHE <nroche@prologue.fr>