How can I fetch my Mail from my ISPs Server?
Michael Harnden
mike at rochestervball.com
Mon Jun 22 17:44:35 CEST 2009
Quoting Alexander Schröter <webmaster at computational-chemistry.org>:
> Since I am really not able to download the fetchmail file from OpenPKG I
> need to do it with the Debian package.
>
> So here is what I did:
>
> #1 Installed fetchmail.
>
> #2 Added this to the /root/.bashrc
>> export LANG=C
>> opa () {
>> root="${1:-/kolab}"
>> if [ ! -d $root ]; then
>> echo "opa:ERROR: OpenPKG root directory $root not found"
>> exit 1
>> fi
>> if [ ! -f "$root/etc/rc" ]; then
>> echo "opa:ERROR: root directory does not contain OpenPKG hierarchy"
>> exit 1
>> fi
>> eval `$root/etc/rc --eval all env`
>> }
>
> #3 Created a file /root/.fetchmailrc with:
>> defaults
>> no dns
>> envelope Delivered-To:
>> set postmaster "root"
>> poll <mail.ISPDomain.org>
>> localdomains <mydomain.org>
>> proto pop3
>> user <ISP Username>
>> pass <ISP Password>
>> to *
>> #fetchall
>> keep # For testing, comment out and use fetchall for live
>
> #4 but when I run fetchmail (as root) it seems to find mails and get them
> but they do not get transfered into my kolab users account. This doesn't
> come as a surprise because I never mentioned which user those mails belong
> to.
>
> Could someone help me and maybe explain how I can do this.
>
> Thanks in Alexander Schröter
>
> _______________________________________________
> Kolab-users mailing list
> Kolab-users at kolab.org
> https://kolab.org/mailman/listinfo/kolab-users
>
Someone with more experience may be able to show you (and myself) a
better way, but this is what my fetchmailrc looks like for each user.
poll <ISP Server> with proto POP3
user "<ISP Username>" with pass "<ISP Password>" is <Kolab Username>
at <Kolab Server Name>
options fetchall
Mike
More information about the users
mailing list