* [Comm] сообщения в postfix @ 2006-08-11 11:54 Igo 2006-08-11 13:08 ` Коротков Георгий 0 siblings, 2 replies; 20+ messages in thread From: Igo @ 2006-08-11 11:54 UTC (permalink / raw) To: ALT Linux Community Привет всем как отключить сообщения в postfix или как блокировать (/dev/null) отправку писем от MAILER-DAEMON задавал вопрос ранее посоветовали /etc/postfix/main.cf: notify_classes = это не помогает спасибо ^ permalink raw reply [flat|nested] 20+ messages in thread
* Re: [Comm] сообщения в postfix 2006-08-11 11:54 [Comm] сообщения в postfix Igo @ 2006-08-11 13:08 ` Коротков Георгий 2006-08-11 13:17 ` Igo 1 sibling, 1 reply; 20+ messages in thread From: Коротков Георгий @ 2006-08-11 13:08 UTC (permalink / raw) To: ALT Linux Community Igo пишет: > Привет всем > как отключить сообщения в postfix или как блокировать (/dev/null) > отправку писем от MAILER-DAEMON > офф: а за что ты его так MAILER-DAEMON не взлюбил ^ permalink raw reply [flat|nested] 20+ messages in thread
* Re: [Comm] сообщения в postfix 2006-08-11 13:08 ` Коротков Георгий @ 2006-08-11 13:17 ` Igo 2006-08-11 13:21 ` Шенцев Алексей Владимирович ` (2 more replies) 0 siblings, 3 replies; 20+ messages in thread From: Igo @ 2006-08-11 13:17 UTC (permalink / raw) To: ALT Linux Community провайдер пишет цитата Отправляемые Вами уведомления являются незапрошенной компанией ЦТС корреспонденцией. В соответствии с п 8.9 документа "Порядок учета потребления и оплаты услуг", рассылка этих сообщений может быть классифицирована как нарушение условий договора на абонентское обслуживание. Убедительная просьба изменить конфигурацию Вашего почтового сервера и остановить автоматическую отправку уведомлений. В противном случае Ваши действия будут расцениваться как намеренное нарушение условий договора на абонентское обслуживание и оказание Вам услуг будет приостановлено. конец цитаты может погорЯчился с (/dev/null) перенапрвлять бы всё в какойнибудь ящик, например как procmail-ом это делается Это незапрошенной корреспонденция отправляет MAILER-DAEMON пусть все что хочет отправляет но только мне локально > Igo пишет: > >> Привет всем >> как отключить сообщения в postfix или как блокировать (/dev/null) >> отправку писем от MAILER-DAEMON >> >> > офф: а за что ты его так MAILER-DAEMON не взлюбил > > _______________________________________________ > Community mailing list > Community@lists.altlinux.org > https://lists.altlinux.org/mailman/listinfo/community ^ permalink raw reply [flat|nested] 20+ messages in thread
* Re: [Comm] сообщения в postfix 2006-08-11 13:17 ` Igo @ 2006-08-11 13:21 ` Шенцев Алексей Владимирович 2006-08-11 14:03 ` Коротков Георгий 2006-08-14 8:12 ` Michael Shigorin 2 siblings, 0 replies; 20+ messages in thread From: Шенцев Алексей Владимирович @ 2006-08-11 13:21 UTC (permalink / raw) To: altlinux, ALT Linux Community В сообщении от 11 августа 2006 17:17 Igo написал(a): > провайдер пишет <Skip> Получается, что ваш почтарь отправляет сообщения кому угодно, но не вам. > может погорЯчился с (/dev/null) перенапрвлять бы всё в какойнибудь > ящик, например как procmail-ом это делается > Это незапрошенной корреспонденция отправляет MAILER-DAEMON пусть все > что хочет отправляет но только мне локально Что вы используете: sendmail, postfix? Какой у вас дистрибутив установлен? -- С уважением Шенцев Алексей Владимирович. E-mail: ashen@nsrz.ru ICQ: 271053845 ^ permalink raw reply [flat|nested] 20+ messages in thread
* Re: [Comm] сообщения в postfix 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 8:12 ` Michael Shigorin 2 siblings, 2 replies; 20+ messages in thread From: Коротков Георгий @ 2006-08-11 14:03 UTC (permalink / raw) To: ALT Linux Community Igo пишет: > может погорЯчился с (/dev/null) перенапрвлять бы всё в какойнибудь > ящик, например как procmail-ом это делается > Это незапрошенной корреспонденция отправляет MAILER-DAEMON пусть все > что хочет отправляет но только мне локально > а что в тех письмах? приведи maillog хотябы где эти письма берутся и кому отсылаются может это банально почта не находит адресата, параметр luser_relay постфикса может тебе поможет ^ permalink raw reply [flat|nested] 20+ messages in thread
* Re: [Comm] сообщения в postfix 2006-08-11 14:03 ` Коротков Георгий @ 2006-08-12 18:39 ` Igo 2006-08-12 19:36 ` Igo 1 sibling, 0 replies; 20+ messages in thread From: Igo @ 2006-08-12 18:39 UTC (permalink / raw) To: ALT Linux Community ALT 2.4 postfix откуда рождаются сообщения понять немогу вот что приводят провайдеры Тема: Undelivered Mail Returned to Sender От: MAILER-DAEMON@domen.ru (Mail Delivery System) Дата: Thu, 10 Aug 2006 13:21:05 +0400 (MSD) Кому: postmaster@aaanet.ru This is the Postfix program at host domen.ru. I'm sorry to have to inform you that the message returned below could not be delivered to one or more destinations. For further assistance, please send mail to <postmaster> If you do so, please include this problem report. You can delete your own text from the message returned below. The Postfix program <gen@domen.ru>: can't create user output file. Command output: procmail: Error while writing to "/var/spool/mail/gen" <gen@domen.ru>: can't create user output file. Command output: procmail: Error while writing to "/var/spool/mail/gen" Уу меня fetchmail забирает почту каждые10 мин и отправляет на алиас где есть gen, но для gen в постфиксе есть опция always_bcc=gen может что-то с совместным доступом. Еще у меня каждые пол часа проверяется ящик на объем (т.к. в postfix выставил 300 MB макс. объем для ящика) при помощи утилиты arhmbox и перед его запусокм я отключаю always_bcc=gen и выставляю always_bcc= т.к. ящик постоянно изменяется и утилита не отрабатывает Но почему postfix шлёт именно на postmaster@aaanet.ru непойму никак. Может растолкуете >Igo пишет: > > >>может погорЯчился с (/dev/null) перенапрвлять бы всё в какойнибудь >>ящик, например как procmail-ом это делается >>Это незапрошенной корреспонденция отправляет MAILER-DAEMON пусть все >>что хочет отправляет но только мне локально >> >> >> >а что в тех письмах? приведи maillog хотябы где эти письма берутся и >кому отсылаются >может это банально почта не находит адресата, параметр luser_relay >постфикса может тебе поможет > >_______________________________________________ >Community mailing list >Community@lists.altlinux.org >https://lists.altlinux.org/mailman/listinfo/community > ^ permalink raw reply [flat|nested] 20+ messages in thread
* Re: [Comm] сообщения в postfix 2006-08-11 14:03 ` Коротков Георгий 2006-08-12 18:39 ` Igo @ 2006-08-12 19:36 ` Igo 2006-08-14 6:06 ` Шенцев Алексей Владимирович 1 sibling, 1 reply; 20+ messages in thread From: Igo @ 2006-08-12 19:36 UTC (permalink / raw) To: ALT Linux Community Вот что прислал провайдер во вложение. Письмо от моего сервера Тема: Undelivered Mail Returned to Sender От: MAILER-DAEMON@domen.ru (Mail Delivery System) Дата: Thu, 10 Aug 2006 13:21:05 +0400 (MSD) Кому: postmaster@aaanet.ru This is the Postfix program at host domen.ru. I'm sorry to have to inform you that the message returned below could not be delivered to one or more destinations. For further assistance, please send mail to <postmaster> If you do so, please include this problem report. You can delete your own text from the message returned below. The Postfix program <gen@domen.ru>: can't create user output file. Command output: procmail: Error while writing to "/var/spool/mail/gen" <gen@domen.ru>: can't create user output file. Command output: procmail: Error while writing to "/var/spool/mail/gen" Откуда берутся такие письма непойму. У меня fetchmail забирает письма (ящик находится у них name@aaanet.ru) каждые 10 мин и на алиас где есть gen (туда дублируется вся почта always_bcc=gen в main.cf) Каждые пол часа скрипт проверяет объем ящиков включая gen и выполняет archmbox (архивация/перенесение писем из ящика в файл) но перед запуском archmabox я делаю always_bcc= Откуда берется postmaster@aaanet.ru никак понять немогу. Может что подскажите. Используется alt 2.4 postfix из коробки >Igo пишет: > > >>может погорЯчился с (/dev/null) перенапрвлять бы всё в какойнибудь >>ящик, например как procmail-ом это делается >>Это незапрошенной корреспонденция отправляет MAILER-DAEMON пусть все >>что хочет отправляет но только мне локально >> >> >> >а что в тех письмах? приведи maillog хотябы где эти письма берутся и >кому отсылаются >может это банально почта не находит адресата, параметр luser_relay >постфикса может тебе поможет > >_______________________________________________ >Community mailing list >Community@lists.altlinux.org >https://lists.altlinux.org/mailman/listinfo/community > ^ permalink raw reply [flat|nested] 20+ messages in thread
* Re: [Comm] сообщения в postfix 2006-08-12 19:36 ` Igo @ 2006-08-14 6:06 ` Шенцев Алексей Владимирович 2006-08-14 6:20 ` Igo 0 siblings, 1 reply; 20+ messages in thread From: Шенцев Алексей Владимирович @ 2006-08-14 6:06 UTC (permalink / raw) To: ALT Linux Community В сообщении от 12 августа 2006 23:36 Igo написал(a): > Вот что прислал провайдер во вложение. Письмо от моего сервера <skip> > Кому: > postmaster@aaanet.ru <skip> > <gen@domen.ru>: can't create user output file. Command output: procmail: > Error while writing to "/var/spool/mail/gen" Не может положить письмо в почтовый ящик. Проверьте права доступа. <skip> > Откуда берутся такие письма непойму. > У меня fetchmail забирает письма (ящик находится у них name@aaanet.ru) > каждые 10 мин и на алиас где есть gen (туда дублируется вся почта > always_bcc=gen в main.cf) > Каждые пол часа скрипт проверяет объем ящиков включая gen и выполняет > archmbox (архивация/перенесение писем из ящика в файл) но перед запуском > archmabox я делаю always_bcc= > Откуда берется postmaster@aaanet.ru никак понять немогу. > Может что подскажите. > Используется alt 2.4 postfix из коробки Покажиет значение таких строк в /etx/postfix/aliases: # Basic system aliases -- these MUST be present. MAILER-DAEMON: postmaster postmaster: root ... # Person who should get root's mail. root: <реальное значение> -- С уважением Шенцев Алексей Владимирович. E-mail: ashen@nsrz.ru ICQ: 271053845 ^ permalink raw reply [flat|nested] 20+ messages in thread
* Re: [Comm] сообщения в postfix 2006-08-14 6:06 ` Шенцев Алексей Владимирович @ 2006-08-14 6:20 ` Igo 0 siblings, 0 replies; 20+ messages in thread From: Igo @ 2006-08-14 6:20 UTC (permalink / raw) To: ALT Linux Community Шенцев Алексей Владимирович пишет: > В сообщении от 12 августа 2006 23:36 Igo написал(a): > >> Вот что прислал провайдер во вложение. Письмо от моего сервера >> > <skip> > >> Кому: >> postmaster@aaanet.ru >> > <skip> > >> <gen@domen.ru>: can't create user output file. Command output: procmail: >> Error while writing to "/var/spool/mail/gen" >> > Не может положить письмо в почтовый ящик. Проверьте права доступа. > <skip> > > с провами всё нормально, т.к. за несколько часов набигает 300 МБ >> Откуда берутся такие письма непойму. >> У меня fetchmail забирает письма (ящик находится у них name@aaanet.ru) >> каждые 10 мин и на алиас где есть gen (туда дублируется вся почта >> always_bcc=gen в main.cf) >> Каждые пол часа скрипт проверяет объем ящиков включая gen и выполняет >> archmbox (архивация/перенесение писем из ящика в файл) но перед запуском >> archmabox я делаю always_bcc= >> Откуда берется postmaster@aaanet.ru никак понять немогу. >> Может что подскажите. >> Используется alt 2.4 postfix из коробки >> > > Покажиет значение таких строк в /etx/postfix/aliases: > # Basic system aliases -- these MUST be present. > MAILER-DAEMON: postmaster > postmaster: root > ... > # Person who should get root's mail. > root: <реальное значение> > > > #MAILER-DAEMON: postmaster #postmaster: root root: igo хотя пока не закомментировал было тоже самое ^ permalink raw reply [flat|nested] 20+ messages in thread
* Re: [Comm] сообщения в postfix 2006-08-11 13:17 ` Igo 2006-08-11 13:21 ` Шенцев Алексей Владимирович 2006-08-11 14:03 ` Коротков Георгий @ 2006-08-14 8:12 ` Michael Shigorin 2 siblings, 0 replies; 20+ messages in thread From: Michael Shigorin @ 2006-08-14 8:12 UTC (permalink / raw) To: ALT Linux Community; +Cc: sysadmins On Fri, Aug 11, 2006 at 05:17:59PM +0400, Igo wrote: > цитата > Отправляемые Вами уведомления являются незапрошенной компанией > ЦТС корреспонденцией. В соответствии с п 8.9 документа "Порядок > учета потребления и оплаты услуг", рассылка этих сообщений > может быть классифицирована как нарушение условий договора на > абонентское обслуживание. Это они про misdirected bounces? Я бы тоже не прочь знать, как _они_ порекомендуют готовить postfix, дабы грамотно избежать. Несмотря на то, что меня ими изрядно заваливает (и догадываюсь, что от меня тоже порядком отлупов идёт, как и требуется по RFC) -- где-то часовой поиск на решение не натолкнул. > Убедительная просьба изменить конфигурацию Вашего почтового > сервера и остановить автоматическую отправку уведомлений. В > противном случае Ваши действия будут расцениваться как > намеренное нарушение условий договора на абонентское > обслуживание и оказание Вам услуг будет приостановлено. Это они погорячились, классифицировать то, что _требуется_ протоколом, как спам. На том же spamcop.net формулировки достаточно сдержанные, поскольку всё не так просто и случай пограничный... PS: пойдёмте в sysadmins@, это тамошняя тема. -- ---- WBR, Michael Shigorin <mike@altlinux.ru> ------ Linux.Kiev http://www.linux.kiev.ua/ ^ permalink raw reply [flat|nested] 20+ messages in thread
[parent not found: <200608141024.26470.ashen@nsrz.ru>]
[parent not found: <44E0225D.9020809@aaanet.ru>]
[parent not found: <200608141114.03643.ashen@nsrz.ru>]
* Re: [Comm] сообщения в postfix @ 2006-08-14 7:47 ` Igo 1 sibling, 0 replies; 20+ messages in thread From: Igo @ 2006-08-14 7:47 UTC (permalink / raw) To: ALT Linux Community [root@localhost postfix]# cat aliases |grep post MAILER-DAEMON: postmaster postmaster: root #info: postmaster abuse: postmaster noc: postmaster security: postmaster decode: postmaster hostmaster: postmaster webmaster: postmaster ftpmaster: postmaster newsmaster: postmaster proxymaster: postmaster faxmaster: postmaster manager: postmaster admin: postmaster dumper: postmaster postfix: unknown-mail-user postgres: unknown-mail-user postman: unknown-mail-user я никак немогу панять откуда порождается postmater@aaanet.ru > В сообщении от 14 августа 2006 11:12 Igo написал(a): > >> конечно делал от рута только newaliases >> > Посмотрите по конфигам, что у вас точно больше ни где не переопределяются > postmaster, root . > ^ permalink raw reply [flat|nested] 20+ messages in thread
[parent not found: <44E028CC.6020607@aaanet.ru>]
[parent not found: <200608141148.56746.ashen@nsrz.ru>]
* Re: [Comm] сообщения в postfix @ 2006-08-14 8:54 ` Igo 2006-08-14 8:58 ` Шенцев Алексей Владимирович 2006-08-14 9:05 ` Коротков Георгий 0 siblings, 2 replies; 20+ messages in thread From: Igo @ 2006-08-14 8:54 UTC (permalink / raw) To: community [root@localhost postfix]# cat aliases |grep root postmaster: root # Person who should get root's mail. root: igo посмотрел [root@localhost postfix]# cat main.cf |grep aaanet.ru #relayhost = smtp.aaanet.ru какие еще конфиги смотреть незнаю есть в файле для fetchmail с pop3.aaanet.ru в каких еще конфигах посмотреть? > В сообщении от 14 августа 2006 11:39 Igo написал(a): > >> [root@localhost postfix]# cat aliases |grep post >> MAILER-DAEMON: postmaster >> postmaster: root >> #info: postmaster >> abuse: postmaster >> noc: postmaster >> security: postmaster >> decode: postmaster >> hostmaster: postmaster >> webmaster: postmaster >> ftpmaster: postmaster >> newsmaster: postmaster >> proxymaster: postmaster >> faxmaster: postmaster >> manager: postmaster >> admin: postmaster >> dumper: postmaster >> postfix: unknown-mail-user >> > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ > А это что ?????????? > >> postgres: unknown-mail-user >> postman: unknown-mail-user >> > И это что ????????????? > Псевдонимы явно не заданы ... плохо ... > > У меня так: > # cat aliases |grep post > MAILER-DAEMON: postmaster > postmaster: root > #info: postmaster > #marketing: postmaster > #sales: postmaster > #support: postmaster > #abuse: postmaster > #noc: postmaster > security: postmaster > daemon: postmaster > ftp: postmaster > hostmaster: postmaster > lp: postmaster > mail: postmaster > news: postmaster > uucp: postmaster > webmaster: postmaster > > >> я никак немогу панять откуда порождается postmater@aaanet.ru >> > А что говорит такое: > # cat aliases | grep root > > И ещё посмотрите, где у вас встречается это aaanet.ru во всех конфигах ... > ^ permalink raw reply [flat|nested] 20+ messages in thread
* Re: [Comm] сообщения в postfix 2006-08-14 8:54 ` Igo @ 2006-08-14 8:58 ` Шенцев Алексей Владимирович 2006-08-14 11:36 ` Michael Shigorin 2006-08-14 9:05 ` Коротков Георгий 1 sibling, 1 reply; 20+ messages in thread From: Шенцев Алексей Владимирович @ 2006-08-14 8:58 UTC (permalink / raw) To: altlinux, ALT Linux Community В сообщении от 14 августа 2006 12:54 Igo написал(a): > [root@localhost postfix]# cat aliases |grep root > postmaster: root > # Person who should get root's mail. > root: igo Вроде всё нормально. > > посмотрел > [root@localhost postfix]# cat main.cf |grep aaanet.ru > #relayhost = smtp.aaanet.ru Ну это правильно, что закоментировали их как хост для пересылки почты. > какие еще конфиги смотреть незнаю > есть в файле для fetchmail с pop3.aaanet.ru > в каких еще конфигах посмотреть? Это здесь ни причём. Скорее всего Михаил Шигорин прав, провайдер погорячился запихивать в спам то, что является стандартным системным увидомлением. По вашим конфигам мы прошлись, всё вроде в норме. Так что надо разговаривать с ними. И выяснять, что за нафиг они творят. -- С уважением Шенцев Алексей Владимирович. E-mail: ashen@nsrz.ru ICQ: 271053845 ^ permalink raw reply [flat|nested] 20+ messages in thread
* Re: [Comm] сообщения в postfix 2006-08-14 8:58 ` Шенцев Алексей Владимирович @ 2006-08-14 11:36 ` Michael Shigorin 2006-08-14 13:20 ` Sergei Boudnik 0 siblings, 1 reply; 20+ messages in thread From: Michael Shigorin @ 2006-08-14 11:36 UTC (permalink / raw) To: ALT Linux Community On Mon, Aug 14, 2006 at 12:58:52PM +0400, Шенцев Алексей Владимирович wrote: > Скорее всего Михаил Шигорин прав, провайдер погорячился > запихивать в спам то, что является стандартным системным > увидомлением. Проблема в том, что отлупы на подставные (но стыренные, бишь существующие) From: действительно стали проблемой... Но решение скорее в плоскости "отрубать за спам руки" или "выкидывать SMTP", и очень мало фиксится договорными отношениями поставщика услуг со владельцем не злоумышленной, а всего-то соответствующей недодуманному стандарту почтовой системы. -- ---- WBR, Michael Shigorin <mike@altlinux.ru> ------ Linux.Kiev http://www.linux.kiev.ua/ ^ permalink raw reply [flat|nested] 20+ messages in thread
* Re: [Comm] сообщения в postfix 2006-08-14 11:36 ` Michael Shigorin @ 2006-08-14 13:20 ` Sergei Boudnik 2006-08-14 22:02 ` Michael Shigorin 0 siblings, 1 reply; 20+ messages in thread From: Sergei Boudnik @ 2006-08-14 13:20 UTC (permalink / raw) To: ALT Linux Community 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 ^ permalink raw reply [flat|nested] 20+ messages in thread
* Re: [Comm] сообщения в postfix 2006-08-14 13:20 ` Sergei Boudnik @ 2006-08-14 22:02 ` Michael Shigorin 2006-08-15 5:17 ` Igo 2006-08-15 5:29 ` Sergei Boudnik 0 siblings, 2 replies; 20+ messages in thread From: Michael Shigorin @ 2006-08-14 22:02 UTC (permalink / raw) To: ALT Linux Community On Mon, Aug 14, 2006 at 04:20:48PM +0300, Sergei Boudnik wrote: > Знаешь, Миша, в целом то оно, конечно, так, но в данном случае > postmaster@ от части прав: ему не нужны отлупы об ошибках чужой > системы. Да понятно, что отчасти прав. Только "ошибка системы" -- на той стороне, что подделала From:. > А проблема исключительно в "руках" админа. Ну я бы это действительно для начала посмотрел, откуда, и если непорядок -- поправил: > <gen@domen.ru>: can't create user output file. Command output: > procmail: Error while writing to "/var/spool/mail/gen" > Но почему postfix шлёт именно на postmaster@aaanet.ru непойму > никак. Может растолкуете А вот здесь в голову приходит разве что mydomain. > postfix не может положить письмо в ящик, потому что файл залочен. Или место закончилось, или... (не помню, как с квотой) -- ---- WBR, Michael Shigorin <mike@altlinux.ru> ------ Linux.Kiev http://www.linux.kiev.ua/ ^ permalink raw reply [flat|nested] 20+ messages in thread
* Re: [Comm] сообщения в postfix 2006-08-14 22:02 ` Michael Shigorin @ 2006-08-15 5:17 ` Igo 2006-08-15 5:29 ` Sergei Boudnik 1 sibling, 0 replies; 20+ messages in thread From: Igo @ 2006-08-15 5:17 UTC (permalink / raw) To: shigorin, ALT Linux Community извиняюсь за большое письмо [root@localhost /]# cat /home/igo/scripts/checkmail.sh #!/bin/bash /usr/sbin/postconf -e always_bcc= /sbin/service postfix reload PATHARC="/var/spool/mailarc" MAXSIZE=100000000 ARCHMBOX="/usr/local/bin/archmbox" MDIR="/var/spool/mail" DIRARC="/var/spool/mailarc" for i in `dir $PATHARC` do if [ $i != "gen" ]; then FILENAME=$PATHARC/$i FILESIZE=`ls -l $PATHARC/$i | awk '{print $5}'` if [ $MAXSIZE -le $FILESIZE ]; then rm -rf $FILENAME | mail igo -s "$FILENAME WAS REMOVED" fi fi done $ARCHMBOX -a -o 3 $MDIR/director -p $DIRARC .... $ARCHMBOX -a -o 3 $MDIR/anya -p $DIRARC echo "---------------General mail reserved " FILENAME="/var/spool/mail/gen" PATHARC="/var/spool/mailarc/gen" FILESIZE=`ls -l $FILENAME | awk '{print $5}'` GENDIR="/var/spool/mailarc/gen" CNT=0 DEL=40 for i in `dir -c $PATHARC` do FILENAME=$PATHARC/$i if [ $DEL -le $CNT ]; then # mail igo -s "$FILENAME - many archives" rm -rf $FILENAME | mail igo -s "$FILENAME WAS REMOVED" fi CNT=$(( $CNT+1 )) done FILENAME="/var/spool/mail/gen" OUT=`date "+%Y%m%d%H"` if [ $MAXSIZE -le $FILESIZE ]; then $ARCHMBOX -a --bzip2 -c -e $OUT -o -1 $FILENAME -p $GENDIR fi /usr/sbin/postconf -e always_bcc=gen /sbin/service postfix reload --------------------------- это отчет от крона , никаких ошибок в нем нет. djusting environment for postfix: [ DONE ] Reloading postfix configuration: [ DONE ] Null message body; hope that's ok Mailbox /var/spool/mail/director (23978 KB) Archived 0 messages out of 218 (0 KB) ...... Mailbox /var/spool/mail/anya (7238 KB) Archived 0 messages out of 69 (0 KB) ---------------General mail reserved Adjusting environment for postfix: [ DONE ] Reloading postfix configuration: [ DONE ] ^ permalink raw reply [flat|nested] 20+ messages in thread
* Re: [Comm] сообщения в postfix 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 1 sibling, 1 reply; 20+ messages in thread From: Sergei Boudnik @ 2006-08-15 5:29 UTC (permalink / raw) To: ALT Linux Community Michael Shigorin пишет: > On Mon, Aug 14, 2006 at 04:20:48PM +0300, Sergei Boudnik wrote: > >>Знаешь, Миша, в целом то оно, конечно, так, но в данном случае >>postmaster@ от части прав: ему не нужны отлупы об ошибках чужой >>системы. > > > Да понятно, что отчасти прав. Только "ошибка системы" -- на той > стороне, что подделала From:. > From: тут ни причем. Ошибка здесь: >><gen@domen.ru>: can't create user output file. Command output: >>procmail: Error while writing to "/var/spool/mail/gen" > > >>Но почему postfix шлёт именно на postmaster@aaanet.ru непойму >>никак. Может растолкуете > > > А вот здесь в голову приходит разве что mydomain. > Думаю, не помешало бы взглянуть, что отдает команда: # grep -v '^#' /etc.postfix/main.cf | pcregrep 'myhost|mydomain' > >>postfix не может положить письмо в ящик, потому что файл залочен. > > > Или место закончилось, или... (не помню, как с квотой) > отсутствие свободного места и квота о себе сообщают в отлупе. -- 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 ^ permalink raw reply [flat|nested] 20+ messages in thread
* Re: [Comm] сообщения в postfix 2006-08-15 5:29 ` Sergei Boudnik @ 2006-08-15 6:17 ` Igo 0 siblings, 0 replies; 20+ messages in thread From: Igo @ 2006-08-15 6:17 UTC (permalink / raw) To: ALT Linux Community Sergei Boudnik пишет: > Michael Shigorin пишет: > >> On Mon, Aug 14, 2006 at 04:20:48PM +0300, Sergei Boudnik wrote: >> >> >>> Знаешь, Миша, в целом то оно, конечно, так, но в данном случае >>> postmaster@ от части прав: ему не нужны отлупы об ошибках чужой >>> системы. >>> >> Да понятно, что отчасти прав. Только "ошибка системы" -- на той >> стороне, что подделала From:. >> >> > From: тут ни причем. Ошибка здесь: > >>> <gen@domen.ru>: can't create user output file. Command output: >>> procmail: Error while writing to "/var/spool/mail/gen" >>> >> >>> Но почему postfix шлёт именно на postmaster@aaanet.ru непойму >>> никак. Может растолкуете >>> >> А вот здесь в голову приходит разве что mydomain. >> >> > Думаю, не помешало бы взглянуть, что отдает команда: > # grep -v '^#' /etc.postfix/main.cf | pcregrep 'myhost|mydomain' > [root@localhost /]# grep -v '^#' /etc/postfix/main.cf | grep 'myhost' myhostname = мой_домен.ru mydestination = localhost, $myhostname, localhost.$mydomain, $config_directory/mydestination smtpd_banner = $myhostname ESMTP $mail_name [root@localhost /]# grep -v '^#' /etc/postfix/main.cf | grep 'mydomain' mydestination = localhost, $myhostname, localhost.$mydomain, $config_directory/mydestination [root@localhost /]# >>> postfix не может положить письмо в ящик, потому что файл залочен. >>> >> Или место закончилось, или... (не помню, как с квотой) >> >> > отсутствие свободного места и квота о себе сообщают в отлупе. > > > > ^ permalink raw reply [flat|nested] 20+ messages in thread
* Re: [Comm] сообщения в postfix 2006-08-14 8:54 ` Igo 2006-08-14 8:58 ` Шенцев Алексей Владимирович @ 2006-08-14 9:05 ` Коротков Георгий 1 sibling, 0 replies; 20+ messages in thread From: Коротков Георгий @ 2006-08-14 9:05 UTC (permalink / raw) To: ALT Linux Community Igo пишет: > какие еще конфиги смотреть незнаю > есть в файле для fetchmail с pop3.aaanet.ru > в каких еще конфигах посмотреть? > вот еще тебе про фетчмайл Poll и Skip Слово 'poll' заставляет fetchmail запрашивать указанный сервер, если запускается без аргументов. 'skip' заставляет fetchmail не запрашивать указанный сервер, до тех пор пока он не будет указан в командной строке. ('skip' позволяет безопасно экспериментировать с разными определениями или запрещать сервера, которые временно не доступны). Ключевые слова и опции Здесь приведены доступные опции. Суффиксы, заключенные в квадратные скобки, не обязательны. Соответствие опции командной строки задается символом "-" и буквой опции. Глобальные опции: Ключевое слово Опция Функция <skip> set postmaster Имя пользователя, получающего почту, если не удалось найти подходящего получателя set no bouncemail Направлять ошибочную почту постмастеру, а не отправителю set no spambounce Отправлять спам обратно а вообще, уважаемый научитесь уже квотить.. отвечать на такие письма желания очень мало, и я думаю не только у меня ^ permalink raw reply [flat|nested] 20+ messages in thread
end of thread, other threads:[~2006-08-15 6:17 UTC | newest] Thread overview: 20+ messages (download: mbox.gz / follow: Atom feed) -- links below jump to the message on this page -- 2006-08-11 11:54 [Comm] сообщения в postfix 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 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 ` Коротков Георгий
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