PDA

Επιστροφή στο Forum : Exim4 Smarthost Gmail ErrorLog



ntg_net
19-09-15, 22:17
Εχω postάρει και στο insomnia το ίδιο θέμα απλά εκεί δεν είχα κάποια απάντηση

Σε laptop με Linux Mint 17.2 δεν με δουλευει ο exim με gmail
Τι μπορεί να εχω λαθος ?

sudo tail /var/log/exim4/mainlog -f


Log : sudo tail /var/log/exim4/mainlog -f
2015-09-18 23:42:37 1Zd1u6-00039h-DS no IP address found for host smtp
2015-09-18 23:42:37 1Zd1u6-00039h-DS == [email protected]<script data-cfhash='f9e31' type="text/javascript">
/* */</script> R=smarthost T=remote_smtp_smarthost defer (-53): retry time not reached for any host
2015-09-18 23:42:37 1Zd1w1-0003CE-Ts no IP address found for host smtp
2015-09-18 23:42:37 1Zd1w1-0003CE-Ts == [email protected]
/* */ R=smarthost T=remote_smtp_smarthost defer (-53): retry time not reached for any host
2015-09-18 23:42:37 End queue run: pid=18287
2015-09-18 23:42:47 1Zd2UP-0004lC-A8 no IP address found for host smtp
2015-09-18 23:42:47 1Zd2UP-0004lC-A8 == [email protected]
/* */ R=smarthost T=remote_smtp_smarthost defer (-53): retry time not reached for any host
2015-09-18 23:42:57 1Zd2Uj-0004lv-OL <= karanik@E6430 U=karanik P=local S=381
2015-09-18 23:43:07 1Zd2Uj-0004lv-OL no IP address found for host smtp
2015-09-18 23:43:07 1Zd2Uj-0004lv-OL == [email protected]
/* */ R=smarthost T=remote_smtp_smarthost defer (-53): retry time not reached for any host
2015-09-18 23:52:57 1Zd2eP-0004w7-5H <= karanik@E6430 U=karanik P=local S=381
2015-09-18 23:53:07 1Zd2eP-0004w7-5H no IP address found for host smtp
2015-09-18 23:53:07 1Zd2eP-0004w7-5H gmail.com [2a00:1450:400c:c07::13] Network is unreachable
2015-09-18 23:53:07 1Zd2eP-0004w7-5H == [email protected]
/* */ R=smarthost T=remote_smtp_smarthost defer (101): Network is unreachable
2015-09-18 23:53:39 Start queue run: pid=19017 -qff
2015-09-18 23:53:39 1Zd2Uj-0004lv-OL no IP address found for host smtp
2015-09-18 23:53:39 1Zd2Uj-0004lv-OL gmail.com [2a00:1450:400c:c07::13] Network is unreachable
2015-09-18 23:55:46 1Zd2Uj-0004lv-OL gmail.com [74.125.71.18] Connection timed out
2015-09-19 00:01:08 exim 4.82 daemon started: pid=19729, -q30m, listening for SMTP on [127.0.0.1]:25
2015-09-19 00:01:18 Start queue run: pid=19732
2015-09-19 00:01:18 End queue run: pid=19732
2015-09-19 00:01:48 1Zd2my-00058e-Pr <= karanik@E6430 U=karanik P=local S=381
2015-09-19 00:01:58 1Zd2my-00058e-Pr no IP address found for host smtp
2015-09-19 00:01:58 1Zd2my-00058e-Pr gmail.com [2a00:1450:400c:c05::53] Network is unreachable
2015-09-19 00:04:06 1Zd2my-00058e-Pr gmail.com [64.233.167.17] Connection timed out
2015-09-19 00:06:13 1Zd2my-00058e-Pr gmail.com [64.233.167.19] Connection timed out
2015-09-19 00:08:20 1Zd2my-00058e-Pr gmail.com [64.233.167.18] Connection timed out
2015-09-19 00:09:22 1Zd2my-00058e-Pr Spool file is locked (another process is handling this message)
2015-09-19 00:10:27 1Zd2my-00058e-Pr gmail.com [64.233.167.83] Connection timed out
2015-09-19 00:10:27 1Zd2my-00058e-Pr == [email protected]
/* */ R=smarthost T=remote_smtp_smarthost defer (110): Connection timed out
2015-09-19 00:12:26 exim 4.82 daemon started: pid=21130, -q30m, listening for SMTP on [127.0.0.1]:25
2015-09-19 00:12:36 Start queue run: pid=21133
2015-09-19 00:12:36 1Zd2my-00058e-Pr no IP address found for host smtp
2015-09-19 00:12:37 1Zd2my-00058e-Pr gmail.com [2a00:1450:400c:c0a::53] Network is unreachable
2015-09-19 00:14:44 1Zd2my-00058e-Pr gmail.com [74.125.195.17] Connection timed out
2015-09-19 00:16:51 1Zd2my-00058e-Pr gmail.com [74.125.195.19] Connection timed out
2015-09-19 00:17:11 1Zd31r-0005iW-40 <= root@e6430 U=root P=local S=782
2015-09-19 00:17:21 1Zd31r-0005iW-40 no IP address found for host smtp
2015-09-19 00:17:21 1Zd31r-0005iW-40 gmail.com [2a00:1450:400c:c0a::12] Network is unreachable
2015-09-19 00:18:58 1Zd2my-00058e-Pr gmail.com [74.125.195.83] Connection timed out
2015-09-19 00:19:28 1Zd31r-0005iW-40 gmail.com [173.194.67.83] Connection timed out
2015-09-19 00:19:40 exim 4.82 daemon started: pid=22792, -q30m, listening for SMTP on [127.0.0.1]:25
2015-09-19 00:19:50 Start queue run: pid=22794
2015-09-19 00:19:50 1Zd31r-0005iW-40 Spool file is locked (another process is handling this message)
2015-09-19 00:19:50 1Zd2my-00058e-Pr Spool file is locked (another process is handling this message)
2015-09-19 00:19:50 End queue run: pid=22794
2015-09-19 00:21:05 1Zd2my-00058e-Pr gmail.com [74.125.195.18] Connection timed out
2015-09-19 00:21:05 1Zd2my-00058e-Pr == [email protected]
/* */ R=smarthost T=remote_smtp_smarthost defer (110): Connection timed out
2015-09-19 00:21:05 End queue run: pid=21133
2015-09-19 00:21:35 1Zd31r-0005iW-40 gmail.com [173.194.67.17] Connection timed out


