Sendmail отправить в интернет
Доброго вечера, господа. Сейчас настраиваю sendmail и вроде уже настроил ,почта гуляет по моему домену без пробле , тоесть пользователи общаются между собой ! a@mydomain.lviv.ua b @mydomain.lviv.ua ! Захожу в почту Hotmail.com и отпаравляю на свой домен для пользователю a@mydomain.lviv.ua ТОЖе работает ..А вот если я хочу отправить из своего домена на hotmail.com тогда письмо не идет!
Пользуюсь telnet-ом написано message accepted for delivery! Я думаю что в сендмейл закрыта отправка на чужие домени!? Что делать?
я бы настроил exim4 — он куда проще.
Мне вот интересно сам sendmail! Я как возьмусь, кинуть не могу =)
Я думаю что в сендмейл закрыта отправка на чужие домени!? Что делать?
лог смотреть /var/log/maillog
Я думаю что в сендмейл закрыта отправка на чужие домени!? Что делать?
Обычно в дистрибутивном конфиге разрешена отправка только c локалхоста. Проверь в sendmail.mc есть ли строчка
Если есть, то закоментируй ее и пересобери конфиг.
Если бы дело было в этом (Addr=127.0.0.1) — то почта с других доменов не принималась бы.
В случае ТС, я бы для начала посмотрела вывод mailq, затем попробовала вручную симулировать сеанс отправки почты (nc gmail-smtp-in.l.google.com 25), а также проверила бы что sendmail пишет в команде HELO/EHLO (чтобы писал нормальное имя, а не HELO localhost.localdomain).
Ну, да. (Addr=127.0.0.1) — это первое что я делаю не думая, не внимателен, извиняюсь.
Кроме логов можно на сами письма в очереди.
Если нет каких либо доменных настроек, то sendmail представляется именем хоста. Если не критично, hostname лучше сделать таким как в MX вашего домена.
# telnet poshta.lviv.ua 25 Trying 93.178.253.178. Connected to poshta.lviv.ua. Escape character is ‘^]’. 220 mail.poshta.lviv.ua ESMTP Sendmail 8.14.4/8.14.4/Debian-2ubuntu1; Wed, 1 Feb 2012 13:09:59 +0200; (No UCE/UBE) logging access from: mail.poshta.lviv.ua(OK)-mail.poshta.lviv.ua [93.178.253.178] helo poshta.lviv.ua 250 mail.poshta.lviv.ua Hello mail.poshta.lviv.ua [93.178.253.178], pleased to meet you mail from : sasha@poshta.lviv.ua 250 2.1.0 sasha@poshta.lviv.ua. Sender ok rcpt to : dsasha86@hotmial.com 250 2.1.5 dsasha86@hotmial.com. Recipient ok data 354 Enter mail, end with «.» on a line by itself test . 250 2.0.0 q11B9xgl003132 Message accepted for delivery quit 221 2.0.0 mail.poshta.lviv.ua closing connection Connection closed by foreign host.
Feb 1 13:10:57 mail sm-mta[3132]: q11B9xgl003132: from=sasha@poshta.lviv.ua, size=5, nrcpts=1, msgid= , proto=SMTP, daemon=MTA-v4, relay=mail.poshta.lviv.ua [93.178.253.178] Feb 1 13:10:58 mail sm-mta[3135]: q11B9xgl003132: SYSERR(root): mail.poshta.lviv.ua. config error: mail loops back to me (MX problem?) Feb 1 13:10:58 mail sm-mta[3135]: q11B9xgl003132: to=dsasha86@hotmial.com, ctladdr=sasha@poshta.lviv.ua (1002/1002), delay=00:00:11, xdelay=00:00:01, mailer=relay, pri=120005, relay=mail.poshta.lviv.ua. [93.178.253.178], dsn=5.3.5, stat=Local configuration error Feb 1 13:10:58 mail sm-mta[3136]: q11BAvxr003136: mail.poshta.lviv.ua [93.178.253.178] did not issue MAIL/EXPN/VRFY/ETRN during connection to MTA-v4 Feb 1 13:10:58 mail sm-mta[3135]: q11B9xgl003132: to=postmaster, delay=00:00:11, mailer=local, pri=120005, dsn=5.1.1, stat=User unknown Feb 1 13:10:58 mail sm-mta[3135]: q11B9xgl003132: q11BAwgl003135: DSN: User unknown Feb 1 13:10:58 mail sm-mta[3135]: q11BAwgl003135: to=sasha@poshta.lviv.ua, delay=00:00:00, xdelay=00:00:00, mailer=local, pri=30000, dsn=2.0.0, stat=Sent Feb 1 13:10:58 mail sm-mta[3135]: q11BAwgl003135: to=MAILER-DAEMON, delay=00:00:00, mailer=local, pri=30000, dsn=5.1.1, stat=User unknown Feb 1 13:10:58 mail sm-mta[3135]: q11BAwgl003135: to=postmaster, delay=00:00:00, mailer=local, pri=30000, dsn=5.1.1, stat=User unknown Feb 1 13:10:58 mail sm-mta[3135]: q11BAwgl003135: q11BAwgm003135: return to sender: User unknown Feb 1 13:10:58 mail sm-mta[3135]: q11BAwgm003135: to=MAILER-DAEMON, delay=00:00:00, mailer=local, pri=0, dsn=5.1.1, stat=User unknown Feb 1 13:10:58 mail sm-mta[3135]: q11BAwgl003135: Saved message in /var/lib/sendmail/dead.letter
Ето может быть связано с ДНС сервером,с почтовим маршрутизтором?
Не читабельно. обрамляй логи в теги [code] [/code]
Режим LORCODE надо поставить под полем ввода сообщения.
Перевод message accepted for delivery
Message of the Sphinx — ( Keeper of Genesis in the United Kingdom) was a book written by Graham Hancock and Robert Bauval which argued that the creation of the Sphinx and Pyramids can be pushed back as far as 10,500 BC using astronomical data. Working from the premise… … Wikipedia
Message Sequence Chart — Ein Message Sequence Chart (MSC, engl. Nachrichten Reihenfolge Diagramm) wird benutzt, um (z. B. zur Unterstützung der Modellierung mit SDL) beispielhafte Nachrichtenfolgen zwischen kommunizierenden Objekten einheitlich darzustellen. MSC ist ein… … Deutsch Wikipedia
Message queue — In computer science, message queues and mailboxes are software engineering components used for interprocess communication, or for inter thread communication within the same process. They use a queue for messaging – the passing of control or of… … Wikipedia
Message Passing Interface — MPI, the Message Passing Interface, is standardized and portable message passing system designed by a group of researchers from academia and industry to function on a wide variety of parallel computers. The standard defines the syntax and… … Wikipedia
Church of Christ «With the Elijah Message» — The Church of Christ Eith the Elijah Message Church of Christ With the Elijah Message meetinghouse in Independence, Missouri Classification Latter Day Saint movement … Wikipedia
Bounce message — A bounce message, or (failed) Delivery Status Notification (DSN) message, aka Non Delivery Report/Receipt (NDR), Non Delivery Notification (NDN), or simply a bounce is an automated electronic mail message from a mail system informing the sender… … Wikipedia
Internet Message Access Protocol — IMAP redirects here. For the antipsychotic, see Fluspirilene. Internet protocol suite Application layer BGP … Wikipedia
Subliminal message — A subliminal message is a signal or message embedded in another medium, designed to pass below the normal limits of the human mind s perception. These messages are unrecognizable by the conscious mind, but in certain situations can affect the… … Wikipedia
Control message — Contents 1 Types of control messages 1.1 cancel 1.2 newgroup 1.3 rmgroup 1.4 … Wikipedia
Direct Internet Message Encapsulation — (DIME) was a Microsoft proposed internet standard in the early 2000s for the streaming of binary and other encapsulated data over the Internet. According to the IETF web site, the standard has been withdrawn and never made RFC status. However,… … Wikipedia
Manufacturing Message Specification — (MMS) is an international standard (ISO 9506) dealing with messaging system for transferring real time process data and supervisory control information between networked devices and/or computer applications. The standard is developed and… … Wikipedia
Перевод message accepted for delivery
Message of the Sphinx — ( Keeper of Genesis in the United Kingdom) was a book written by Graham Hancock and Robert Bauval which argued that the creation of the Sphinx and Pyramids can be pushed back as far as 10,500 BC using astronomical data. Working from the premise… … Wikipedia
Message Sequence Chart — Ein Message Sequence Chart (MSC, engl. Nachrichten Reihenfolge Diagramm) wird benutzt, um (z. B. zur Unterstützung der Modellierung mit SDL) beispielhafte Nachrichtenfolgen zwischen kommunizierenden Objekten einheitlich darzustellen. MSC ist ein… … Deutsch Wikipedia
Message queue — In computer science, message queues and mailboxes are software engineering components used for interprocess communication, or for inter thread communication within the same process. They use a queue for messaging – the passing of control or of… … Wikipedia
Message Passing Interface — MPI, the Message Passing Interface, is standardized and portable message passing system designed by a group of researchers from academia and industry to function on a wide variety of parallel computers. The standard defines the syntax and… … Wikipedia
Church of Christ «With the Elijah Message» — The Church of Christ Eith the Elijah Message Church of Christ With the Elijah Message meetinghouse in Independence, Missouri Classification Latter Day Saint movement … Wikipedia
Bounce message — A bounce message, or (failed) Delivery Status Notification (DSN) message, aka Non Delivery Report/Receipt (NDR), Non Delivery Notification (NDN), or simply a bounce is an automated electronic mail message from a mail system informing the sender… … Wikipedia
Internet Message Access Protocol — IMAP redirects here. For the antipsychotic, see Fluspirilene. Internet protocol suite Application layer BGP … Wikipedia
Subliminal message — A subliminal message is a signal or message embedded in another medium, designed to pass below the normal limits of the human mind s perception. These messages are unrecognizable by the conscious mind, but in certain situations can affect the… … Wikipedia
Control message — Contents 1 Types of control messages 1.1 cancel 1.2 newgroup 1.3 rmgroup 1.4 … Wikipedia
Direct Internet Message Encapsulation — (DIME) was a Microsoft proposed internet standard in the early 2000s for the streaming of binary and other encapsulated data over the Internet. According to the IETF web site, the standard has been withdrawn and never made RFC status. However,… … Wikipedia
Manufacturing Message Specification — (MMS) is an international standard (ISO 9506) dealing with messaging system for transferring real time process data and supervisory control information between networked devices and/or computer applications. The standard is developed and… … Wikipedia