I want to create maildirs with unix script, so question is how to create directory like in this example:
example.com/j/o/h/john-2011.04.07.09.35.49/
if i have only three arguments - mailserver (example.com) and username (john) and time I don`t know how to make that "split part" for unix script, how to extract first three letters for username john look like example above. Thank you in advance!