From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/30554 Path: main.gmane.org!not-for-mail From: Thomas Skogestad Newsgroups: gmane.emacs.gnus.general Subject: Re: Gnus and fetchmail Date: 01 May 2000 14:40:28 +0200 Organization: The Church of Emacs, Legal Dept. Sender: owner-ding@hpc.uh.edu Message-ID: <3166173628721995@oakhurst.penguinpowered.com> References: NNTP-Posting-Host: coloc-standby.netfonds.no Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: main.gmane.org 1035167073 9111 80.91.224.250 (21 Oct 2002 02:24:33 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Mon, 21 Oct 2002 02:24:33 +0000 (UTC) Return-Path: Original-Received: from lisa.math.uh.edu (lisa.math.uh.edu [129.7.128.49]) by mailhost.sclp.com (Postfix) with ESMTP id C51DFD051E for ; Mon, 1 May 2000 08:42:18 -0400 (EDT) Original-Received: from sina.hpc.uh.edu (lists@Sina.HPC.UH.EDU [129.7.3.5]) by lisa.math.uh.edu (8.9.1/8.9.1) with ESMTP id HAB29373; Mon, 1 May 2000 07:42:16 -0500 (CDT) Original-Received: by sina.hpc.uh.edu (TLB v0.09a (1.20 tibbs 1996/10/09 22:03:07)); Mon, 01 May 2000 07:41:43 -0500 (CDT) Original-Received: from mailhost.sclp.com (postfix@sclp3.sclp.com [204.252.123.139]) by sina.hpc.uh.edu (8.9.3/8.9.3) with ESMTP id HAA04021 for ; Mon, 1 May 2000 07:41:33 -0500 (CDT) Original-Received: from quimby.gnus.org (quimby.gnus.org [193.69.4.139]) by mailhost.sclp.com (Postfix) with ESMTP id F26F3D051E for ; Mon, 1 May 2000 08:40:30 -0400 (EDT) Original-Received: (from news@localhost) by quimby.gnus.org (8.9.3/8.9.3) id OAA13884 for ding@gnus.org; Mon, 1 May 2000 14:42:23 +0200 (CEST) Original-To: ding@gnus.org Original-Path: not-for-mail Original-Newsgroups: gnus.ding Original-Lines: 66 Original-NNTP-Posting-Host: krs-dhcp061.studby.uio.no Original-X-Trace: quimby.gnus.org 957184942 22184 129.240.106.91 (1 May 2000 12:42:22 GMT) Original-X-Complaints-To: usenet@quimby.gnus.org Original-NNTP-Posting-Date: 1 May 2000 12:42:22 GMT User-Agent: Gnus/5.0805 (Gnus v5.8.5) Emacs/20.6 Precedence: list X-Majordomo: 1.94.jlt7 Xref: main.gmane.org gmane.emacs.gnus.general:30554 X-Report-Spam: http://spam.gmane.org/gmane.emacs.gnus.general:30554 * Jonas Steverud | My question now is if fetchmail can deliver to some file which Gnus | then can read as inbox (and then do splitting) or if I need procmail | (in MDA mode) too. This is my ~/.fetchmailrc # Configuration created Sat Jun 12 13:34:33 1999 by fetchmailconf set postmaster "thomas" set bouncemail set properties "" poll munkholm.chembio.ntnu.no via "localhost" with proto POP3 port 1027 user "thomas" there with password "TopSecret" is thomas here options fetchall stripcr warnings 3600 preconnect '(ssh -n -f munkholm.chembio.ntnu.no -L 1027:munkholm.chembio.ntnu.no:110 sleep 5 ) ; sleep 2' mda '/usr/bin/procmail -d thomas' (The user here/there is probably not needed, but should I ever change machines I'm fetching mail from, the setup is ready to be easily changed. ("there" is the user name on the foreign machine.)) This uses a SSH tunnel, connects to a foreign machine (munkholm.chembio.ntnu.no), fetches mail, and uses procmail to write the mail to /var/spool/mail/thomas I also have (setq nnmail-spool-file '("/var/spool/mail/thomas")) in my .gnus | Any other ideas for the problem "getting (sending) mail and news from | (to) ISP X to (from) Gnus"? I would like to have two options: 1. Have | a script in crontab and I have 30 01 * * * fetchmail -q > /dev/null 2>&1 00 07 * * * fetchmail -d 1800 -f /home/thomas/.fetchmailrc This checks for mail every half hour (1800 seconds), it is turned off around my bed time, or not... | 2. be able to do it on demand. Then I just type "fetchmail" from the prompt. | uploads whatever mail I've sent, and do the same thing for news. I use qmail to send mail (which at least is a heck og lot easier to set up than sendmail). I also have (setq message-send-mail-function 'message-send-mail-with-qmail) ;; Forces envelope set to this (i.e. where bounced mail is sent) (setq message-qmail-inject-args '("-f" "tskogest@jusstud.uio.no" just to make sure that the right headers are actually set. (The University (UiO) is where nice, and without telling anybody about this actually deletes your mail if the envelope from is set to the name of my computer. (They've also blocked port 25 connections to my machine form anywhere outside of the local student city net.) Since I have a permanent connection to the net I have never had to bother with sending mail in batches as I log on. -- thomas.skogestad@jusstud.uio.no http://quimby.gnus.org/circus/problem.gif ftp://ftp.splode.com/pub/users/friedman/emacs-lisp/kill-a-lawyer.el