2017-03-03 13 views

答えて

0

fetchmailを使って電子メールを取得した後、procmailを実行してスクリプトを実行しています。

CORRECTHOME=/root 
MAILDIR=$CORRECTHOME/ 
LOGFILE=/var/log/procmail/log 
VERBOSE=on 
:0 
| /root/procmail/script_to_run.sh 
/etc/procmail/procmail.conf

/root/.fetchmailrc

# set username 
set postmaster "root" 
# set polling time (5 minutes) 
set daemon 600 

poll pop.gmail.com with proto POP3 
  user '[email protected]' there with password 'password' is root here options ssl mda "/usr/bin/procmail -m /etc/procmail/procmail.conf"; 

関連する問題