1 (edited by loko9988 2014-09-11 22:44:45)

Topic: Worked fetchmail configuration form 10.09.14

======== Required information ====
- iRedMail version:
- Store mail accounts in which backend (LDAP/MySQL/PGSQL):
- Linux/BSD distribution name and version:
- Related log if you're reporting an issue:
====

- 0.8.7
- MySQL
- Linux debian 7.0 Wheezy

file /etc/fetchmailrc

set no bouncemail
set no spambounce
set properties ""
set logfile /tmp/fetchmail.log
set daemon 900

poll mail.externalserver.ru proto pop3
     user "externaluser" with pass "pass" is "mybox@iredmail" here
     ssl

U can start or add in cron

fetchmail -p POP3 -a -S U_IP_OF_IREDMAIL_OR_DOMAIN -f /etc/fetchmailrc > /tmp/fetchmail.log

don't forget about

chmod 700 /etc/fetchmailrc 

----

Spider Email Archiver: On-Premises, lightweight email archiving software developed by iRedMail team. Supports Amazon S3 compatible storage and custom branding.

2

Re: Worked fetchmail configuration form 10.09.14

I'm wondering what will happen if you have more users running fetchmail on this server. for example, you have 300 users for fetchmail. Do we have to run it with cron? 1 fetchmailrc to include 300 external accounts?

3 (edited by loko9988 2014-09-11 22:44:22)

Re: Worked fetchmail configuration form 10.09.14

In my configuration. I change config in.

/etc/default/fetchmail

# Declare here if we want to start fetchmail. 'yes' or 'no'
START_DAEMON=yes

Need once to launch fetchmail. All work will be on background.
If i change /etc/fetchmailrc file, i kill and start process.

All worked on automated. i think its good )).

And yes. in my /etc/fetchmailrc 7 accounts, mail.ru gmail.com, hotmail.com, etc.