Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!


Click here to return to the 'Run a local IMAPd server for extra Mail storage' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
Run a local IMAPd server for extra Mail storage
Authored by: fozzy on Jul 03, '04 01:29:20AM
I would add a couple steps/clarifications to Michael's original doc. That is that when creating the SSL certificate, you must specify the client hostname or IP address when prompted for "Common Name" As in the below:

fozzypb12:/System/Library/OpenSSL/certs $ openssl req -new -x509 -nodes -out imapd.pem  -keyout imapd.pem -days 3650
Generating a 1024 bit RSA private key
......................................................++++++
.................................++++++
writing new private key to 'imapd.pem'
-----
You are about to be asked to enter information that will be incorporated
into your certificate request.
What you are about to enter is what is called a Distinguished Name or a DN.
There are quite a few fields but you can leave some blank
For some fields there will be a default value,
If you enter '.', the field will be left blank.
-----
Country Name (2 letter code) [AU]:
State or Province Name (full name) [Some-State]:
Locality Name (eg, city) []:
Organization Name (eg, company) [Internet Widgits Pty Ltd]:
Organizational Unit Name (eg, section) []:
Common Name (eg, YOUR name) []:192.168.1.103
It took me a while to figure that out. You'll need a separate imapd-IP.pem file for each host you intend to connect from. Also, this http://www.stepwise.com/Articles/Workbench/eart.index.html seems to be an alternate way that goes into more detail around integrating fetchmail, etc. That's where I found the bit about "Common Name" being IP address.

[ Reply to This | # ]