Niedzia

Tematy związane z oprogramowaniem, instalacją, konfiguracją
Awatar użytkownika
Rafal_F
Moderator
Posty: 2350
Rejestracja: 29 sierpnia 2008, 16:45

Post autor: Rafal_F »

Teraz powinno działać po ppp0.
hubitru
Posty: 51
Rejestracja: 15 stycznia 2014, 15:59

Post autor: hubitru »

Wyłączyłem router i kartę wifi. Połączyłem się przez GSM, wykonałem skrypt i nie przyszedł sms.
Awatar użytkownika
Rafal_F
Moderator
Posty: 2350
Rejestracja: 29 sierpnia 2008, 16:45

Post autor: Rafal_F »

A internet przez modem gsm działa? Musisz poeksperymentować z sendmailem.
Awatar użytkownika
kodama
Junior Member
Posty: 633
Rejestracja: 23 maja 2010, 22:30
Lokalizacja: Poznań

Post autor: kodama »

No ale żeby sendmail działał to musi być chyba jakiś exim albo inne coś skonfigurowane, nie?
hubitru
Posty: 51
Rejestracja: 15 stycznia 2014, 15:59

Post autor: hubitru »

Internet działa. Zainstalować exim4?
Awatar użytkownika
dedito
Moderator
Posty: 3560
Rejestracja: 18 listopada 2013, 21:07
Lokalizacja: Gliwice

Post autor: dedito »

Niech kolega udostępni jakieś logi, które generuje ten skrypt.
Proponuję też spróbować ręcznie wysłać emaila z linii poleceń.
Awatar użytkownika
kodama
Junior Member
Posty: 633
Rejestracja: 23 maja 2010, 22:30
Lokalizacja: Poznań

Post autor: kodama »

Spróbuj jak dedito pisze:

Kod: Zaznacz cały

mail -s "TEMAT" [email protected] -a "From: [email protected]" < /dev/null
i zobacz co w logach.
hubitru
Posty: 51
Rejestracja: 15 stycznia 2014, 15:59

Post autor: hubitru »

