From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from lists.gentoo.org ([140.105.134.102] helo=robin.gentoo.org) by nuthatch.gentoo.org with esmtp (Exim 4.43) id 1DqTtp-0001gc-LX for garchives@archives.gentoo.org; Thu, 07 Jul 2005 10:46:34 +0000 Received: from robin.gentoo.org (localhost [127.0.0.1]) by robin.gentoo.org (8.13.4/8.13.4) with SMTP id j67AifmN014506; Thu, 7 Jul 2005 10:44:41 GMT Received: from smtp.istop.com (smtp.istop.com [66.11.167.126]) by robin.gentoo.org (8.13.4/8.13.4) with ESMTP id j67Af9RU001189 for ; Thu, 7 Jul 2005 10:41:10 GMT Received: from waltdnes.org (i216-58-16-22.igs.net [216.58.16.22]) by smtp.istop.com (Postfix) with SMTP id 08C6E2B495 for ; Thu, 7 Jul 2005 06:53:40 -0400 (EDT) Received: by waltdnes.org (sSMTP sendmail emulation); Thu, 7 Jul 2005 06:44:06 -0400 From: "Walter Dnes" Date: Thu, 7 Jul 2005 06:44:06 -0400 To: gentoo-user@lists.gentoo.org Subject: Re: [gentoo-user] mutt probs Message-ID: <20050707104406.GA12951@waltdnes.org> References: <20050706203704.41396.qmail@web31708.mail.mud.yahoo.com> Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@gentoo.org Reply-to: gentoo-user@lists.gentoo.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20050706203704.41396.qmail@web31708.mail.mud.yahoo.com> User-Agent: Mutt/1.5.8i X-Archives-Salt: 40215bbe-6df7-47d1-bfb4-170d28bf052c X-Archives-Hash: 22b82ce4ccd0515ae6a39bb57254c154 On Wed, Jul 06, 2005 at 01:37:04PM -0700, maxim wexler wrote > Hello everyone, > > Following the "Quickstart Guide to Mutt" have > encountered the following problems: > > $fetchmail -av -m "/usr/bin/procmail -d %T" > fetchmail: 6.2.5 querying yahoo.com (protocol POP3) at > Wed Jul 6 13:51:41 2005: poll started > fetchmail: timeout after 300 seconds waiting to > connect to server yahoo.com. > fetchmail: socket error while fetching from yahoo.com > fetchmail: 6.2.5 querying yahoo.com (protocol POP3) at > Wed Jul 6 13:56:41 2005: poll completed > fetchmail: Query status=2 (SOCKET) > fetchmail: normal termination, status 2 > > Is that protocole(POP3) correct for yahoo? If you're using Yahoo.com, I believe that you have to pay for popmail access. I.e., it's not part of the free package. If you do have an account see http://help.yahoo.com/help/us/mail/pop/pop-03.html for the correct settings. > Also, the guide doesn't mention it but do I need to > emerge sendmail? It just says enter m in Muttpager(?) > if I want to use sendmail. > > man mutt mentions sendmail but man sendmail drew a > blank. > > Here's my attempt at emerging sendmail: mutt needs something to provide the functionality of sendmail. sendmail is a huge, complex beast, which you probably don't want to administer. You only need a very basic subset of sendmail in order to push your email "out the door" from your system to your ISP's smarthost. ssmtp provides that basic functionality. The ssmtp binary is "/usr/sbin/ssmtp", and it also usually has a symlink "/usr/sbin/sendmail", for those programs that expect to see sendmail. I strongly recommend removing the sendmail symlink, and inserting a dummy file that cannot be overwritten, by executing the commands... rm /usr/sbin/sendmail touch /usr/sbin/sendmail chmod 555 /usr/sbin/sendmail chattr +i /usr/sbin/sendmail If you set up ssmtp with the sendmail symlink, and don't watch what you're doing, chatty cron jobs will send their output to "root", which will go to "root@your_isp"; oops. In your .muttrc, enter the line... set sendmail="/usr/sbin/ssmtp -v -d3" so that mutt knows which MTA to use for sendmail-type services. -- Walter Dnes My musings on technology and security at http://tech_sec.blog.ca -- gentoo-user@gentoo.org mailing list