Portál AbcLinuxu, 10. května 2025 05:54

Dotaz: Postfix nelze odeslat email

19.11.2006 13:48 Michal
Postfix nelze odeslat email
Přečteno: 343×
Odpovědět | Admin
Ahoj, nevim cim to muze byt, ale drive mi slo normalne posilat maily z Postfixu a najednou to nejde, z konfugaci jsem nic nedelal. Muzou se normalne pripojit na port 25, kde se mi ozve SMTP sever, postfix jde i normalne spustit, ale emaily se neodeslou a dokonce se i prestal generovat log soubor, nestkali jste se s tim nekdo? Dekuji.
Nástroje: Začni sledovat (0) ?Zašle upozornění na váš email při vložení nového komentáře.

Odpovědi

19.11.2006 13:50 Zdeněk Burda | skóre: 61 | blog: Zdendův blog | Praha
Rozbalit Rozbalit vše Re: Postfix nelze odeslat email
Odpovědět | | Sbalit | Link | Blokovat | Admin
Zkus utilitou logger vygenerovat nějakou zprávu do syslogu, pokud to neprojde tak restartuj syslog případně ho oprav tak ať funguje :-)

Pak zkus restartovat postfix a odeslat nový email, přitom kontroluj logy. Buď to rovnou vyřešíš nebo budeš mít aspoň dost informací k tomu aby ses mohl znovu a pořádně zeptat.
-- Nezdar není hanbou, hanbou je strach z pokusu.
19.11.2006 15:25 Michal
Rozbalit Rozbalit vše Re: Postfix nelze odeslat email
Dekuji, takze jsem se uz konecne dostal k logu, zde je par poslednich radek
Nov 19 14:09:02 Server postfix/local[1804]: fatal: gethostbyname("Server") does not resolve as a fully qualified domain name.
Nov 19 14:09:02 Server postfix/local[1809]: warning: dict_nis_init: NIS domain name not set - NIS lookups disabled
Nov 19 14:09:02 Server postfix/qmgr[1748]: 5AC111EEEFB3: from=<>, size=2360, nrcpt=1 (queue active)
Nov 19 14:09:02 Server postfix/qmgr[1748]: 5CDD01DEBB40: from=root@localhost.localdomain, size=587, nrcpt=1 (queue active)
Nov 19 14:09:02 Server postfix/local[1809]: fatal: gethostbyname("Server") does not resolve as a fully qualified domain name.
Nov 19 14:09:02 Server postfix/local[1810]: warning: dict_nis_init: NIS domain name not set - NIS lookups disabled
Nov 19 14:09:02 Server postfix/qmgr[1748]: 5E5031F46457: from=<>, size=2360, nrcpt=1 (queue active)
Nov 19 14:09:02 Server postfix/qmgr[1748]: 505A91EFF1D9: from=root@localhost.localdomain, size=587, nrcpt=1 (queue active)
Nov 19 14:09:02 Server postfix/local[1810]: fatal: gethostbyname("Server") does not resolve as a fully qualified domain name.
Nov 19 14:09:02 Server postfix/qmgr[1748]: 576781D54A21: from=<>, size=2360, nrcpt=1 (queue active)
Nov 19 14:09:02 Server postfix/qmgr[1748]: 58ABB1EAE881: from=<>, size=2360, nrcpt=1 (queue active)
Nov 19 14:09:02 Server postfix/qmgr[1748]: 5227C1F0512F: from=root@localhost.localdomain, size=585, nrcpt=1 (queue active)
Nov 19 14:09:02 Server postfix/qmgr[1748]: 5A70A1F3A5A4: from=<>, size=2360, nrcpt=1 (queue active)
Nov 19 14:09:02 Server postfix/qmgr[1748]: 5D88A1E9E7AD: from=<>, size=2360, nrcpt=1 (queue active)
Nov 19 14:09:02 Server postfix/master[1736]: warning: process /usr/lib/postfix/local pid 1803 exit status 1
Nov 19 14:09:02 Server postfix/master[1736]: warning: /usr/lib/postfix/local: bad command startup -- throttling
Nov 19 14:09:02 Server postfix/qmgr[1748]: 59B681EFE9A6: from=root@localhost.localdomain, size=587, nrcpt=1 (queue active)
Nov 19 14:09:02 Server postfix/qmgr[1748]: warning: premature end-of-input on private/local socket while reading input attribute name
Nov 19 14:09:02 Server postfix/qmgr[1748]: warning: private/local socket: malformed response
Nov 19 14:09:02 Server postfix/qmgr[1748]: warning: transport local failure -- see a previous warning/fatal/panic logfile record for the problem description
19.11.2006 16:02 Michal
Rozbalit Rozbalit vše Re: Postfix nelze odeslat email
Tak jsem s tim mozna trosku pohnul, ale mam ted problem se spojit z postfixu s jinym serverem
Nov 19 14:48:02 Server postfix/smtp[13221]: connect to alt2.gmail-smtp-in.l.google.com[64.233.185.114]: Connection timed out (port 25)
Nov 19 14:48:32 Server postfix/smtp[13221]: connect to gsmtp183.google.com[64.233.183.27]: Connection timed out (port 25)
Nov 19 14:46:36 Server postfix/smtp[17894]: connect to mx1.seznam.cz[194.228.32.42]: Connection timed out (port 25)
Pritom na seznam i na goolge normalne pingnu
19.11.2006 16:55 Michal
Rozbalit Rozbalit vše Re: Postfix nelze odeslat email
Tak jsem zjistil , ze ani telnetem se nespojim s jinym smtp serverm, je mozny ze by moje ip byla na nejakym blacklistu?
19.11.2006 17:25 Dušan Hokův | skóre: 43 | blog: Fedora a další...
Rozbalit Rozbalit vše Re: Postfix nelze odeslat email
1. spatne nastavene hostname
Nov 19 14:09:02 Server postfix/local[1809]: fatal: gethostbyname("Server") does not resolve as a fully qualified domain nam
e.

2. chyby v konfiguraci
Nov 19 14:09:02 Server postfix/master[1736]: warning: process /usr/lib/postfix/local pid 1803 exit status 1
Nov 19 14:09:02 Server postfix/master[1736]: warning: /usr/lib/postfix/local: bad command startup -- throttling
Az bude log bez techto hlasek, bude to fungovat.

Založit nové vláknoNahoru

Tiskni Sdílej: Linkuj Jaggni to Vybrali.sme.sk Google Del.icio.us Facebook

ISSN 1214-1267, (c) 1999-2007 Stickfish s.r.o.