Twitter iPhone pliant OnePlus 11 PS5 Disney+ Orange Livebox Windows 11

Exim4

6 réponses
Avatar
Zuthos Oddy
Bonjour,

J'essaye de configurer exim4.
j'ai fait un:
# dpkg-reconfigure exim4-config
répondu au question.

Mais:

# mail nicolas
Subject: test
test
.
Cc:
Can't send mail: sendmail process failed with error code 1

Je pensais que cela était lié a un probléme de localhost. Toutefois, ce
problème réglé, cela ne change rien

--
La théorie, c'est quand on sait tout et que rien ne fonctionne. La
pratique, c'est quand tout fonctionne et que personne ne sait pourquoi. Si
la pratique et la théorie sont réunies, rien ne fonctionne et on ne sait
pas pourquoi.
-+- Albert Einstein -+-


--
Lisez la FAQ de la liste avant de poser une question :
http://wiki.debian.org/fr/FrenchLists

Pour vous DESABONNER, envoyez un message avec comme objet "unsubscribe"
vers debian-user-french-REQUEST@lists.debian.org
En cas de soucis, contactez EN ANGLAIS listmaster@lists.debian.org
Archive: https://lists.debian.org/f40989860da998d77c1e6c3b681dc67e.squirrel@bureau

6 réponses

Avatar
Zuthos Oddy
<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$66
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$66
2015-03-01 07:32:37 Start queue run:
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:



$ exim4 -bt nicolas



exim4 -bt nicolas
R: smarthost for

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 pidC81 Dûb95cfd
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 pidC81
auxiliary group list: <none>
seeking password data for user "uucp": cache not available
getpwnam() succeeded uid gid
changed uid/gid: calling tls_validate_require_cipher
uid2 gid4 pidC82
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 =
Address testing: uid=0 gid4 euid=0 egid4

































































































Testing

































































































Considering







































































routing
--------> 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
calling smarthost router
smarthost router called for
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€.12.242.10
name=smtp.orange.fr address3.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:
transport: remote_smtp_smarthost
host smtp.orange.fr [80.12.242.10]
host smtp.orange.fr [193.252.22.64]

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 pidC81 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 -+-


--
Lisez la FAQ de la liste avant de poser une question :
http://wiki.debian.org/fr/FrenchLists

Pour vous DESABONNER, envoyez un message avec comme objet "unsubscribe"
vers
En cas de soucis, contactez EN ANGLAIS
Archive: https://lists.debian.org/
Avatar
Nicolas ROCHE
Bonjour,

Tu as 3 mails bloqués dans ton spool je pense parce qu'il sont destinés
à qui est une adresse qui n'existe pas.

Pour comprendre pourquoi ça bloque en spool tu as cette commande là :

# exim4 -qff -v

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$66
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$66
2015-03-01 07:32:37 Start queue run:
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:



$ exim4 -bt nicolas


exim4 -bt nicolas
R: smarthost for

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 pidC81 Dûb95cfd
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 pidC81
auxiliary group list: <none>
seeking password data for user "uucp": cache not available
getpwnam() succeeded uid gid
changed uid/gid: calling tls_validate_require_cipher
uid2 gid4 pidC82
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 =
Address testing: uid=0 gid4 euid=0 egid4
Testing
Considering
routing
--------> 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
calling smarthost router
smarthost router called for
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€.12.242.10
name=smtp.orange.fr address3.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:
transport: remote_smtp_smarthost
host smtp.orange.fr [80.12.242.10]
host smtp.orange.fr [193.252.22.64]

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 pidC81 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.








--
Lisez la FAQ de la liste avant de poser une question :
http://wiki.debian.org/fr/FrenchLists

Pour vous DESABONNER, envoyez un message avec comme objet "unsubscribe"
vers
En cas de soucis, contactez EN ANGLAIS
Archive: https://lists.debian.org/
Avatar
Zuthos Oddy
<citation de="Nicolas ROCHE">

Bonjour,

Tu as 3 mails bloqués dans ton spool je pense parce qu'il sont destinés
à 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
T: remote_smtp_smarthost for
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:<> SIZE228
SMTP<< 250 2.1.0 <> sender ok
SMTP>> RCPT TO:
SMTP<< 550 5.1.1 Adresse d au moins un destinataire invalide. Invalid
recipient. OFR204_418 [418]
SMTP>> QUIT
LOG: MAIN
** R=smarthost T=remote_smtp_smarthost: SMTP error from
remote mail server after RCPT TO:: 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: pid622 -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$66
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$66
2015-03-01 07:32:37 Start queue run:
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:



$ exim4 -bt nicolas


