From owner-freebsd-questions@FreeBSD.ORG Thu Jan 6 18:19:09 2005 Return-Path: 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 E4B9E16A4CE for ; Thu, 6 Jan 2005 18:19:09 +0000 (GMT) Received: from pd4mo2so.prod.shaw.ca (shawidc-mo1.cg.shawcable.net [24.71.223.10]) by mx1.FreeBSD.org (Postfix) with ESMTP id A8EC043D4C for ; Thu, 6 Jan 2005 18:19:09 +0000 (GMT) (envelope-from flowers@users.sourceforge.net) Received: from pd2mr5so.prod.shaw.ca (pd2mr5so-qfe3.prod.shaw.ca [10.0.141.8]) by l-daemon (Sun ONE Messaging Server 6.0 HotFix 1.01 (built Mar 15 2004)) with ESMTP id <0I9W001KEQVX3C60@l-daemon> for freebsd-questions@freebsd.org; Thu, 06 Jan 2005 11:19:09 -0700 (MST) Received: from pn2ml9so.prod.shaw.ca ([10.0.121.7]) by pd2mr5so.prod.shaw.ca (Sun ONE Messaging Server 6.0 HotFix 1.01 (built Mar 15 2004)) with ESMTP id <0I9W00K3VQVXOEB0@pd2mr5so.prod.shaw.ca> for freebsd-questions@freebsd.org; Thu, 06 Jan 2005 11:19:09 -0700 (MST) Received: from procyon.nekulturny.org (S0106000c41b2b9a3.cg.shawcable.net [68.144.45.143]) by l-daemon (iPlanet Messaging Server 5.2 HotFix 1.18 (built Jul 28 2003)) with ESMTP id <0I9W00L6BQVXXK@l-daemon> for freebsd-questions@freebsd.org; Thu, 06 Jan 2005 11:19:09 -0700 (MST) Date: Thu, 06 Jan 2005 11:19:09 -0700 From: Danny MacMillan In-reply-to: <20050106065102.7B36.GERARD-SEIBERT@rcn.com> To: Gerard Seibert Message-id: <20050106181909.GB776@procyon.nekulturny.org> MIME-version: 1.0 Content-type: text/plain; charset=us-ascii Content-disposition: inline References: <20050106052050.9236.GERARD-SEIBERT@rcn.com> <41DD1869.6030502@mac.com> <20050106065102.7B36.GERARD-SEIBERT@rcn.com> User-Agent: Mutt/1.5.6i cc: freebsd-questions@freebsd.org Subject: Re: Configuring POSTFIX to use mutiple email accounts X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 06 Jan 2005 18:19:10 -0000 On Thu, Jan 06, 2005 at 06:57:15AM -0500, Gerard Seibert wrote: > On Thursday, January 06, 2005 5:52:25 AM Chuck Swiger wrote: > |>Gerard Seibert wrote: > |>> > |>> [snip] > |>> > |>> I have several email accounts. I use them for newsgroups, forums, etc. > |>> Most of the accounts use different 'SMTP' and 'POP' settings. However, > |>> in two cases, they use the same 'SMTP' and 'POP' addresses. I have not > |>> been able to find any definitive information on how to configure > |>> 'postfix' to handle this. > |> > |>Postfix is an MTA, it doesn't have anything to do with POP. > |>That's up to a mail client (MUA) like Mozilla or pine. > > OK, I got this information from this URL: > http://www.ofb.biz/modules.php?name=News&file=article&sid=326 > > [snip] > > Therefore, if I have several email addresses that are through different > ISP's, don't I have to configure POSTFIX fir each of them? As others have replied, you usually do not need to do this. The only exception I can think of is the one I ran into: If you use a third- party email service provider (like mail.com, or maybe even your own company's servers) and they have SPF records in place, you do need to route outgoing mail for those accounts through the third party's servers. If you don't, your mail will probably be marked as spam. If you use a comprehensive mail client, you can usually specify in the client which SMTP servers to use for which accounts. Postfix doesn't enter the picture in that case. If you use a mail client that insists on sending mail through the local MTA (e.g. Postfix), like Mutt does, you have to perform some hoop-jumpery. /usr/ports/mail/esmtp will get this to work; there may be others. It routes mail to different SMTP servers based on the envelope From address. There may be other solutions, e.g. patches to one or another MTA to allow it to perform this discriminatory routing, but I'm not aware of any (although I know qmail has a patch to allow it to perform SMTP authorization when required). -- Danny