Women in Technology

Hear us Roar

  Configuring sendmail on Jaguar
Subject:   using Mail.app to check unix mail
Date:   2003-01-03 23:11:47
From:   jeffschuler
How can I use Mail.app to check mail that comes to my unix user account?

I thought the Accounts section of Mail preferences used to have an option for this, but no longer....?

Thanks much for all the rest of the help. Everything went quite well for me, except I had to remove the changes I made to NetInfo (% sudo niutil -create . /locations/sendmail) for sendmail to work properly...

Full Threads Oldest First

Showing messages 1 through 3 of 3.

  • using Mail.app to check unix mail
    2003-01-11 22:18:50  docwalker [View]

    Create a new IMAP mail account in Mail.app.

    Account Information tab:
    Incoming mail server:
    User name: {your Mac's login name}
    Password: {your login password}
    Outgoing Mail Server: (Options...Server Port: 25, SSL is unchecked, Authentication: None, User Name: (blank), Password: (blank))

    Advanced tab:
    Account Directory: ~/Library/Mail
    IMAP Path Prefix: Mail/
    Port: 993
    Use SSL
    Authentication: Password

    Install IMAP, if you haven't already done this.
    curl ftp://ftp.cac.washington.edu/imap/imap.tar.Z > imap.tar.Z
    uncompress imap.tar.Z
    tar xf imap.tar
    sudo mv imap-2002a /usr/local/share
    sudo chown -R root /usr/local/share/imap-2002a
    cd /usr/local/share/imap-2002a
    sudo make clean osx SSLTYPE=unix EXTRACFLAGS=-DDISABLE_REVERSE_DNS_LOOKUP (say y to warning)
    sudo cp /usr/local/share/imap-2002a/imapd/imapd /usr/local/bin/imapd
    sudo chown root /usr/local/bin/imapd/imapd
    sudo chmod a-w /usr/local/bin/imapd/imapd

    sudo mkdir -p /System/Library/OpenSSL/certs
    sudo openssl req -new -x509 -nodes -out \
    /System/Library/OpenSSL/certs/imapd.pem -keyout \
    /System/Library/OpenSSL/certs/imapd.pem -days 3650

    (enter relevant info at prompts)

    Modify inetd.conf file:
    sudo pico /etc/inetd.conf

    Add the following lines to end of file:
    imap stream tcp nowait root /usr/local/bin/imapd imapd
    imaps stream tcp nowait root /usr/local/bin/imapd imapd

    Save and exit.

    You should now be able to check your unix mailbox from Mail.app.
    • using Mail.app to check unix mail
      2003-04-09 17:50:32  jswayze [View]

      After following the instructions, I get the following message in Mail.app:

      Unable to connect. There may be a problem with the mail server or network. Check the settings for account “UNIX Mail” or try again.

      It seems like it's having a hard time connecting to I'm wondering, do I have to have some certain network services turned on in order for this to work?

      Also, I'm not seeing how this IMAP server (if it's even running - I have no way of knowing) knows how to get the messages from my /var/mail/jswayze file.

      I'm really confused on this one, and on top of that, it doesn't even work. :(

      I'm using "popread" to send my incoming mail through spamassassin, and that seems to work - I can see my messages when I type "mail" at the Unix prompt. However, I'm dead in the water after that, and can't get the message to show up in Mail.app.

      Help here would surely be appreciated. I'm feeling the heavy weight of UNIX after 4 hours of trying to get this to work.


      • using Mail.app to check unix mail
        2003-10-30 08:10:58  anonymous2 [View]

        Look at this article. It looks like you need also to configure netinfo and to restart inetd.


        Andrey Babak