Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 06 Jan 2005 11:19:09 -0700
From:      Danny MacMillan <flowers@users.sourceforge.net>
To:        Gerard Seibert <gerard-seibert@rcn.com>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: Configuring POSTFIX to use mutiple email accounts
Message-ID:  <20050106181909.GB776@procyon.nekulturny.org>
In-Reply-To: <20050106065102.7B36.GERARD-SEIBERT@rcn.com>
References:  <20050106052050.9236.GERARD-SEIBERT@rcn.com> <41DD1869.6030502@mac.com> <20050106065102.7B36.GERARD-SEIBERT@rcn.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, Jan 06, 2005 at 06:57:15AM -0500, Gerard Seibert wrote:
> On Thursday, January 06, 2005 5:52:25 AM Chuck Swiger <cswiger@mac.com> 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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20050106181909.GB776>