ALT Linux Sisyphus discussions
 help / color / mirror / Atom feed
* [sisyphus] Postfix vs. aliases owner
@ 2007-03-01 16:43 Grigory Batalov
  2007-03-01 21:33 ` Dmitry V. Levin
  0 siblings, 1 reply; 5+ messages in thread
From: Grigory Batalov @ 2007-03-01 16:43 UTC (permalink / raw)
  To: sisyphus

[-- Attachment #1: Type: text/plain, Size: 1276 bytes --]

Здравствуйте!

Нормально ли, что письмо, полученное постфиксом, обрабатывается от имени
владельца aliases.cdb? Вот пример:

/etc/postfix/main.cf :
alias_maps = cdb:/etc/postfix/aliases, cdb:/etc/mailman/aliases

$ ls -la /etc/mailman/aliases*
-rw-rw-r-- 1 root mailmanadm 1134 Мар  1 18:46 /etc/mailman/aliases
-rw-rw-r-- 1 bga  mailmanadm 3053 Мар  1 18:49 /etc/mailman/aliases.cdb

/etc/mailman/aliases :
test1:             "|/usr/bin/id && /bin/false"

Отправляю письмо по SMTP.

/var/log/maillog :
Mar  1 19:21:30 bga postfix/local[2525]: 762426C056: to=<test1@bga.spb.altlinux.org>, relay=local, delay=7, status=bounced (Command died with status 1: "/usr/bin/id && /bin/false". Command output: uid=500(bga) gid=500(bga) groups=500(bga) )

$ sudo chown root /etc/mailman/aliases.cdb

Отправляю заново.

/var/log/maillog :
Mar  1 19:23:11 bga postfix/local[2536]: DFBDF6C056: to=<test1@bga.spb.altlinux.org>, relay=local, delay=5, status=bounced (Command died with status 1: "/usr/bin/id && /bin/false". Command output: uid=106(postman) gid=48(postman) groups=48(postman) )

Как в этом случае обходиться с mailman? Раньше у членов mailmanadm
была возможность добавлять новые списки и обновлять aliases без
дополнительных полномочий.

$ rpm -q postfix
postfix-2.2.11-alt2



[-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --]

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2007-03-02 10:37 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-03-01 16:43 [sisyphus] Postfix vs. aliases owner Grigory Batalov
2007-03-01 21:33 ` Dmitry V. Levin
2007-03-01 22:20   ` Grigory Batalov
2007-03-01 22:45     ` Dmitry V. Levin
2007-03-02 10:37       ` [sisyphus] Mailman groups (was: Postfix vs. aliases owner) Grigory Batalov

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