ALT Linux Sisyphus discussions
 help / color / mirror / Atom feed
From: Leonid Krivoshein <klark.devel@gmail.com>
To: sisyphus@lists.altlinux.org
Subject: Re: [sisyphus] Не ходит почта при старте системы
Date: Sun, 17 Feb 2019 14:35:12 +0300
Message-ID: <3c0bd9ed-332f-4f35-f852-0a9fcc4f4e91@gmail.com> (raw)
In-Reply-To: <2ccd156b-823c-886e-895c-eabfffb8d6a4@gmail.com>



16.02.2019 22:00, Alexei V. Mezin пишет:
> Запускается система, в ней включен smartd, который при старте 
> отправляет тестовый email. Локальная почта ходит через postfix, 
> которые делает relay через gmail.
>
> Вообще говоря, почта работает. Но именно при старте системы получаю
>
> smartd[1185]: Test of <mail> to alexei@... produced unexpected output 
> (88 bytes) to STDOUT/STDERR:
> фев 16 21:02:59 intelserver.localdomain smartd[1185]: send-mail: 
> fatal: parameter inet_interfaces: no local interface found for 
> 192.168.1.254
>
> На сколько я понял, smartd и postfix запустились еще до того, как 
> поднялась сеть. Или только smartd? Как лучше вылечить?
>
> На запущенной системе restart smartd почту исправно отсылает.
>

- либо править unit-файл smartd, чтобы он запускался после поднятия сети;
- либо вместо -M mail использовать -M diminishing (man 5 smartd.conf).

См.также логи postfix (journalctl -U postfix) на предмет "said 550: 
...", возможно в его настройках нужно жёстко прописать адрес отправителя 
(-r ...).


-- 
Best regards,
Leonid Krivoshein.



  reply	other threads:[~2019-02-17 11:35 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-02-16 19:00 Alexei V. Mezin
2019-02-17 11:35 ` Leonid Krivoshein [this message]
2019-02-17 22:14   ` Alexei V. Mezin
2019-02-17 22:43     ` Leonid Krivoshein

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=3c0bd9ed-332f-4f35-f852-0a9fcc4f4e91@gmail.com \
    --to=klark.devel@gmail.com \
    --cc=sisyphus@lists.altlinux.org \
    /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

ALT Linux Sisyphus discussions

This inbox may be cloned and mirrored by anyone:

	git clone --mirror http://lore.altlinux.org/sisyphus/0 sisyphus/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 sisyphus sisyphus/ http://lore.altlinux.org/sisyphus \
		sisyphus@altlinux.ru sisyphus@altlinux.org sisyphus@lists.altlinux.org sisyphus@lists.altlinux.ru sisyphus@lists.altlinux.com sisyphus@linuxteam.iplabs.ru sisyphus@list.linux-os.ru
	public-inbox-index sisyphus

Example config snippet for mirrors.
Newsgroup available over NNTP:
	nntp://lore.altlinux.org/org.altlinux.lists.sisyphus


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git