At present Iredmail has not integrated fetchmail function, if you need to use Fetchmail, you can integrate yourself
Install Fetchmail
&http://www.aliyun.com/zixun/aggregation/37954.html ">NBSP;
Apt Install Fetchmail
Set Fetchmail daemon Run modify/etc/default/fetchmail file
Start_daemon=yes #把no改为yes
Create/ETC/FETCHMAILRC file, add the following
Set Daemon #5分钟取一次邮件
Set Syslog
Set Postmaster Root
Set No Bouncemail
Defaults:
Timeout 300
Antispam-1
Batchlimit 100
#用户: Shakechen can also be shakechen@126.com password is: 12345678 Local mailbox: www@18demo.com
Poll pop3.126.com Kyoto POP3 user Shakechen there with password 12345678 are www@18demo.com here
The last line means to send the mail of 126 of the users in the mailbox to the local email account www@18demo.com
Set/ETC/FETCHMAILRC file permissions
chmod 600/ETC/FETCHMAILRC
Chown FETCHMAIL/ETC/FETCHMAILRC
Restart Service
/etc/init.d/fetchmail start
View Log
# Tail/var/log/syslog
Dec 7 16:01:36 Mail fetchmail[4179]: 723 messages (723 dots) for shakechen at pop3.126.com (36923210 octets).
Dec 7 16:01:37 Mail fetchmail[4179]: Sleeping at Mon Dec 7 16:01:37 2009 for seconds
Dec 7 16:02:07 Mail fetchmail[4179]: Awakened at Mon Dec 7 16:02:07 2009
Dec 7 16:02:08 Mail fetchmail[4179]: 723 messages (723 dots) for shakechen at pop3.126.com (36923210 octets).
Dec 7 16:02:09 Mail fetchmail[4179]: Sleeping at Mon Dec 7 16:02:09 2009 for seconds