sed -i "s|FETCH_MAIL_ADDRESS|${FETCH_MAIL_ADDRESS}|g" '.fetchmailrc'
sed -i "s|FETCH_MAIL_AUTH_CODE|${FETCH_MAIL_AUTH_CODE}|g" '.fetchmailrc'
sed -i "s|FETCH_MAIL_DIR|${FETCH_MAIL_DIR}|g" '.procmailrc'
sed -i "s|FETCH_MAIL_BOX|${FETCH_MAIL_BOX}|g" '.procmailrc'
+}
就写成 mail_conf() { }吧,简单。
OK, I will fix it.
Thanks, Luan Shengde
Thanks, Yinsi
+mail_conf
+fetchmail -d 100
2.23.0