You are not logged in.
Pages: 1
Hi,
I'm not sure if it's the right section of the forum but it seems to be the most appropriate.
My question is: It's possible to setup a mail server that downloads mail from different mail accounts (given by Isp) and store them.
I need this because the space in the mail account is ridicolous.
It's possible also to let users download email from this local server instead from the Internet?
Thanks
Asterhex
Offline
What you describe is actually a(n incoming) mailserver ![]()
You use getmail/fetchmail to retrieve emails into a maildir and then you use a mailserver like dovecot to distribute the emails through pop or imap.
Our small office uses gmail as a pass-through to filter out SPAM and other unsollicited emails - our setup is as follows:
<domain provider> -> forward to gmail-address -> fetchmail to local maildir -> local dovecot -> evolution/thunderbird/roundcube
You can use backup-software to backup those maildirs (we use bacula to do that) and you could also install an extra server on your network an use rsync to keep the maildirs synced on a regular basis. If the main server goes down, it is only a matter of editing the accountdetails of the client to be able to continue working.
Last edited by zenlord (2010-09-29 08:29:53)
Offline
Ok I'll try in this way. Postfix isn't good for that or is too complicated for that??
Thanks for your fast answer.
Offline
IIRC postfix is an SMTP-server, so only for outgoing mail.
Offline
IIRC, fetchmail needs a local MTA (such as postfix) to deliver the mail to, so you would need postfix also. (I stand to be corrected)
Are you familiar with our Forum Rules, and How To Ask Questions The Smart Way?
BlueHackers // fscanary // resticctl
Offline
getmail doesn't need postfix. It can deliver to maildir/mbox etc., or to something like procmail.
I do vaguely recall seeing some basic (smaller than dovecot, etc.) app that served up local mail boxes to clients...but cannot remember its name. A search revealed nothing, so may be mistaken.
"...one cannot be angry when one looks at a penguin." - John Ruskin
"Life in general is a bit shit, and so too is the internet. And that's all there is." - scepticisle
Offline
There's http://www.archlinux.org/packages/?sort … =&limit=50 but I don't know if it can do all you need it to do and if the configuration is any easier.
Offline
IIRC, fetchmail needs a local MTA (such as postfix) to deliver the mail to, so you would need postfix also. (I stand to be corrected)
Aha - I think that's where exim4 comes in on our network... We certainly don't have postfix installed, but we do have fetchmail fetching our mail. I have read somewhere that getmail is a lot easier to configure than fetchmail, so it is possible you don't need an MTA with getmail.
If the OP'er will be checking the mail only locally, there is not really a need for an IMAP or POP-server (like dovecot): most email clients can handle plain maildirs. I have no experience with this, so I don't know if this is a workable suggestion or not.
/EDIT: The getmail documentation states explicitly that it can deliver email locally to an mbox or maildir without the need of an MDA or MTA.
Last edited by zenlord (2010-09-30 09:09:05)
Offline
i use dovecot and imapsync
< Daenyth> and he works prolifically
4 8 15 16 23 42
Offline
imapsync + cronjob could come in handy to make a stand-in-server for your mail...
Offline
I use fdm[1] to fetch my email from the various mail boxes I have. It stores the emails in maildir folders that I serve up with dovecot(imap) and roundcube(webmail)
It's nice to have access to my mail even when I'm out roaming in the world. ![]()
fdm is called from cron to fetch the mail with set intervals. And it's really quite simple to setup.
MadEye | Registered Linux user #167944 since 2000-02-28 | Homepage
Offline
Pages: 1