Re: Composing email in Mail.app



On 2005-08-15, Jason Jablon <jsnjabber@xxxxxxxxxxxxxx> wrote:

[Please try to keep quoted text to a minimum]

> I have tried to configure fetchmail before, without much luck. Any
> sugestions. I am using Mac OS X Tiger 10.4.2 and have two POP3

This is pretty easy. Create a file called .fetchmailrc in your home
directory. It should look more or less like this:


poll mail.popserver1.net
protocol pop3
username jsnjabber
mda "/usr/bin/formail -ds /usr/bin/procmail -d %T";
poll mail.popserver2.com
protocol pop3
username jsnjabber
mda "/usr/bin/formail -ds /usr/bin/procmail -d %T";

If either pop server uses ssl, add ' ssl' to the end of the username
line.

Of course replace the usernames and server names as appropriate.

If your username on the pop servers is different from your username on
your Mac, it's slightly messier. Let's say your username on the Mac is
jsnjabber and your username on mail.popserver1.net is jason. Then the
entry for that server would look like this:

poll mail.popserver1.net
protocol pop3
username jason is jsnjabber here
mda "/usr/bin/formail -ds /usr/bin/procmail -d %T";



Once you have .fetchmailrc configured (this is a one-time thing), you
can have fetchmail check mail every 10 minutes in every account as
follows:

fetchmail -d 600

You'll be prompted for the passwords for each account. By default the
downloaded mail will end up in /var/mail/jsnjabber (or whatever your
username is on your Mac), which mutt will always read. You can
configure .procmailrc to do filtering if you like.



> one IMAP accounts.

There's excellent imap support in mutt. Set the 'folder' variable in
..muttrc to point to the imap server, something like this:

set folder=imap://jsnjabber@xxxxxxxxxxxxxxxxx/

As above, you should of course replace the username and server as
appropriate. If your imap mailbox files are in some non-standard place
on the server, add that to the end (this is the equivalent of Mail.app's
'IMAP Path Prefix' option). For example:

set folder=imap://jsnjabber@xxxxxxxxxxxxxxxxx/Documents/mail


If your imap server uses ssl, specify imaps: instead of imap:.
.



Relevant Pages

  • Re: [SLE] POP Mail HOWTO?
    ... people, who have the option to log onto the serving machine and read mail from there, OR to read their mail from other PCs in the building, then you want fetchmail and and IMAP server to all start and run as processes when the machine boots. ... or can it handle /data/Maildir for the non-local subscribers as well as individual ~/Maildir for those who have local login accounts? ...
    (SuSE)
  • RE: Got Postfix now what?
    ... "mail server redhat" on google should give you something. ... > remotely either over the web or through IMAP or POP3. ... imap, postfix and fetchmail. ... poll pop.yourISP protocol pop3 username "user1" password "password" is ...
    (Fedora)
  • Re: mail in a home data center?
    ... old age trying to understand sendmail - it would be a close ... Use fetchmail to drag in mail from any POP, IMAP, or a plethora of other ... server types, and drop it in user's local mailboxes. ... Set fetchmail to periodically run. ...
    (Fedora)
  • Re: Cant find inetd.conf
    ... > Postfix and fetchmail can be started in Yast, System, Runlevel. ... I am almost there with my IMAP server, step by step, gazillion ...
    (alt.os.linux.suse)
  • Re: local imap server using fetchmail
    ... > I have installed fetchmail and cyrus imap rpms on my machine in the ... all I had to do was set up fetchmail to ... poll the remote server and deliver it to a local user. ...
    (Fedora)