exim4 -bt nicolas
R: smarthost for

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 pidC81 Dûb95cfd
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 pidC81
auxiliary group list: <none>
seeking password data for user "uucp": cache not available
getpwnam() succeeded uid gid
changed uid/gid: calling tls_validate_require_cipher
uid2 gid4 pidC82
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 =
Address testing: uid=0 gid4 euid=0 egid4
Testing
Considering
routing
--------> 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
calling smarthost router
smarthost router called for
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€.12.242.10
name=smtp.orange.fr address3.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:
transport: remote_smtp_smarthost
host smtp.orange.fr [80.12.242.10]
host smtp.orange.fr [193.252.22.64]

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 pidC81 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 -+-


--
Lisez la FAQ de la liste avant de poser une question :
http://wiki.debian.org/fr/FrenchLists

Pour vous DESABONNER, envoyez un message avec comme objet "unsubscribe"
vers
En cas de soucis, contactez EN ANGLAIS
Archive: https://lists.debian.org/
Avatar
Pierre Malard
--Apple-Mail=_63266F9D-6C0F-43CF-A155-9E9B1EB58903
Content-Transfer-Encoding: quoted-printable
Content-Type: text/plain;
charset=utf-8

Le 4 mars 2015 à 07:04, Zuthos Oddy a écrit :


<citation de="Nicolas ROCHE">

Bonjour,

Tu as 3 mails bloqués dans ton spool je pense parce qu'il sont destinés
à 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
T: remote_smtp_smarthost for
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:<> SIZE228
SMTP<< 250 2.1.0 <> sender ok
SMTP>> RCPT TO:
SMTP<< 550 5.1.1 Adresse d au moins un destinataire invalide. Invalid


^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Voilà la réponse à ta question.

Tu gères ton propre domaine DNS local, non routable, totalement privé : bureau.
Comment veux tu que le serveur SMTP public (Orange) le connaisse et, par voie
de conséquence, l’accepte ? La première chose que fait tout bon serveur SMTP
est justement de vérifier que le domaine de destination est valide, c’est à
dire qu’il saura comment transmettre le mail.

Si tu veux gérer un service de mail local, privé, il te faut aussi installer
un serveur SMTP privé pour gérer ces adresses privées. Là, visiblement, tu as
configuré Exim4 en serveur de relai sans gestion des adresses locales ou bien
seulement les destinataires « unix » sans domaine (genre « mail root »). Il ne
fait que transmettre tout mail au « smarthost » smtp.orange.fr et ce serveur
ne peut pas savoir que « @bureau » revient à te renvoyer le mail. De toutes
façon, tel que tu as visiblement configuré exim4, cela reviendrai à générer
une boucle vu que ton exim4 le renverrai à … smtp.orange.fr.

recipient. OFR204_418 [418]
SMTP>> QUIT
LOG: MAIN
** R=smarthost T=remote_smtp_smarthost: SMTP error from
remote mail server after RCPT TO:: 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: pid622 -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$66
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$66
2015-03-01 07:32:37 Start queue run:
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:



$ exim4 -bt nicolas


exim4 -bt nicolas
R: smarthost for

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 pidC81 Dûb95cfd
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 pidC81
auxiliary group list: <none>
seeking password data for user "uucp": cache not available
getpwnam() succeeded uid gid
changed uid/gid: calling tls_validate_require_cipher
uid2 gid4 pidC82
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 =
Address testing: uid=0 gid4 euid=0 egid4
Testing
Considering
routing
--------> 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
calling smarthost router
smarthost router called for
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€.12.242.10
name=smtp.orange.fr address3.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:
transport: remote_smtp_smarthost
host smtp.orange.fr [80.12.242.10]
host smtp.orange.fr [193.252.22.64]

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 pidC81 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 -+-


--
Lisez la FAQ de la liste avant de poser une question :
http://wiki.debian.org/fr/FrenchLists

Pour vous DESABONNER, envoyez un message avec comme objet "unsubscribe"
vers
En cas de soucis, contactez EN ANGLAIS
Archive: https://lists.debian.org/ ld



--
Pierre Malard

