From owner-freebsd-questions Fri Mar 22 12: 2:25 2002 Delivered-To: freebsd-questions@freebsd.org Received: from tomts11-srv.bellnexxia.net (tomts11.bellnexxia.net [209.226.175.55]) by hub.freebsd.org (Postfix) with ESMTP id 9473D37B4E2 for ; Fri, 22 Mar 2002 12:01:32 -0800 (PST) Received: from scaryg.shacknet.nu ([64.231.142.145]) by tomts11-srv.bellnexxia.net (InterMail vM.4.01.03.23 201-229-121-123-20010418) with ESMTP id <20020322200131.ZIFT8254.tomts11-srv.bellnexxia.net@scaryg.shacknet.nu>; Fri, 22 Mar 2002 15:01:31 -0500 Received: from localhost ([::1] helo=scaryg.shacknet.nu) by scaryg.shacknet.nu with smtp (Exim 3.34 #1) id 16oVDu-000GOC-00; Fri, 22 Mar 2002 15:01:14 -0500 Date: Fri, 22 Mar 2002 15:01:13 -0500 From: ScaryG To: weiwuzhang@263.net Cc: weiwuzhang@hotmail.com, questions@freebsd.org Subject: Re: config mail client Message-Id: <20020322150113.36ed9db5.freymann@scaryg.shacknet.nu> In-Reply-To: References: X-Mailer: Sylpheed version 0.7.4 (GTK+ 1.2.10; i386-portbld-freebsd4.4) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-MailScanner: Found to be clean 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 Sat, 23 Mar 2002 03:50:00 +0800 "Zhang Weiwu" wrote: > My problem is simple. I recieve mails through a POP3 server and send > mails through a SMTP server as most people do. But how to config my BSD > system so that when I send a mail using 'mail' it knows which smtp > server to use and which pop3 server to check for incoming mails? I believe you could look into: fetchmail -- to collect your external pop3 accounts and put them into your local mailbox on your local FreeBSD machine sendmail -- to send all of your outgoing email through a designated smtp server (ie smarthost). Add this to your sendmail.cf file and restart sendmail (if in deamon mode) DSsmtp:[smtp.yourhost.com] > I'm sending this mail from a Windows box. Sorry to hear that ;-) -Gerry Web Hosting // Primary & Secondary DNS Services at http://www.interpool.ca To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message