From: Ivan Afonichev <ivan.afonichev@gmail.com>
To: Saratov Linux User Group Maillist <sarlug@lists.lug.ru>
Subject: Re: [Sarlug] Не отправляется почта.
Date: Fri, 26 Nov 2010 17:15:18 +0300
Message-ID: <AANLkTi=Xn7b7+U-0S85WqS+MMrKubjqfro5Bf2S11ELd@mail.gmail.com> (raw)
In-Reply-To: <AANLkTik9GW3-7n+FXhL17_k5rrRLpTiwRmNEZEn6QGhp@mail.gmail.com>
26 ноября 2010 г. 16:33 пользователь Данила shagrat
<shagrat404@gmail.com> написал:
> Здравствуйте!
> Трабла вот в чем. Коммандую:
> # cat test-mail | mail -s "tested" shagrat404@gmail.com
> Письмо не доходит, а в логах:
> # tail /var/log/mail.info
> Nov 26 16:14:36 shagrat-laptop postfix/smtp[13388]: connect to
> alt3.gmail-smtp-in.l.google.com[74.125.157.27]:25: Connection timed
> out
> Nov 26 16:14:57 shagrat-laptop postfix/smtp[13388]: connect to
> alt4.gmail-smtp-in.l.google.com[74.125.47.27]:25: Connection timed out
> Nov 26 16:14:57 shagrat-laptop postfix/smtp[13388]: ED1B6662C9:
> to=<shagrat404@gmail.com>, relay=none, delay=2195,
> delays=2090/0.14/105/0, dsn=4.4.1, status=deferred (connect to
> alt4.gmail-smtp-in.l.google.com[74.125.47.27]:25: Connection timed
> out)
> Nov 26 16:23:12 shagrat-laptop postfix/qmgr[12908]: 34618662D0:
> from=<root@shagrat-laptop>, size=294, nrcpt=1 (queue active)
> Nov 26 16:23:33 shagrat-laptop postfix/smtp[13519]: connect to
> gmail-smtp-in.l.google.com[74.125.79.27]:25: Connection timed out
> Nov 26 16:23:54 shagrat-laptop postfix/smtp[13519]: connect to
> alt1.gmail-smtp-in.l.google.com[74.125.43.27]:25: Connection timed out
> Nov 26 16:24:15 shagrat-laptop postfix/smtp[13519]: connect to
> alt2.gmail-smtp-in.l.google.com[74.125.155.27]:25: Connection timed
> out
> Nov 26 16:24:36 shagrat-laptop postfix/smtp[13519]: connect to
> alt3.gmail-smtp-in.l.google.com[74.125.157.27]:25: Connection timed
> out
> Nov 26 16:24:57 shagrat-laptop postfix/smtp[13519]: connect to
> alt4.gmail-smtp-in.l.google.com[74.125.45.27]:25: Connection timed out
> Nov 26 16:24:58 shagrat-laptop postfix/smtp[13519]: 34618662D0:
> to=<shagrat404@gmail.com>, relay=none, delay=1592,
> delays=1487/0.08/105/0, dsn=4.4.1, status=deferred (connect to
> alt4.gmail-smtp-in.l.google.com[74.125.45.27]:25: Connection timed
> out)
>
> Что сделать, чтобы заработало?
>
> PS какие пакеты поставить нужно, чтобы отсылать почту из командной строки? :)
>
на серверах у меня так сделано чтобы почта ходила:
-A OUTPUT -d ! 212.193.32.0/19 -o eth+ -p tcp -m tcp --dport 25 -j
DNAT --to-destination 212.193.32.6:25
(в таблице nat)
next prev parent reply other threads:[~2010-11-26 14:15 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-11-26 13:33 Данила shagrat
2010-11-26 13:54 ` Evgeny Sinelnikov
2010-11-26 14:15 ` Ivan Afonichev [this message]
2010-11-26 16:04 ` sarutobi
2010-11-26 17:13 ` Данила shagrat
2010-11-26 17:16 ` Данила shagrat
2010-11-26 17:28 ` Данила shagrat
2010-11-27 5:18 ` Sicness
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to='AANLkTi=Xn7b7+U-0S85WqS+MMrKubjqfro5Bf2S11ELd@mail.gmail.com' \
--to=ivan.afonichev@gmail.com \
--cc=sarlug@lists.lug.ru \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Saratov Linux User Group
This inbox may be cloned and mirrored by anyone:
git clone --mirror http://lore.altlinux.org/sarlug/0 sarlug/git/0.git
# If you have public-inbox 1.1+ installed, you may
# initialize and index your mirror using the following commands:
public-inbox-init -V2 sarlug sarlug/ http://lore.altlinux.org/sarlug \
sarlug@lists.lug.ru sarlug@lug.ru
public-inbox-index sarlug
Example config snippet for mirrors.
Newsgroup available over NNTP:
nntp://lore.altlinux.org/org.altlinux.lists.sarlug
AGPL code for this site: git clone https://public-inbox.org/public-inbox.git