Moje logi: (specjalnie zaiksowałem numer telefonu.
Mar 20 21:03:01 hubert-Satellite-L300 sendmail[3801]: s2KK317f003801: to=[email protected], ctladdr=root (0/0), delay=00:00:00, xdelay=00:00:00, mailer=relay, pri=30133, relay=[127.0.0.1] [127.0.0.1], dsn=2.0.0, stat=Sent (s2KK31ob003892 Message accepted for delivery)
Mar 20 21:03:16 hubert-Satellite-L300 sm-mta[3894]: s2KK31ob003892: to=<[email protected]>, ctladdr=<root@hubert-Satellite-L300> (0/0), delay=00:00:15, xdelay=00:00:15, mailer=esmtp, pri=120368, relay=smsm.plusgsm.pl. [212.2.96.57], dsn=2.0.0, stat=Sent (OK id=1WQjBA-0004js-Cg)
Mar 20 21:03:40 hubert-Satellite-L300 sendmail[3890]: unable to qualify my own domain name (hubert-Satellite-L300) -- using short name
Mar 20 21:03:40 hubert-Satellite-L300 sendmail[3890]: s2KK3en6003890: from=root, size=133, class=0, nrcpts=1, msgid=<201403202003.s2KK3en6003890@hubert-Satellite-L300>, relay=root@localhost
Mar 20 21:03:41 hubert-Satellite-L300 sm-mta[3986]: s2KK3ea7003986: from=<root@hubert-Satellite-L300>, size=368, class=0, nrcpts=1, msgid=<201403202003.s2KK3en6003890@hubert-Satellite-L300>, proto=ESMTP, daemon=MTA-v4, relay=localhost [127.0.0.1]
Mar 20 21:03:41 hubert-Satellite-L300 sendmail[3890]: s2KK3en6003890: to=[email protected], ctladdr=root (0/0), delay=00:00:01, xdelay=00:00:01, mailer=relay, pri=30133, relay=[127.0.0.1] [127.0.0.1], dsn=2.0.0, stat=Sent (s2KK3ea7003986 Message accepted for delivery)
Mar 20 21:03:41 hubert-Satellite-L300 sm-mta[3988]: s2KK3ea7003986: to=<[email protected]>, ctladdr=<root@hubert-Satellite-L300> (0/0), delay=00:00:00, xdelay=00:00:00, mailer=esmtp, pri=120368, relay=smsm.plusgsm.pl. [212.2.96.57], dsn=4.0.0, stat=Deferred: Connection refused by smsm.plusgsm.pl.
Mar 20 21:04:13 hubert-Satellite-L300 sm-mta[4003]: s2KK3ea7003986: to=<[email protected]>, ctladdr=<root@hubert-Satellite-L300> (0/0), delay=00:00:32, xdelay=00:00:00, mailer=esmtp, pri=210368, relay=smsm.plusgsm.pl. [212.2.96.57], dsn=4.0.0, stat=Deferred: Connection refused by smsm.plusgsm.pl.
Mar 20 21:09:15 hubert-Satellite-L300 sendmail[4109]: My unqualified host name (hubert-Satellite-L300) unknown; sleeping for retry
Mar 20 21:10:15 hubert-Satellite-L300 sendmail[4109]: unable to qualify my own domain name (hubert-Satellite-L300) -- using short name
Mar 20 21:10:15 hubert-Satellite-L300 sendmail[4109]: s2KKAFtq004109: from=root, size=133, class=0, nrcpts=1, msgid=<201403202010.s2KKAFtq004109@hubert-Satellite-L300>, relay=root@localhost
Mar 20 21:10:20 hubert-Satellite-L300 sm-mta[4199]: s2KKAF1V004199: from=<root@hubert-Satellite-L300>, size=368, class=0, nrcpts=1, msgid=<201403202010.s2KKAFtq004109@hubert-Satellite-L300>, proto=ESMTP, daemon=MTA-v4, relay=localhost [127.0.0.1]
Mar 20 21:10:21 hubert-Satellite-L300 sendmail[4109]: s2KKAFtq004109: to=[email protected], ctladdr=root (0/0), delay=00:00:06, xdelay=00:00:06, mailer=relay, pri=30133, relay=[127.0.0.1] [127.0.0.1], dsn=2.0.0, stat=Sent (s2KKAF1V004199 Message accepted for delivery)
Mar 20 21:10:29 hubert-Satellite-L300 sm-mta[4201]: s2KKAF1V004199: to=<[email protected]>, ctladdr=<root@hubert-Satellite-L300> (0/0), delay=00:00:09, xdelay=00:00:08, mailer=esmtp, pri=120368, relay=smsm.plusgsm.pl. [212.2.96.57], dsn=2.0.0, stat=Sent (OK id=1WQjIH-0005Cg-Pz)
Mar 20 21:12:36 hubert-Satellite-L300 sendmail[4211]: My unqualified host name (hubert-Satellite-L300) unknown; sleeping for retry
Mar 20 21:13:36 hubert-Satellite-L300 sendmail[4211]: unable to qualify my own domain name (hubert-Satellite-L300) -- using short name
Mar 20 21:13:36 hubert-Satellite-L300 sendmail[4211]: s2KKDa81004211: from=root, size=133, class=0, nrcpts=1, msgid=<201403202013.s2KKDa81004211@hubert-Satellite-L300>, relay=root@localhost
Mar 20 21:13:36 hubert-Satellite-L300 sm-mta[4234]: s2KKDa03004234: from=<root@hubert-Satellite-L300>, size=368, class=0, nrcpts=1, msgid=<201403202013.s2KKDa81004211@hubert-Satellite-L300>, proto=ESMTP, daemon=MTA-v4, relay=localhost [127.0.0.1]
Mar 20 21:13:36 hubert-Satellite-L300 sendmail[4211]: s2KKDa81004211: to=[email protected], ctladdr=root (0/0), delay=00:00:00, xdelay=00:00:00, mailer=relay, pri=30133, relay=[127.0.0.1] [127.0.0.1], dsn=2.0.0, stat=Sent (s2KKDa03004234 Message accepted for delivery)
Mar 20 21:13:42 hubert-Satellite-L300 sm-mta[4236]: s2KKDa03004234: to=<[email protected]>, ctladdr=<root@hubert-Satellite-L300> (0/0), delay=00:00:06, xdelay=00:00:06, mailer=esmtp, pri=120368, relay=smsm.plusgsm.pl. [212.2.96.57], dsn=2.0.0, stat=Sent (OK id=1WQjLQ-0005OK-9D)
Mar 20 21:14:13 hubert-Satellite-L300 sm-mta[4243]: s2KK3ea7003986: to=<[email protected]>, ctladdr=<root@hubert-Satellite-L300> (0/0), delay=00:10:32, xdelay=00:00:00, mailer=esmtp, pri=300368, relay=smsm.plusgsm.pl. [212.2.96.57], dsn=4.0.0, stat=Deferred: Connection refused by smsm.plusgsm.pl.
Mar 20 21:14:55 hubert-Satellite-L300 sendmail[4314]: My unqualified host name (hubert-Satellite-L300) unknown; sleeping for retry
Mar 20 21:15:38 hubert-Satellite-L300 sendmail[4384]: My unqualified host name (hubert-Satellite-L300) unknown; sleeping for retry
Mar 20 21:16:38 hubert-Satellite-L300 sendmail[4384]: unable to qualify my own domain name (hubert-Satellite-L300) -- using short name
Mar 20 21:16:43 hubert-Satellite-L300 sendmail[4384]: My unqualified host name (hubert-Satellite-L300) unknown; sleeping for retry
Mar 20 21:17:43 hubert-Satellite-L300 sendmail[4384]: unable to qualify my own domain name (hubert-Satellite-L300) -- using short name
Mar 20 21:17:43 hubert-Satellite-L300 sendmail[4384]: s2KKGceU004384: Authentication-Warning: hubert-Satellite-L300: hubert set sender to [email protected] using -f
Mar 20 21:17:43 hubert-Satellite-L300 sendmail[4384]: s2KKGceU004384: from=[email protected], size=91, class=0, nrcpts=1, msgid=<201403202016.s2KKGceU004384@hubert-Satellite-L300>, relay=hubert@localhost
Mar 20 21:17:43 hubert-Satellite-L300 sm-mta[4410]: s2KKHhiH004410: from=<[email protected]>, size=421, class=0, nrcpts=1, msgid=<201403202016.s2KKGceU004384@hubert-Satellite-L300>, proto=ESMTP, daemon=MTA-v4, relay=localhost [127.0.0.1]
Mar 20 21:17:43 hubert-Satellite-L300 sendmail[4384]: s2KKGceU004384: to=<[email protected]>, ctladdr=[email protected] (1000/1000), delay=00:01:05, xdelay=00:00:00, mailer=relay, pri=30091, relay=[127.0.0.1] [127.0.0.1], dsn=2.0.0, stat=Sent (s2KKHhiH004410 Message accepted for delivery)
Mar 20 21:17:44 hubert-Satellite-L300 sm-mta[4412]: STARTTLS=client, relay=mx.poczta.onet.pl., version=TLSv1/SSLv3, verify=FAIL, cipher=ECDHE-RSA-AES256-SHA, bits=256/256
Mar 20 21:17:44 hubert-Satellite-L300 sm-mta[4412]: s2KKHhiH004410: to=<[email protected]>, delay=00:00:01, xdelay=00:00:01, mailer=esmtp, pri=120421, relay=mx.poczta.onet.pl. [213.180.147.146], dsn=5.7.1, stat=Service unavailable
Mar 20 21:17:44 hubert-Satellite-L300 sm-mta[4412]: s2KKHhiH004410: s2KKHiiH004412: DSN: Service unavailable
Mar 20 21:17:44 hubert-Satellite-L300 sm-mta[4412]: s2KKHiiH004412: to=<[email protected]>, delay=00:00:00, xdelay=00:00:00, mailer=esmtp, pri=30000, relay=mx.poczta.onet.pl. [213.180.147.146], dsn=4.7.1, stat=Deferred: 450 4.7.1 <[email protected]>: Recipient address rejected: Sender address deferred by rule #CR-IN-S-35 until Fri Mar 20 21:02:15 2015 #1
Mar 20 21:20:01 hubert-Satellite-L300 sm-msp-queue[4547]: My unqualified host name (hubert-Satellite-L300) unknown; sleeping for retry
Awatar użytkownika
dedito
Moderator
Posty: 3560
Rejestracja: 18 listopada 2013, 21:07
Lokalizacja: Gliwice

Post autor: dedito »

Wygląda, że plus Cie odrzuca. Próbowałeś jakimiś innymi metodami skorzystać z tej bramki plusa ? (np. za pomocą innego klienta pocztowego)
ODPOWIEDZ