Postfix(8) (933レス)
Postfix(8) http://mevius.5ch.net/test/read.cgi/unix/1227953898/
上
下
前
次
1-
新
通常表示
512バイト分割
レス栞
21: 名無しさん@お腹いっぱい。 [sage] 2008/12/06(土) 16:49:50 clamdの起動時に1時間以上かかるのってうちだけ? ソケットのclamd.ctlができるまで、1時間以上CPUがまわりっぱなし。 終わったら速いんだけど、freshclamで更新?されるとまた繰り返す。 検索しても数秒で終わることが多いから、何がネックなのか良くわからない。 http://mevius.5ch.net/test/read.cgi/unix/1227953898/21
22: 名無しさん@お腹いっぱい。 [sage] 2008/12/07(日) 00:40:15 >>20 たしかにそれっぽいな、、気付かんかった。 てっきりspamdに行ってるもんだと、、 http://mevius.5ch.net/test/read.cgi/unix/1227953898/22
23: 名無しさん@お腹いっぱい。 [sage] 2008/12/12(金) 10:08:07 Postfix+Mailmanでメーリングリストを運用していて、main.cfで smtpd_recipient_restrictions = permit_mynetworks permit_sasl_authenticated reject_unauth_destination こんなかんじの設定を行っています。 この設定だと、メーリングリストのメンバーに別ドメインのメールアドレスが 含まれている場合に relay_domains にそのドメインを含める必要があるのですが、 ・localhost からの転送ついては、 reject_unauth_destination を無視する ・それ以外のホストからの転送については、reject_unauth_destination を有効にする ということは可能でしょうか? http://mevius.5ch.net/test/read.cgi/unix/1227953898/23
24: 名無しさん@お腹いっぱい。 [sage] 2008/12/12(金) 10:52:17 localhost からの転送permit_mynetworksに含まれてないっけ? http://mevius.5ch.net/test/read.cgi/unix/1227953898/24
25: 23 [sage] 2008/12/12(金) 13:50:34 main.cfはこんなかんじです。 # postconf -n alias_database = hash:/etc/aliases alias_maps = hash:/etc/aliases command_directory = /usr/sbin config_directory = /etc/postfix content_filter = smtp-amavis:[127.0.0.1]:10024 daemon_directory = /usr/libexec/postfix debug_peer_level = 2 default_privs = vmail disable_vrfy_command = yes home_mailbox = Maildir/ html_directory = no inet_interfaces = all mail_owner = postfix mailbox_transport = mailq_path = /usr/bin/mailq.postfix manpage_directory = /usr/share/man message_size_limit = 10485760 mydomain = *******.**.** myhostname = ****.*******.**.** mynetworks = 192.168.1.0/24, 127.0.0.0/8 mynetworks_style = subnet myorigin = $mydomain newaliases_path = /usr/bin/newaliases.postfix queue_directory = /var/spool/postfix readme_directory = /usr/share/doc/postfix-2.3.3/README_FILES relay_domains = ********.***, ***.*******.**.**, http://mevius.5ch.net/test/read.cgi/unix/1227953898/25
26: 23 [sage] 2008/12/12(金) 13:51:42 sample_directory = /usr/share/doc/postfix-2.3.3/samples sendmail_path = /usr/sbin/sendmail.postfix setgid_group = postdrop smtpd_banner = $myhostname ESMTP unknown smtpd_helo_required = yes smtpd_recipient_restrictions = permit_mynetworks permit_sasl_authenticated reject_unauth_destination smtpd_sasl_local_domain = $myhostname smtpd_sasl_path = private/auth smtpd_sasl_security_options = noanonymous smtpd_sasl_type = dovecot smtpd_tls_CAfile = /etc/pki/CA/cacert.pem smtpd_tls_CApath = /etc/pki/CA smtpd_tls_cert_file = /etc/pki/dovecot/certs/dovecot.crt smtpd_tls_key_file = /etc/pki/dovecot/private/dovecot.pem smtpd_use_tls = yes transport_maps = hash:/etc/postfix/transport unknown_local_recipient_reject_code = 550 virtual_gid_maps = static:5000 virtual_mailbox_base = / virtual_mailbox_domains = ******.**.** virtual_mailbox_maps = ldap:/etc/postfix/vmailbox.cf virtual_minimum_uid = 5000 virtual_uid_maps = static:5000 http://mevius.5ch.net/test/read.cgi/unix/1227953898/26
27: 名無しさん@お腹いっぱい。 [sage] 2008/12/13(土) 00:12:28 >>23 mynetworks に 127.0.0.0/8 が含まれているから、permit_mynetworks が効くので、 今のままの設定でも問題ないはず。 http://mevius.5ch.net/test/read.cgi/unix/1227953898/27
28: 23 [sage] 2008/12/13(土) 10:18:40 >>27 ありがとうございます。 しかし、この設定で、relay_domainsに設定しないとリレーしてくれないんです・・・。 transport でいったんMailmanに渡してるからだと思うんですが、謎。 /var/log/maillog は↓こんなかんじです。 Dec 13 10:12:37 linux-test postfix/smtpd[27016]: 28C3EFF2F06: reject: RCPT from linux-test.example.ne.jp[127.0.0.1]: 554 5.7.1 <test@hoge.hoge.ne.jp>: Relay access denied; from=<test-bounces@ml.example.ne.jp> to=<test@hoge.hoge.ne.jp> proto=ESMTP helo=<linux-test.example.ne.jp> http://mevius.5ch.net/test/read.cgi/unix/1227953898/28
29: 名無しさん@お腹いっぱい。 [sage] 2008/12/13(土) 14:35:47 >>28 Mailman からの戻されるSMTPの口はどうなってます? master.cf に書かれてると思うけど。 http://mevius.5ch.net/test/read.cgi/unix/1227953898/29
30: 23 [sage] 2008/12/13(土) 16:36:54 >>29 smtp inet n - n - - smtpd -o smtpd_sasl_auth_enable=yes -o smtpd_recipient_restrictions=permit_sasl_authenticated,reject_unauth_destination submission inet n - n - - smtpd -o smtpd_sasl_auth_enable=yes -o smtpd_recipient_restrictions=permit_sasl_authenticated,reject_unauth_destination smtps inet n - n - - smtpd -o smtpd_tls_wrappermode=yes -o smtpd_sasl_auth_enable=yes -o smtpd_recipient_restrictions=permit_sasl_authenticated,reject_unauth_destination こうなってましたorz smtp/smtpsの smtpd_recipient_restrictions をコメントアウトして無事解決しました。感謝! http://mevius.5ch.net/test/read.cgi/unix/1227953898/30
31: 名無しさん@お腹いっぱい。 [sage] 2008/12/21(日) 01:04:58 メールとWEBサーバを分離したいんだけど、 分離したらメールをトリガーにしてプログラム起動することってできなく なりますよね? 何か裏ワザ的なものないでしょうか? 現在は maildrop(.mailfilter)で対応しています。 http://mevius.5ch.net/test/read.cgi/unix/1227953898/31
32: 名無しさん@お腹いっぱい。 [sage] 2008/12/21(日) 01:09:53 >>31 web と mail server って、普通は同居してないけどな。 何がしたいのか、もう少し具体的に書いてくれないと返事のしようが無いぞ。 http://mevius.5ch.net/test/read.cgi/unix/1227953898/32
33: 31 [sage] 2008/12/21(日) 02:56:05 ttp://www.hideblog.net/nikkis/show/14 説明不足すいません、 こんな感じで、パイプで、メール受信したらプログラム動かしたいのです。 これはローカルにパイプしてるパターンですが、 外部サーバーにパイプする方法ってあるでしょうか? http://mevius.5ch.net/test/read.cgi/unix/1227953898/33
34: 名無しさん@お腹いっぱい。 [sage] 2008/12/21(日) 03:16:24 >>33 どこにwebが絡むか全然判らないんだけど ひょっとして、PHPって物を誤解してないか? http://mevius.5ch.net/test/read.cgi/unix/1227953898/34
35: 名無しさん@お腹いっぱい。 [sage] 2008/12/21(日) 05:38:07 >>33 スレ違い。他所へ行け 少しは勉強しろ http://mevius.5ch.net/test/read.cgi/unix/1227953898/35
36: 名無しさん@お腹いっぱい。 [sage] 2008/12/21(日) 10:15:07 >>33 php は言語なので、web server が必須ではない。 君が言っている URL のサイトはコマンドライン版の php を使っている。 rpm なら、php-cli というものを入れれば使える。 http://mevius.5ch.net/test/read.cgi/unix/1227953898/36
37: 名無しさん@お腹いっぱい。 [sage] 2008/12/21(日) 13:34:13 エラーメールとか登録確認メールとかを Webアプリの一部機能で受け取ったら処理したいのかもしれん でもスレ違いだから消えてください http://mevius.5ch.net/test/read.cgi/unix/1227953898/37
38: 31 [sage] 2008/12/22(月) 04:56:11 説明悪すぎた orz メールトリガー(メールのパイプ)で ローカルのプログラムではなく別サーバ(webサーバーとして通常使用)のプロプラムを操作したい、 ということです。 transport_maps でトリガーに使用したいメールアドレスだけ 別サーバに送って、という方法も考えたのですが、 これだと結局さらに別サーバ側でもpostfix入れなきゃいけないのですよね。 http://mevius.5ch.net/test/read.cgi/unix/1227953898/38
39: 名無しさん@お腹いっぱい。 [sage] 2008/12/22(月) 05:13:47 >>38 それ用のdaemon作りたくなくのなら、web serverにもpostfix入れとけばいいやん。 http://mevius.5ch.net/test/read.cgi/unix/1227953898/39
40: 名無しさん@お腹いっぱい。 [sage] 2008/12/22(月) 05:25:34 >>38 だからスレ違いと言っとろうが RPCの仕組みくらい自分で考えろボケ http://mevius.5ch.net/test/read.cgi/unix/1227953898/40
上
下
前
次
1-
新
書
関
写
板
覧
索
設
栞
歴
あと 893 レスあります
スレ情報
赤レス抽出
画像レス抽出
歴の未読スレ
AAサムネイル
Google検索
Wikipedia
ぬこの手
ぬこTOP
1.566s*