* [Sysadmins] mailman & postfix (was: mailman in [comm])
@ 2008-07-09 9:49 Ilya Raskin
2008-07-16 13:38 ` Ilya Raskin
0 siblings, 1 reply; 8+ messages in thread
From: Ilya Raskin @ 2008-07-09 9:49 UTC (permalink / raw)
To: ALT Linux sysadmin discuss
[-- Attachment #1: Type: text/plain, Size: 1678 bytes --]
Всем доброго времени суток!
Возникла проблема при настройке mailman.
Суть такова:
mailman получает от postfix почту в рассылку, а рассылать не рассылает.
В архив рассылки почта попадает.
Настройки после инсталляции mailman не трогались.
В логах:
Jul 9 12:31:29 localhost postfix/smtpd[12892]: disconnect from
localhost.localdomain[127.0.0.1]
Jul 9 12:31:29 localhost postfix/local[12896]: 4BFE45BD42:
to=<testing@localhost.localdomain>, relay=local, delay=0.17,
delays=0.03/0/0/0.14, dsn=2.0.0, status=sent (delivered to command:
/usr/lib/mailman/mail/mailman post testing)
Jul 9 12:31:29 localhost postfix/qmgr[8681]: 4BFE45BD42: removed
- почта до mailman'а добирается...
Jul 09 13:32:09 2008 (12915) Low level smtp error: (-2, 'Name or service
not known'), msgid: <48747761.1080702@politreg.pu.ru>
Jul 09 13:32:09 2008 (12915) delivery to webmaster@politreg.pu.ru failed
with code -1: (-2, 'Name or service not known')
Jul 09 13:32:09 2008 (12915) delivery to admin@geo.pu.ru failed with
code -1: (-2, 'Name or service not known')
- в логи mailman'а сыплется с завидной периодичностью, postfix молчит.
[root@localhost mailman]# control postfix
server
[root@localhost mailman]# service mailman status
mailman (pid 11555) is running...
[root@localhost mailman]# service postfix status
master is running
[root@localhost mailman]# service httpd status
libhttpd.ep is running
Заранее спасибо!
Илья Раскин.
[-- Attachment #2: ilia_raskin.vcf --]
[-- Type: text/x-vcard, Size: 192 bytes --]
begin:vcard
fn:Ilya V. Raskin
n:Raskin;Ilya
org:Saint-Petersburg State University;Faculty of geografy
email;internet:ilia_raskin@pochta.ru
x-mozilla-html:FALSE
version:2.1
end:vcard
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: [Sysadmins] mailman & postfix (was: mailman in [comm])
2008-07-09 9:49 [Sysadmins] mailman & postfix (was: mailman in [comm]) Ilya Raskin
@ 2008-07-16 13:38 ` Ilya Raskin
2008-07-16 13:39 ` Dmitriy Kruglikov
0 siblings, 1 reply; 8+ messages in thread
From: Ilya Raskin @ 2008-07-16 13:38 UTC (permalink / raw)
To: ALT Linux sysadmin discuss
[-- Attachment #1: Type: text/plain, Size: 1481 bytes --]
Еще раз доброго времени суток.
Ситуация пришла в состояние когда postfix похоже не читает базу алиасов
mailman.
Выражается это в том что создаю список рассылки tests, пытаюсь отправить
туда сообщение на адрес tests@localhost.localdomain. и вижу в логах:
localhost postfix/local[18382]: 667C016EB64:
to=<tests@localhost.localdomain>, relay=local, delay=0.04,
delays=0.02/0/0/0.01, dsn=5.1.1, status=bounced (unknown user: "tests")
При этом в настройках
alias_maps = hash:/etc/postfix/aliases hash:/etc/mailman/aliases
virtual_maps = hash:/etc/mailman/virtual-mailman
В /etc/mailman/aliases
tests: "|/usr/lib/mailman/mail/mailman post tests"
tests-admin: "|/usr/lib/mailman/mail/mailman admin tests"
tests-bounces: "|/usr/lib/mailman/mail/mailman bounces tests"
tests-confirm: "|/usr/lib/mailman/mail/mailman confirm tests"
tests-join: "|/usr/lib/mailman/mail/mailman join tests"
tests-leave: "|/usr/lib/mailman/mail/mailman leave tests"
tests-owner: "|/usr/lib/mailman/mail/mailman owner tests"
tests-request: "|/usr/lib/mailman/mail/mailman request tests"
tests-subscribe: "|/usr/lib/mailman/mail/mailman subscribe tests"
tests-unsubscribe: "|/usr/lib/mailman/mail/mailman unsubscribe tests"
Сервисы перезапускад...
[-- Attachment #2: ilia_raskin.vcf --]
[-- Type: text/x-vcard, Size: 192 bytes --]
begin:vcard
fn:Ilya V. Raskin
n:Raskin;Ilya
org:Saint-Petersburg State University;Faculty of geografy
email;internet:ilia_raskin@pochta.ru
x-mozilla-html:FALSE
version:2.1
end:vcard
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: [Sysadmins] mailman & postfix (was: mailman in [comm])
2008-07-16 13:38 ` Ilya Raskin
@ 2008-07-16 13:39 ` Dmitriy Kruglikov
2008-07-16 13:58 ` Ilya Raskin
0 siblings, 1 reply; 8+ messages in thread
From: Dmitriy Kruglikov @ 2008-07-16 13:39 UTC (permalink / raw)
To: ALT Linux sysadmin discuss
16 июля 2008 г. 16:38 пользователь Ilya Raskin написал:
>
> alias_maps = hash:/etc/postfix/aliases hash:/etc/mailman/aliases
...
> В /etc/mailman/aliases
...
>
> Сервисы перезапускад...
А базу "перехашил" ?
> cat /etc/postfix/aliases
#
# >>>>>>>>>> The program "newaliases" must be run after
# >> NOTE >> this file is updated for any changes to
# >>>>>>>>>> show through to MTA.
#
Нужно postmap дергать ...
Тогда получится
/etc/postfix/aliases.db, который и вычитывается, на самом деле ...
Проверить не на чем, сорри ... По памяти ...
--
Best regards,
Dmitriy L. Kruglikov
Dmitriy.Kruglikov_at_gmail_dot_com
DKR6-RIPE
DKR6-UANIC
XMPP: Dmitriy.Kruglikov_at_gmail_dot_com
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: [Sysadmins] mailman & postfix (was: mailman in [comm])
2008-07-16 13:39 ` Dmitriy Kruglikov
@ 2008-07-16 13:58 ` Ilya Raskin
2008-07-16 14:18 ` Dmitriy Kruglikov
2008-07-16 14:27 ` Starodumoff Ilya
0 siblings, 2 replies; 8+ messages in thread
From: Ilya Raskin @ 2008-07-16 13:58 UTC (permalink / raw)
To: ALT Linux sysadmin discuss
[-- Attachment #1: Type: text/plain, Size: 1915 bytes --]
Dmitriy Kruglikov пишет:
> 16 июля 2008 г. 16:38 пользователь Ilya Raskin написал:
>
>> alias_maps = hash:/etc/postfix/aliases hash:/etc/mailman/aliases
> ...
>> В /etc/mailman/aliases
> ...
>> Сервисы перезапускад...
> А базу "перехашил" ?
>
>> cat /etc/postfix/aliases
> #
> # >>>>>>>>>> The program "newaliases" must be run after
> # >> NOTE >> this file is updated for any changes to
> # >>>>>>>>>> show through to MTA.
> #
>
> Нужно postmap дергать ...
> Тогда получится
> /etc/postfix/aliases.db, который и вычитывается, на самом деле ...
>
> Проверить не на чем, сорри ... По памяти ...
>
Попробовал.. ругается...
[root@localhost postfix]# postmap /etc/mailman/aliases
postmap: warning: /etc/mailman/aliases, line 9: record is in "key:
value" format; is this an alias file?
postmap: warning: /etc/mailman/aliases, line 10: record is in "key:
value" format; is this an alias file?
postmap: warning: /etc/mailman/aliases, line 11: record is in "key:
value" format; is this an alias file?
postmap: warning: /etc/mailman/aliases, line 12: record is in "key:
value" format; is this an alias file?
postmap: warning: /etc/mailman/aliases, line 13: record is in "key:
value" format; is this an alias file?
postmap: warning: /etc/mailman/aliases, line 14: record is in "key:
value" format; is this an alias file?
postmap: warning: /etc/mailman/aliases, line 15: record is in "key:
value" format; is this an alias file?
postmap: warning: /etc/mailman/aliases, line 16: record is in "key:
value" format; is this an alias file?
postmap: warning: /etc/mailman/aliases, line 17: record is in "key:
value" format; is this an alias file?
postmap: warning: /etc/mailman/aliases, line 18: record is in "key:
value" format; is this an alias file?
postmap: warning: /etc/mailman/aliases, line 21: record is in "key:
value" format; is this an alias file?
и тот же результат...
[-- Attachment #2: ilia_raskin.vcf --]
[-- Type: text/x-vcard, Size: 183 bytes --]
begin:vcard
fn:Ilya V. Raskin
n:Raskin;Ilya
org:Saint-Petersburg State University;Faculty of geografy
email;internet:ilia_raskin@pochta.ru
x-mozilla-html:FALSE
version:2.1
end:vcard
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: [Sysadmins] mailman & postfix (was: mailman in [comm])
2008-07-16 13:58 ` Ilya Raskin
@ 2008-07-16 14:18 ` Dmitriy Kruglikov
2008-07-16 14:24 ` Dmitriy Kruglikov
2008-07-16 14:27 ` Starodumoff Ilya
1 sibling, 1 reply; 8+ messages in thread
From: Dmitriy Kruglikov @ 2008-07-16 14:18 UTC (permalink / raw)
To: ALT Linux sysadmin discuss
16 июля 2008 г. 16:58 пользователь Ilya Raskin написал:
> Попробовал.. ругается...
>
> [root@localhost postfix]# postmap /etc/mailman/aliases
> postmap: warning: /etc/mailman/aliases, line 9: record is in "key: value"
> format; is this an alias file?
...
> и тот же результат...
Естественно ...
Ему формат файла не нравится ...
--
Best regards,
Dmitriy L. Kruglikov
Dmitriy.Kruglikov_at_gmail_dot_com
DKR6-RIPE
DKR6-UANIC
XMPP: Dmitriy.Kruglikov_at_gmail_dot_com
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: [Sysadmins] mailman & postfix (was: mailman in [comm])
2008-07-16 13:58 ` Ilya Raskin
2008-07-16 14:18 ` Dmitriy Kruglikov
@ 2008-07-16 14:27 ` Starodumoff Ilya
2008-07-16 15:10 ` Konstantin A. Lepikhov
1 sibling, 1 reply; 8+ messages in thread
From: Starodumoff Ilya @ 2008-07-16 14:27 UTC (permalink / raw)
To: sysadmins
В сообщении от 16 июля 2008 Ilya Raskin написал(a):
> Попробовал.. ругается...
>
> [root@localhost postfix]# postmap /etc/mailman/aliases
> postmap: warning: /etc/mailman/aliases, line 9: record is in "key:
> value" format; is this an alias file?
> postmap: warning: /etc/mailman/aliases, line 10: record is in "key:
> value" format; is this an alias file?
> postmap: warning: /etc/mailman/aliases, line 11: record is in "key:
> value" format; is this an alias file?
> postmap: warning: /etc/mailman/aliases, line 12: record is in "key:
> value" format; is this an alias file?
> postmap: warning: /etc/mailman/aliases, line 13: record is in "key:
> value" format; is this an alias file?
> postmap: warning: /etc/mailman/aliases, line 14: record is in "key:
> value" format; is this an alias file?
> postmap: warning: /etc/mailman/aliases, line 15: record is in "key:
> value" format; is this an alias file?
> postmap: warning: /etc/mailman/aliases, line 16: record is in "key:
> value" format; is this an alias file?
> postmap: warning: /etc/mailman/aliases, line 17: record is in "key:
> value" format; is this an alias file?
> postmap: warning: /etc/mailman/aliases, line 18: record is in "key:
> value" format; is this an alias file?
> postmap: warning: /etc/mailman/aliases, line 21: record is in "key:
> value" format; is this an alias file?
>
> и тот же результат...
postmap hash:aliases
--
С уважением,
Стародумов Илья
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: [Sysadmins] mailman & postfix (was: mailman in [comm])
2008-07-16 14:27 ` Starodumoff Ilya
@ 2008-07-16 15:10 ` Konstantin A. Lepikhov
0 siblings, 0 replies; 8+ messages in thread
From: Konstantin A. Lepikhov @ 2008-07-16 15:10 UTC (permalink / raw)
To: ALT Linux sysadmin discuss
Hi Starodumoff!
Wednesday 16, at 08:27:08 PM you wrote:
> В сообщении от 16 июля 2008 Ilya Raskin написал(a):
> > Попробовал.. ругается...
> >
> > [root@localhost postfix]# postmap /etc/mailman/aliases
> > postmap: warning: /etc/mailman/aliases, line 9: record is in "key:
> > value" format; is this an alias file?
> > postmap: warning: /etc/mailman/aliases, line 10: record is in "key:
> > value" format; is this an alias file?
> > postmap: warning: /etc/mailman/aliases, line 11: record is in "key:
> > value" format; is this an alias file?
> > postmap: warning: /etc/mailman/aliases, line 12: record is in "key:
> > value" format; is this an alias file?
> > postmap: warning: /etc/mailman/aliases, line 13: record is in "key:
> > value" format; is this an alias file?
> > postmap: warning: /etc/mailman/aliases, line 14: record is in "key:
> > value" format; is this an alias file?
> > postmap: warning: /etc/mailman/aliases, line 15: record is in "key:
> > value" format; is this an alias file?
> > postmap: warning: /etc/mailman/aliases, line 16: record is in "key:
> > value" format; is this an alias file?
> > postmap: warning: /etc/mailman/aliases, line 17: record is in "key:
> > value" format; is this an alias file?
> > postmap: warning: /etc/mailman/aliases, line 18: record is in "key:
> > value" format; is this an alias file?
> > postmap: warning: /etc/mailman/aliases, line 21: record is in "key:
> > value" format; is this an alias file?
> >
> > и тот же результат...
>
> postmap hash:aliases
или postalias ;)
--
WBR et al.
^ permalink raw reply [flat|nested] 8+ messages in thread
end of thread, other threads:[~2008-07-16 15:10 UTC | newest]
Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-07-09 9:49 [Sysadmins] mailman & postfix (was: mailman in [comm]) Ilya Raskin
2008-07-16 13:38 ` Ilya Raskin
2008-07-16 13:39 ` Dmitriy Kruglikov
2008-07-16 13:58 ` Ilya Raskin
2008-07-16 14:18 ` Dmitriy Kruglikov
2008-07-16 14:24 ` Dmitriy Kruglikov
2008-07-16 14:27 ` Starodumoff Ilya
2008-07-16 15:10 ` Konstantin A. Lepikhov
ALT Linux sysadmins discussion
This inbox may be cloned and mirrored by anyone:
git clone --mirror http://lore.altlinux.org/sysadmins/0 sysadmins/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 sysadmins sysadmins/ http://lore.altlinux.org/sysadmins \
sysadmins@lists.altlinux.org sysadmins@lists.altlinux.ru sysadmins@lists.altlinux.com
public-inbox-index sysadmins
Example config snippet for mirrors.
Newsgroup available over NNTP:
nntp://lore.altlinux.org/org.altlinux.lists.sysadmins
AGPL code for this site: git clone https://public-inbox.org/public-inbox.git