Date: Tue, 3 Aug 2004 08:42:21 +0200 From: Sven Pfeifer <sven@yagonna.de> To: freebsd-chat@freebsd.org Subject: Re: MUTT - fetchmail? procmail? or only need sendmail? Message-ID: <20040803064221.GA88678@yagonna.de> In-Reply-To: <410EFF57.7030507@me.point.ne.jp> References: <410EFF57.7030507@me.point.ne.jp>
next in thread | previous in thread | raw e-mail | index | archive | help
Hi, Srot BULL <pwd8jmr22w@me.point.ne.jp> wrote: > Hi, >=20 > I hope that you guys are in the mood to help me out here. >=20 > The Short version: > I just want to use mutt as my MUA. OK, so far. > The Long version: > I just want to use mutt as my MUA. > I have diffirent email accounts (all POP Accounts) and I want all email= s=20 > delivered in different mailboxes that I have created and have mutt read= =20 > them. That=C5=BDs exactly what I do here. > I went to the mutt homepage and read about mutt not being able to filte= r=20 > emails. It mentioned about fetchmail and procmail. I did some reading=20 > but somehow...i give-up maybe because I have been comtemplating and bee= n=20 > doing some reading in mutt for days now. I have finally finished my=20 > muttrc but, I still use mutt only for testing (i am presently using=20 > thunderbird as you can see). > Now, what would you guys do if you have different POP mail accounts and= =20 > want them delivered in specific folders. > Do I really have to use fetchmail to retrieve my emails Yes, you have to. First of all I use fetchmail to get all my mail from the different locations. Here you can find a sample ~/.fetchmailrc ---8<-- ### location #1 ### poll mailserver.location1.com proto POP3 user username_on_first_remote_server password password_for_user_on_first_remote_server is local_username ### location #2 ### poll mailout.location2.net proto POP3 user username_on_second_remote_server password password_for_user_on_second_remote_server is local_username -->8--- > and have procmail delivered them to my folders Why not, procmail does it=C5=BDs job very well. Here=C5=BDs the way, I configured procmail (just a sample) in=20 ~/.procmailrc. ---8<-- ###~~~~~~~~~~~~~~~~### ### my first email ### ###________________### :0: * ^To:.*my-first-email@location1.com in/my-first-email ###~~~~~~~~~~~~~~~~~### ### my second email ### ###_________________### :0: * ^To:.*my-second-email@location1.com in/my-second-email --->8-- > and then have sendmail deliver all=20 > my outgoing emails? No, here you can use another MTA (e.g. Postfix, Exim, etc.). But for mutt it=C5=BDs necesary, that there is a local MTA listening on port 25. I prefere Postfix, but if you like Sendmail, there should be no problem. > Can't sendmail do this all? No, Sendmail is just a MTA. There is no way to fetch mails from POP-accounts. > If you have combinations that you can share please do. In order te let Mutt know of all these mailboxes, I use=20 the option "mailboxes" in my ~/.muttrc. ---8<-- mailboxes ! \ # local mailbox (/var/mail/$USERNAME) =3Din/my-first-email \ =3Din/my-second-email -->8--- > Thanks and hope to hear from anybody... >=20 > Srot BULL HTH Sven --=20 Why You Can't Find Your System Administrator: is pulling a blue snake out of a IBM 3850 (?) DASD in the machine room = to give to the CS museum. --Russell Street russells@ccu1.auckland.ac.nz] -----------------------------------------------------[rand. sig. #135]
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20040803064221.GA88678>