From owner-freebsd-questions@FreeBSD.ORG Tue Dec 29 12:25:17 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id E487F106568D for ; Tue, 29 Dec 2009 12:25:17 +0000 (UTC) (envelope-from vas@mpeks.tomsk.su) Received: from relay2.tomsk.ru (relay2.tomsk.ru [212.73.124.8]) by mx1.freebsd.org (Postfix) with ESMTP id 452D98FC08 for ; Tue, 29 Dec 2009 12:25:16 +0000 (UTC) X-Virus-Scanned: by clamd daemon 0.93.1 for FreeBSD at relay2.tomsk.ru Received: from admin.sibptus.tomsk.ru (account sudakov@sibptus.tomsk.ru [212.73.125.240] verified) by relay2.tomsk.ru (CommuniGate Pro SMTP 5.1.13) with ESMTPSA id 13395519 for freebsd-questions@freebsd.org; Tue, 29 Dec 2009 18:25:15 +0600 Received: from admin.sibptus.tomsk.ru (sudakov@localhost [127.0.0.1]) by admin.sibptus.tomsk.ru (8.13.6/8.13.6) with ESMTP id nBTCPFZS070357 for ; Tue, 29 Dec 2009 18:25:15 +0600 (OMST) (envelope-from vas@mpeks.tomsk.su) Received: (from sudakov@localhost) by admin.sibptus.tomsk.ru (8.13.6/8.13.6/Submit) id nBTCP4mt070355 for freebsd-questions@freebsd.org; Tue, 29 Dec 2009 18:25:04 +0600 (OMST) (envelope-from vas@mpeks.tomsk.su) X-Authentication-Warning: admin.sibptus.tomsk.ru: sudakov set sender to vas@mpeks.tomsk.su using -f Date: Tue, 29 Dec 2009 18:25:04 +0600 From: Victor Sudakov To: freebsd-questions@freebsd.org Message-ID: <20091229122504.GA70217@admin.sibptus.tomsk.ru> Mail-Followup-To: Victor Sudakov , freebsd-questions@freebsd.org References: <20091228151553.GA7478@mech-cluster241.men.bris.ac.uk> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20091228151553.GA7478@mech-cluster241.men.bris.ac.uk> User-Agent: Mutt/1.4.2.3i Organization: AO "Svyaztransneft", SibPTUS X-PGP-Key: http://vas.tomsk.ru/vas.asc Subject: Re: fetchmail and plain text password X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 29 Dec 2009 12:25:18 -0000 Anton Shterenlikht wrote: > I use fetchmail > http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/mail-fetchmail.html > to download all my mail from the Uni mail > server to my fbsd box. > > I typically run it in daemon mode, which requires > having my mail server password in plain text in .fetchmailrc > > I'm a little worried about the security of having > my password in plain text on the system. If your Uni mail server supports Kerberos, the only line in your ~/.fetchmailrc could be something like poll mail.yourserver.edu auth gssapi And you have to periodically refresh the Kerberos ticket. Works for me (I download mail from a Communigate Pro mail server). Of course root can have access to your Kerberos credentials cache, but I think it would be of more limited use than a plain text password. Actually my complete ~/.fetchmailrc is ============================ defaults protocol pop3 mda "/usr/local/bin/procmail -d %T" nokeep fetchall set syslog poll mail.sibptus.tomsk.ru auth gssapi ============================ -- Victor Sudakov, VAS4-RIPE, VAS47-RIPN sip:sudakov@sibptus.tomsk.ru