ALT Linux Community general discussions
 help / color / mirror / Atom feed
From: Sergei Boudnik <sergei@boudnik.kiev.ua>
To: ALT Linux Community <community@lists.altlinux.org>
Subject: Re: [Comm] сообщения в postfix
Date: Mon, 14 Aug 2006 16:20:48 +0300
Message-ID: <44E078B0.1030903@boudnik.kiev.ua> (raw)
In-Reply-To: <20060814113645.GV10532@osdn.org.ua>

Michael Shigorin пишет:
> On Mon, Aug 14, 2006 at 12:58:52PM +0400, Шенцев Алексей Владимирович wrote:
> 
>>Скорее всего Михаил Шигорин прав, провайдер погорячился
>>запихивать в спам то, что является стандартным системным
>>увидомлением.
> 
> 
> Проблема в том, что отлупы на подставные (но стыренные, бишь
> существующие) From: действительно стали проблемой...
> 
> Но решение скорее в плоскости "отрубать за спам руки" или
> "выкидывать SMTP", и очень мало фиксится договорными отношениями
> поставщика услуг со владельцем не злоумышленной, а всего-то
> соответствующей недодуманному стандарту почтовой системы.
> 
Знаешь, Миша, в целом то оно, конечно, так, но в данном случае 
postmaster@ от части прав: ему не нужны отлупы об ошибках чужой системы.

А проблема исключительно в "руках" админа.
postfix не может положить письмо в ящик, потому что файл залочен.
Скорее всего в это время идет архивация файла. И хотя постфиксу на это 
время сменили конфиг, но перечитать его не заставили.
Все дело в том, что переменная $PATH в окружении cron и в консоли 
разные, и скрипт, отлаженый в консоли не будет так же хорошо работать 
из-под cron - в $PATH отсутствуют /sbin/ и /usr/sbin/, поэтому команды:
postfix reload
service postfix reload
отдают: command not found
Это можно увидеть в письмах от крона, если их, конечно, читать...
В скрипте надо прописывать полные пути:
/usr/sbin/postfix reload
/sbin/service postfix reload
Но я бы лучше порекомендовал переименовывать файл, а потом его 
архивировать, не мучая конфиги бедного ни в чем не повинного постфикса. :)


-- 

WBR, Sergei Boudnik
http://www.boudnik.kiev.ua
--------------------------
Tel: +38050 3584082
ICQ UIN: 56809672
SSB-RIPE
SSB1-UANIC
==========================
Trap for spam & virii:
trap@wildlist.org.ua


  reply	other threads:[~2006-08-14 13:20 UTC|newest]

Thread overview: 20+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-08-11 11:54 Igo
2006-08-11 13:08 ` Коротков Георгий
2006-08-11 13:17   ` Igo
2006-08-11 13:21     ` Шенцев Алексей Владимирович
2006-08-11 14:03     ` Коротков Георгий
2006-08-12 18:39       ` Igo
2006-08-12 19:36       ` Igo
2006-08-14  6:06         ` Шенцев Алексей Владимирович
2006-08-14  6:20           ` Igo
2006-08-14  8:12     ` Michael Shigorin
2006-08-14  7:47       ` Igo
2006-08-14  8:54           ` Igo
2006-08-14  8:58             ` Шенцев Алексей Владимирович
2006-08-14 11:36               ` Michael Shigorin
2006-08-14 13:20                 ` Sergei Boudnik [this message]
2006-08-14 22:02                   ` Michael Shigorin
2006-08-15  5:17                     ` Igo
2006-08-15  5:29                     ` Sergei Boudnik
2006-08-15  6:17                       ` Igo
2006-08-14  9:05             ` Коротков Георгий

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=44E078B0.1030903@boudnik.kiev.ua \
    --to=sergei@boudnik.kiev.ua \
    --cc=community@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 Community general discussions

This inbox may be cloned and mirrored by anyone:

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

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


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