Postfix の alias データベースにおいて、 :include: を使用してあるファイルに記載されたメールアドレスのリストにメールを転送したいのですが、うまく動きません。どこが間違っているのでしょうか?この機能を使用するにあたり、注意して設定する必要がある項目など、お気づきの点を教えていただきたいです。 よろしくお願いいたします。 ■ 現象 test-outgoing@domain 宛にメールを出すと、Postfixからエラー通知が返信される。また、ログにエラーが記録される。 -- include を main.cf で許可 # postconf | grep allow_mail_to_commands allow_mail_to_commands = alias,forward,include -- alias を設定の上 postalias 実行 # cat /etc/postfix/aliases | grep test-outgoing: test-outgoing::include:/usr/local/majordomo/lists/test -- ログ /var/log/mail.log Apr 30 00:00:41 ----- postfix/local[23822]: warning: :include: file /usr/local/majordomo/lists/test is world writable Apr 30 00:00:41 ----- postfix/local[23822]: 961982302E7: to=, relay=local, delay=0.26, delays=0.24/0/0/0.01, dsn=5.3.5, status=bounced (mail system configuration error) -- バージョン postfix-2.7.12.tar.gz をビルドしました。
↧