Posts Tagged ‘imap’
This post assume you have just installed SLES on your server, and that the server in correctly configured to access internet.
This post also assume that you want to create a mail server for the following domain :
- yourdomain.com
- yourdomain.net
In this post we’re going to create a local mail server, that support the two domain above (but could be more than those) based on Postfix and Cyrus-Imap, with IMAP, IMAPS and SIEVE support, optionally you could add also Antivirus and AntiSpam using Amavisd-New with Clamav and SpamAssassin, and we also going to provide a webmail using squirrelmail.
This post assume you want to put this mail server on your DMZ with an ip address 192.168.100.1 and that you want to permit mail relay from your local network (192.168.1.0/24) and from authenticated user.
All the tasks above will be explained in the rest of the post.
The following is a quick and dirt guide on how to use a mailbox with the “.” character with Cyrus Imap.
add the following line to your imapd.conf
unixhierarchysep: 1
login to your cyrus imap server and run the following command to create a new mailbox
cm user/your.name
setacl user/your.name cyrus lrsiwpcda
When the UNIX hierarchy convention is used, the “.” character MAY be used in mailbox names, including user names. In order to mantain backwards compatibility with the internal namespace, all “.” character will be translated in a benign character (at this time “^”) before any data is written to disk. For example, if user “your.name” had a personal mailbox “customer.support” , it would be stored as “user.your^name.customer^support” in the internal namespace.
If you use it, it’s very important that you remember this phenomenon if/when reverting back to the netnews hierarchy convention.
Hope this help
Bye
Riccardo
Print This Post























