Re: mail recive and send
"Roberto C. Sanchez" <roberto@connexer.com> wrote:
> On Wed, Sep 27, 2006 at 10:17:00PM +0300, Andrei Popescu wrote:
> > Jon Dowland <lists@alcopop.org> wrote:
> >
> > > You need a seperate piece of software to fetch the mail from
> > > gmail via the POP3 protocol. Fetchmail or, ideally,
> > > retchmail.
> >
> > getmail is very easy to configure, at leas compared to fetchmail
> >
>
> Huh? Configurig fetchmail was braindead easy. Just copy the default
> fetchmailrc from /etc (or modify it if you want a systemwide setup) and
> then follow the commented out examples in the file.
>
> Regards,
>
> -Roberto
This is my getmailrc:
[retriever]
type = SimplePOP3SSLRetriever
server = pop.gmail.com
port = 995
username = andreimpopescu
password = xxxxxxx (my real password)
[destination]
type = MDA_external
path = /usr/bin/maildrop
unixfrom = True
for direct delivery to Maildir it would have been something like
[destination]
type = Maildir
path = ~/Maildir/
but I use maildrop for filtering.
If you want to run it periodically, all you need is a simple cron job:
crontab -e
and add
0-59/5 * * * * /usr/bin/getmail --quiet
change the 5 to whatever frequency you want mail checked (10, 15, 20, ... minutes)
Regards,
Andrei
--
If you can't explain it simply, you don't understand it well enough.
(Albert Einstein)
Reply to: