From: "Grigory Batalov" <bga@altlinux.org>
To: sisyphus@lists.altlinux.org
Subject: [sisyphus] Postfix vs. aliases owner
Date: Thu, 1 Mar 2007 19:43:02 +0300
Message-ID: <20070301194302.6ce39df7.bga@altlinux.org> (raw)
[-- 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 --]
next reply other threads:[~2007-03-01 16:43 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-03-01 16:43 Grigory Batalov [this message]
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
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=20070301194302.6ce39df7.bga@altlinux.org \
--to=bga@altlinux.org \
--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