Iredmail Integrated Fetchmail functionality

Source: Internet
Author: User
Keywords Nbsp; fetchmail function chen www
Tags aliyun apt apt-get default etc file function functionality

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

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.