-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 [email protected] (Adam Sjøgren) writes:
> You have misunderstood something fundamental. You can't read email via > news.sunsite.dk - news.sunsite.dk is a news server, from which you can > read usenet newsgroups, not email. > I was finding it very weird, but I thought it was possible to make a gateway with your ISP. Thanks for your definitive answer. >> 1. Do I need to use Procmail or Fetchmail to fetch my mails, using >> news.sunsite.dk? > > You can use fetchmail to transfer emails from an mail server to your > local machine, and procmail to process (for instance filter) it there. > Gnus can then read it from your mail spool (or maildir, if you prefer > that). Very clear. Thanks. > > You can also bypass fetchmail and procmail entirely and have Gnus fetch > email from a POP og IMAP server directly (arguably easier.) Clearly easier. As I have configured .authinfo, would it be straightforward to follow this solution? Richard Riley <[email protected]> writes: > Merciadri Luca <[email protected]> writes: > >> Hello, >> >> I have Procmail and Fetchmail both installed on my computer. I have >> configured an .authinfo file, to be able to read my mails using >> news.sunsite.dk. However, it does not work. >> >> There is something that I do not understand: >> 1. Do I need to use Procmail or Fetchmail to fetch my mails, using >> news.sunsite.dk? > > Your mails do not come from here. News (usenet) comes from here. I assume > you mean things like your googlemail (or whatever you use for email) is > what you want? As a suggestion I recommend not using your ISP email > account since you will change isp in coming years. Get a good > independent email account. I like gmail - fast, access via pop3 and imap > and lots of storage. > Thanks, your answer completes Adam's one. >> 2. Is it really possible to use news.sunsite.dk to fetch my mails? If >> so, how? > > No. > > I personally use getmail. I have a script which processes all getmail rc > files in a certain directory so: (~/bin/getmails) > > ,---- > | #!/bin/bash > | host=$(hostname) > | mailserver="hermes.richardriley.net" > | if [ $host != "hermes.richardriley.net" ] > | then > | echo "Doing remote call to mailserver $mailserver" > | ssh $mailserver /home/shamrock/bin/getmails > | exit > | fi > | > | cmd="getmail -d -q" > | > | for file in ~/.getmail/*.rc; do > | cmd="$cmd --rcfile $file " > | done > | > | $cmd > `---- > > an rc file on the remote system looks like this: > > here we see ~/.getmails/rileyrgdev.rc getting my pop3 emal and calling > procmail ... > > ,---- > | [retriever] > | type = SimplePOP3SSLRetriever > | server = pop.gmail.com > | username = [email protected] > | port = 995 > | password = ********************** > | [destination] > | type = MDA_external > | path = /usr/bin/procmail > `---- > > Note it telling getmail to invoke procmail. procmail then filters the > mail and places it where the procmail config tells it. In this case the > rule in the .procmailrc is: > > ,---- > | :0 > | * ^(To|Delivered-To):.*rileyrgdev.* > | $MAILDIR/.DevelopmentEmail/ > `---- > > (The .DevelopmentEmail is a MAILDIR for Dovecot which is an IMAP > server. I then connect to my own IMAP server to collect all my email in > my mail program). > > Its a lot to learn at the start but a valuable process! > > Oh, and "getmails" is run via cron on my mailserver or I can invoke it > manually from my local machine where it ssh's into my mail server to run > it. > Thanks. It was not as complicated as I thought. I will think about this solution (Anyway, I keep it, as it is nice), but I am currently materially lacking of time, and I will thus think about a more straightforward solution. > Have fun! > For sure! Thanks. - -- Merciadri Luca See http://www.student.montefiore.ulg.ac.be/~merciadri/ I use PGP. If there is an incompatibility problem with your mail client, please contact me. -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.9 (GNU/Linux) Comment: Processed by Mailcrypt 3.5.8 <http://mailcrypt.sourceforge.net/> iEYEARECAAYFAkp4doAACgkQM0LLzLt8Mhy1PQCfS5eLcSXMeMaqtABU0+uDAIcY j3oAoKBqGEGntY16H8HdP8uK1sOP7QnY =OSHc -----END PGP SIGNATURE----- _______________________________________________ info-gnus-english mailing list [email protected] http://lists.gnu.org/mailman/listinfo/info-gnus-english
