From owner-freebsd-questions Tue Jan 21 4:53:57 2003 Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 922F537B401 for ; Tue, 21 Jan 2003 04:53:55 -0800 (PST) Received: from mailsrv.otenet.gr (mailsrv.otenet.gr [195.170.0.5]) by mx1.FreeBSD.org (Postfix) with ESMTP id 3D73C43F1E for ; Tue, 21 Jan 2003 04:53:53 -0800 (PST) (envelope-from keramida@ceid.upatras.gr) Received: from gothmog.gr (patr530-a195.otenet.gr [212.205.215.195]) by mailsrv.otenet.gr (8.12.6/8.12.6) with ESMTP id h0LCrlHI006981; Tue, 21 Jan 2003 14:53:49 +0200 (EET) Received: from gothmog.gr (gothmog [127.0.0.1]) by gothmog.gr (8.12.6/8.12.6) with ESMTP id h0LCrivu000765; Tue, 21 Jan 2003 14:53:44 +0200 (EET) (envelope-from keramida@ceid.upatras.gr) Received: (from giorgos@localhost) by gothmog.gr (8.12.6/8.12.6/Submit) id h0LCraJm000764; Tue, 21 Jan 2003 14:53:36 +0200 (EET) (envelope-from keramida@ceid.upatras.gr) Date: Tue, 21 Jan 2003 14:53:36 +0200 From: Giorgos Keramidas To: Gary Schenk Cc: freebsd-questions@FreeBSD.org Subject: Re: newbie mail help Message-ID: <20030121125336.GA657@gothmog.gr> References: <15913.7775.157128.271738@guru.mired.org> <002b01c2c0e4$880c9e40$6501a8c0@socal.rr.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <002b01c2c0e4$880c9e40$6501a8c0@socal.rr.com> Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On 2003-01-20 16:32, Gary Schenk wrote: > I am attempting to use Pine with fetchmail and sendmail over a cable > modem to my ISP. > > There is some basic setting that I am unaware of. I now can send > mail and newsgroup messages out over the internet, but the return > address is incorrect. It uses my pc account login ID, gschenk, as > the left side of my address instead of my ISP account name of > gwschenk. Where is this configured? It doesn't seem to be setup in > .pinerc or .fetchmailrc. Is it in sendmail somewhere? You should add (or mofidy appropriately) the following to your .pinerc file: feature-list=allow-changing-from default-composer-hdrs=From: Giorgos Keramidas , To:, Cc:, Bcc:, Attchmnt:, Subject: The allow-changing-from feature allows editing of the From: header for all outgoing messages when enabled, and the default-composer-hdrs sets some of the headers for your outgoing messages to reasonable defaults. > The fetchmail man page says that sendmail needs to be listening on > port 25. When I run the output is: > > root 102 0.0 1.8 2760 2196 ?? Ss 2:45PM 0:00.14 sendmail: accepting \ > connections (sendmail) > smmsp 105 0.0 1.7 2660 2180 ?? Is 2:45PM 0:00.01 sendmail: Queue \ > runner@00:30:00 for /var/spool/clientmqueue (sendmai > > Shouldn't it indicate port 25 somewhere? No, not really. > How do I know I have a port 25? > How do I know it is listening at port 25? Use sockstat(1). $ sockstat -l4 | grep :25 root sendmail 445 4 tcp4 *:25 *:* > Could I have the wrong path set up in Pine for the INBOX? > I'm using /var/mail/gschenk. As long as "gschenk" is your username, this is fine. > Do I need professional assistance to set up email? It's not difficult. You should also check the FreeBSD Handbook. Especially the chapter about mail... > I'd better end this message here as I feel a major whine coming on! :) Nah, not really :) To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message