Εχω δοκιμάσει
Reinstall
Remove Purge & New installation
Ρυθμίσεις απο την αρχή

sudo dpkg-reconfigure exim4-config
Καθαρισμα της ουρας :

exim -bp | awk '/^ *[0-9]+[mhd]/{print "exim -Mrm " $3}' | bash


Με sudo exim4 -qff -v παίρνω



LOG: queue_run MAIN
Start queue run: pid=23172 -qff
delivering 1Zd2my-00058e-Pr (queue run pid 23172)
R: smarthost for [email protected]
/* */
LOG: host_lookup_failed MAIN
no IP address found for host smtp
T: remote_smtp_smarthost for [email protected]
/* */
Transport port=25 replaced by host-specific port=587
Connecting to gmail.com [2a00:1450:400c:c04::12]:587 ... failed: Network is unreachable
LOG: MAIN
gmail.com [2a00:1450:400c:c04::12] Network is unreachable
Transport port=25 replaced by host-specific port=587
Connecting to gmail.com [64.233.184.83]:587 ... failed: Connection timed out (timeout=5m)
LOG: MAIN
gmail.com [64.233.184.83] Connection timed out
Transport port=25 replaced by host-specific port=587
^C



Δοκίμασα και απο αυτό το url : http://livebook.in/2013/04/solved-exim-defer-53-retry-time-not-reached-for-any-host/

atrias
20-09-15, 15:17
για outgoing server έβαλες το παρακάτω?


smtp.gmail.com::587

επίσης στο /etc/exim4/passwd.client πρέπει να βάλεις τα email/pass σου (αν δε τα έχεις βάλει ήδη) με τη μορφή



*.gmail.com:user@gmail.com:password
*.google.com:user@gmail.com:password

ntg_net
20-09-15, 23:25
Ναι και στα 2

Επίσης στο /etc/exim4/passwd.client έχω δοκιμάσει και τα παρακάτω (εννοείτε με το σωστό email και password)
Την κάθε παραλλαγή στο με #

#gmail-smtp.l.google.com:myemail@gmail.com:mypass
#*.google.com:myemail@gmail.com:mypass
#smtp.gmail.com:myemail@gmail.com:mypass
*:myemail@gmail.com:mypass

atrias
21-09-15, 19:59
στα logs connection timeout λέει!

σε ping σου απαντάει το smtp.gmail.com ?

αν δώσεις μέσα από το μηχάνημα



telnet smtp.gmail.com 587

τι σου βγάζει?

μπας και είναι κλειστή καμιά πόρτα σε firewall είτε σε εσένα είτε στον ISP

επίσης στο reconfigure που κάνεις τι βάζεις στην πρώτη ερώτηση?

ntg_net
21-09-15, 20:14
Στο sudo dpkg-reconfigure exim4-config οπως έχω και στο θέμα , smarthost
Συγκεκριμένα mail send by smarthost; received via SMTP or fetchmail.

στο telnet απαντάει κανονικά

karanik@E6430 -> telnet smtp.gmail.com 587
Trying 64.233.184.109...
Connected to gmail-smtp-msa.l.google.com.
Escape character is '^]'.
220 smtp.gmail.com ESMTP x7sm14512488wia.5 - gsmtp

atrias
21-09-15, 23:01
λοιπόν σε ένα debian που έχω κάνει τα αντίστοιχα στην ερώτηση για τον smtp server έβαλα


smtp.gmail.com:587

(δηλαδή μία φορά κι όχι δύο την άνω κάτω τελεία - άσχετα αν στις οδηγίες ακριβώς από πάνω λέει να το βάλεις 2 φορές)

και λειτουργεί κανονικά

αν θέλεις δοκίμασέ το

δε μου έρχεται τίποτε άλλο :p

ntg_net
21-09-15, 23:30
Δεν θέλει ούτε με μονή :
161128

@ ADSLgr.com All rights reserved.