我在fetchmail.xml文件中通过更改帐户用户和密码以及创建具有本地域的用户来使用此配置
<?xml version="1.0" encoding="UTF-8"?>
<fetchmail enabled="true">
<fetch name="gmail.com">
<accounts>
<account user="YOUR_USER@gmail.com" password="YOUR_PASSWORD" recipient="YOUR_EMAIL_ADDRESS_IN_JAMES" ignorercpt-header="true" />
</accounts>
<host>imap.gmail.com</host>
<interval>600000</interval>
<javaMailProviderName>imap</javaMailProviderName>
<javaMailFolderName>INBOX</javaMailFolderName>
<javaMailProperties>
<property name="mail.imap.ssl.enable" value="true" />
</javaMailProperties>
<fetchall>false</fetchall>
<recursesubfolders>false</recursesubfolders>
<defaultdomain>localhost</defaultdomain>
<fetched leaveonserver="true" markseen="true" />
<remotereceivedheader index="1" reject="true" leaveonserver="true" markseen="false" />
<maxmessagesize limit="0" reject="false" leaveonserver="true" markseen="false" />
<undeliverable leaveonserver="true" markseen="false" />
<recipientnotfound defer="true" reject="true" leaveonserver="true" markseen="false" />
<blacklist reject="true" leaveonserver="true" markseen="false">wibble@localhost, flobble@localhost</blacklist>
<userundefined reject="true" leaveonserver="true" markseen="false" />
<remoterecipient reject="true" leaveonserver="true" markseen="false" />
</fetch>
</fetchmail>
使用命令run.bat后,它会显示fetcher完成的回迁,但在store/derby/log中没有显示一些未经处理的文本的消息。
暂无答案!
目前还没有任何答案,快来回答吧!