1

Topic: How to configure fetchmail?

Hello,

I think it's a better choice to make a seperate thread.

Is there anyone with experiences in integration and use of fetchmail in an iredmail server.

BR

----

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

2 (edited by shake 2009-10-25 14:45:23)

Re: How to configure fetchmail?

http://pyropus.ca/software/getmail/faq.html

now seem use the getmail would be better for fetchmail.

can you told me why you need the fetchmail feature?

3

Re: How to configure fetchmail?

Hi shake,

it was only an acceptance from the past, to use fetchmail.
The goal is to fetch the mails from 3rd party accounts via pop3 and deliver them to the local user.
Is there anything in iredmail/iredadmin already prepared for?

BR

4

Re: How to configure fetchmail?

in iredadmin ,you can

1: setting the 3rd party account forward email to the user account.

2: setting the domain alias

3: setting the user's nickname, ( shadow address)

whether enough?

5

Re: How to configure fetchmail?

I'm sorry shake, but I didn't understand. I can't find any options to set all these in iredadmin, not even in the full featured edition (I'd checked the demo and installed on my server the downloadable OS edition). Please help me to understand these confusion.

BR

6

Re: How to configure fetchmail?

There are some configuration examples in fetchmail manual page:
http://fetchmail.berlios.de/fetchmail-man.html

7

Re: How to configure fetchmail?

Hi ZhangHuangbin,

thanks for reply. First I will say there is no vision on my side corresponding the hope you will deliver the complete solution for my need.
Maybe there is a misunderstanding on my side: The iRedAdmin feature "Fetch mails via POP3" under "Service Control" doesn't mean the fetching of 3rd party mail accounts, but rather one of the deliver method from iredmail solution itself!? That means there is no preperation that I can use to fetch my emails from other provider to the "local" virtual ldap user? If thats right, I must find the way to forward the fetched mails (cron job) to Dovecot...

BR

8

Re: How to configure fetchmail?

Bronko wrote:

The iRedAdmin feature "Fetch mails via POP3" under "Service Control" doesn't mean the fetching of 3rd party mail accounts, but rather one of the deliver method from iredmail solution itself!?

Yes, you are right.

That means there is no preperation that I can use to fetch my emails from other provider to the "local" virtual ldap user?

Yes, right.

I think the example showed in fetchmail manual page should work for you:

poll pop.provider.net proto pop3 port 3111
     user "jsmith" with pass "secret1" is "smith" here
     user jones with pass "secret2" is "jjones" here keep

It maps remote user 'jones' to local user 'jjones', so it will deliver this mail to local user 'jjones', right?
If so, you have to setup a LDA (Local Deliver Agent) to deliver these mails, such as 'deliver' program which provided by dovecot package (it's included in iRedMail).

I may be wrong, because i'm not familiar with fetchmail program.

Good luck. smile

9

Re: How to configure fetchmail?

Thanks, will be back with a working solution here...

10

Re: How to configure fetchmail?

try this (for example, gmail):

poll pop.gmail.com proto pop3 port 995 uidl
user "user_gmail" password "pass_gmail" is "local_user@your_domain" keep ssl
smtphost "localhost" smtpname "local_user@localhost"

-----------------------------
Best regards, Kris

11 (edited by Bronko 2009-11-01 09:01:40)

Re: How to configure fetchmail?

Hello,

here is what working for ubuntu/debian:

/etc/fetchmailrc
(polling every 15 min with "set daemon")

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

poll pop.provider.za proto pop3
     user "user_name" with pass "user_pass" is "ldapuser@mydomain.za" here
     ssl

/etc/default/fetchmail

...
START_DAEMON=yes
...

Finally start the daemon

# /etc/init.d/fetchmail start

...and for reboot working

# update-rc.d fetchmail defaults

BR

12

Re: How to configure fetchmail?

I install in Centos 5.5 and using fetchmail in google mail but the messages incoming in my INBOX only!
My sieves rules dont work with this messages.
Help please!

13 (edited by Gammelobst 2012-05-30 05:59:02)

Re: How to configure fetchmail?

Hello,

on ubuntu 12.04LTS with iRedMail 0.8.0 the following commands are also needed:

touch /var/log/fetchmail.log
chown fetchmail:users /var/log/fetchmail.log

have fun

cya

14

Re: How to configure fetchmail?

I know this is an old topic - but take a look at

http://myroundcube.com/myroundcube-plug … nts-plugin

Think this will allow you to do what you want directly from the webmail interface! I will be trying it in the next week or so.

15

Re: How to configure fetchmail?

After many hours of googling I found a solution for "mail forwarding loop".
Its a old topic, but it works for me.


http://lists.kolab.org/pipermail/users/ … 03894.html