«le système d'individualisme à outrance, d'âpre concurrence,
de lutte sans merci qui régit aujourd'hui la production, fait
presque autant de mal à la classe bourgeoise dans son ensemble
qu'à la classe ouvrière. [...]
Ils vivent dans un monde de lutte où la solidarité est inconnue.»
Jean Jaures - "L'idéal de justice" - 1889
| _,,,---,,_
/,`.-'`' -. ;-;;,_
|,4- ) )-,_. , ( `'-'
'---''(_/--' `-'_) πr

perl -e '$_=q#: 3| 5_,3-3,2_: 3/,`.'"'"'`'"'"' 5-. ;-;;,_: |,A- ) )-,_. , ( `'"'"'-'"'"': '"'"'-3'"'"'2(_/--'"'"' `-'"'"'_): 24Ï€r::#;y#:#n#;s#(D)(d+)#$1x$2#ge;print'
- --> Ce message n’engage que son auteur <--



--Apple-Mail=_63266F9D-6C0F-43CF-A155-9E9B1EB58903
Content-Transfer-Encoding: 7bit
Content-Disposition: attachment;
filename=signature.asc
Content-Type: application/pgp-signature;
name=signature.asc
Content-Description: Message signed with OpenPGP using GPGMail

-----BEGIN PGP SIGNATURE-----
Version: GnuPG/MacGPG2 v2.0.26
Comment: GPGTools - http://gpgtools.org

iQIcBAEBCgAGBQJU9rJ9AAoJELzRDw+wKgIyavwP/jv8a2mMKKAbGPVc8P4Eo8qz
9LzsLeqkbDUA7A8zDJbP+z/czc6Yxb04nyW/qUm8+dU7PNF1UM37ZJeMOpgwD/8f
U7SaVQBcv5nYogHbj+z48fT6yHm1oI4qglgNehjK3vK4o4ZJb5ScVLmbyYO7darR
rktYOQcct3hxz3f/QbbCt65tZcrwULo2ifBYX8xwLc34N7FCLkV+7oGGNY7bEcPo
TZMG7xMiwRpY5To71DcyJXcu7J0e581CSUvU4nZ3yERQLjXo71DSVHA9cUpNeEzg
aCSxkIQePp16X5XpMgf4wr9y9dA13eymD3k+8SSVaatNCN2uStmgHWdwPTyQSkN8
nQ2MwGTqhdsQ2LRHBA4qpGAUspiamBjdhi8+vwNTCSOIoZjqd8D2C4r2aAz0r/vu
TMeCpW0oxjyKOoPI3/Iev/+ehoJo1eec7V3bzIzv7MTGkrXbBFexvO73N2sQl8Zf
9210RxEas2QifGs4uw2U/bVjMYBQ8HCCXtHiYo3yS+9F5HytGUMSwNXa6Gc2oZY7
6wj2N6V/EfGO6JUHgOHNBB6QthizQHRjweUCfPbSbMygNQGyLTWTinvr1gGoI4o5
nBT94iviHR+rZhi1b1eg2is91QWaU0mPNi4aGkvGf7JeOQnGCKX9ra2V5Wj17M5J
dIVjFfh5q6fpMGB3V9s2
=r/dV
-----END PGP SIGNATURE-----

--Apple-Mail=_63266F9D-6C0F-43CF-A155-9E9B1EB58903--

--
Lisez la FAQ de la liste avant de poser une question :
http://wiki.debian.org/fr/FrenchLists

Pour vous DESABONNER, envoyez un message avec comme objet "unsubscribe"
vers
En cas de soucis, contactez EN ANGLAIS
Archive: https://lists.debian.org/
Avatar
Zuthos Oddy
<citation de="Pierre Malard">
Voilà la réponse à ta question.

Tu gères ton propre domaine DNS local, non routable, totalement privé :
bureau.
Comment veux tu que le serveur SMTP public (Orange) le connaisse et, par
voie
de conséquence, l’accepte ? La première chose que fait tout bon
serveur SMTP
est justement de vérifier que le domaine de destination est valide,
c’est à
dire qu’il saura comment transmettre le mail.



Justement, mon souhait et que mon courrier local ne passe pas par orange.

--
RÉVOLUTION !
M : Emmerdez les bourgeois ! Chiez dans les trous de golf !


--
Lisez la FAQ de la liste avant de poser une question :
http://wiki.debian.org/fr/FrenchLists

Pour vous DESABONNER, envoyez un message avec comme objet "unsubscribe"
vers
En cas de soucis, contactez EN ANGLAIS
Archive: https://lists.debian.org/
Avatar
Zuthos Oddy

<citation de="Pierre Malard">
Voilà la réponse à ta question.

Tu gères ton propre domaine DNS local, non routable, totalement privé
:
bureau.
Comment veux tu que le serveur SMTP public (Orange) le connaisse et, par
voie
de conséquence, l’accepte ? La première chose que fait tout bon
serveur SMTP
est justement de vérifier que le domaine de destination est valide,
c’est à
dire qu’il saura comment transmettre le mail.



Justement, mon souhait et que mon courrier local ne passe pas par orange.




Voila, j'ai fini par trouvé.
Il ne fallait pas configurer exim avec le résultat de la commande:
# hostname -f
mais avec ce qu'il y a dans "/etc/hostname"

Merci à tous pour votre aide. :-D


--
Lisez la FAQ de la liste avant de poser une question :
http://wiki.debian.org/fr/FrenchLists

Pour vous DESABONNER, envoyez un message avec comme objet "unsubscribe"
vers
En cas de soucis, contactez EN ANGLAIS
Archive: https://lists.debian.org/