Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 27 Mar 2006 20:19:34 -0900
From:      Beech Rintoul <beech@mangohealth.org>
To:        freebsd-questions@freebsd.org
Cc:        "Kelly D. Grills" <kdgrills@the-grills.com>, User Elisej <a@zeos.net>
Subject:   Re: Mail service principles: can I have the second mailbox
Message-ID:  <200603272019.48970.beech@mangohealth.org>
In-Reply-To: <20060328042037.GB818@>
References:  <20060326131921.GA1884@> <20060328014742.GG752@the-grills.com> <20060328042037.GB818@>

next in thread | previous in thread | raw e-mail | index | archive | help
--nextPart4248048.XkbqdPh5F0
Content-Type: text/plain;
  charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
Content-Disposition: inline

On Monday 27 March 2006 19:20, User Elisej wrote:
> On Mon, Mar 27, 2006 at 07:47:43PM -0600, Kelly D. Grills wrote:
> > On Mon, Mar 27, 2006 at 09:28:55AM +0300, User Elisej wrote:
> > > Yes, sir, I will provide any information you need.
> >
> > I could be a maam, you never can tell ;=3D)
> >
> > > I want to have two mailboxes with two addresses (for one account)
> > > on my computer. These different mailboxes I mean to use for different
> > > sources of incoming mail. So I need two real mailboxes, not two alias=
es
> > > for one mailbox. Then I can give my different address to different
> > > senders.
> > >
> > > Although, I can make all mail going to one address and then filter
> > > incoming mail, I think it is a wrong way, because of superfluous
> > > action.
> >
> > Well, there goes my plan. I'd think an alias along with a procmail reci=
pe
> > to filter into separate mbox's would be a simple and effective solution.
> > Not sure what you mean by "superfluous action".
>
> I mean merging two mail flows together (the first and simple step) and
> subsequent separation the same flows by filtering (the second and
> complicated step)
>
> > > One mailbox I have since account creation. Its address is account nam=
e.
> > > The sendmail sends a mail to this address to /var/mail/account_name.
> > > How to make the second mailbox?
> > >
> > > I have installed FreeBSD 6.0 and Sendmail 8.13.5.
> >
> > I run Qmail. Hopefully someone with Sendmail knowledge will chime in
> > and provide the assistance you need.

You can use procmail to forward mail to a second mailbox based on the "To"=
=20
field. Here's a good tutorial to get you started:

http://userpages.umbc.edu/~ian/procmail.html

here's another:

http://pegasus.rutgers.edu/~elflord/unix/procmail.html

And finally, here's the procmail doc project:

http://sourceforge.net/projects/pm-doc

Hope you find this useful.

Beech

=2D-=20

=2D------------------------------------------------------------------------=
=2D-------------
Beech Rintoul - Sys. Administrator - beech@mangohealth.org
/"\   ASCII Ribbon Campaign  | Mangohealth
\ / - NO HTML/RTF in e-mail  | 201 East 9Th Avenue Ste.310
 X  - NO Word docs in e-mail | Anchorage, AK 99501
/ \  - XanGo - http://www.mangohealth.org
=2D------------------------------------------------------------------------=
=2D-------------












--nextPart4248048.XkbqdPh5F0
Content-Type: application/pgp-signature

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2.2 (FreeBSD)

iD8DBQBEKMd02TFLCHYGSF0RAtlYAJ45UWjAkaQsg6nPsG8XsbdS1YmvdgCeOrWN
ZWHyWLfQYEOph0RTYEfn070=
=kB8U
-----END PGP SIGNATURE-----

--nextPart4248048.XkbqdPh5F0--



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