bash
1/etc/postfix/main.cf 2alias_maps = hash:/etc/aliases 3alias_database = hash:/etc/aliases 4myhostname = xxx.xxxx.xxx 5mydestination = $myhostname, $mydomain
bash
1/etc/postfix/aliases 2testuser: "| /usr/bin/php -f /home/testuser/mail_test.php > /dev/null 2>&1"
ubuntu16.04で、上記のようにtestuser宛のメールを受信したらプログラムを実行したいのですが
bash
1May 28 17:24:10 myserver postfix/local[14765]: 99254330A: to=<testuser@xxx.xxxx.xxx>, relay=local, delay=0.04, delays=0.03/0/0/0, dsn=2.0.0, status=sent (delivered to mailbox)
となって、プログラムを実行すらしていないようです。
なにか足りない設定がないか、ご存じの方がおられましたらご教授お願いします。
不足する情報がありましたらご指摘ください。
回答1件
あなたの回答
tips
プレビュー