How to create mailbox consist of 3 and less characters

7 views
Skip to first unread message

Geo Ruffus

unread,
Dec 26, 2013, 7:03:28 AM12/26/13
to openma...@googlegroups.com
Live long & prosper!

Q1:
I really need to create 3 and 1 characters mailbox but I can't.
What am I to do?
Q2:
How to create mailbox on which all outgoing letters will be copied

THX in advance.

Mark Kubacki

unread,
Dec 26, 2013, 8:29:10 AM12/26/13
to openma...@googlegroups.com
After copying the following line into you config.local.inc.php modify it:
[1] https://github.com/wmark/openmailadmin/blob/cc294449e9ffaeec5be9ec66c7fa68d326289d05/inc/config.inc.php#L66

… and mailboxes two or more characters long should work. I am not sure if Cyrus will accept mailboxes one character long, though.

----
Neither Openmailadmin nor Cyrus (or similar) are sitting in the path of outgoing messages. Therefore, in order to make copies of every incoming or outgoing message, you should configure your MTA accordingly. For Postfix, see this configuration settings:
always_bcc, sender_bcc_maps, recipient_bcc_maps

For example:
sender_bcc_maps = regexp:/etc/postfix/archive_if
recipient_bcc_maps = regexp:/etc/postfix/archive_if
… with /etc/postfix/archive_if:
/^([^@]+)\@ufp\.(com|net|org|de|terra)$/ arc...@ufp.local

You will want to purge old messages. In Germany, keeping them for 6 years + 3 days (2194 days) is sufficient for most firms:
# cyradm -u adminuser localhost
>>> mboxcfg user/jonathan.archer expire 2194

--
Mark
Reply all
Reply to author
Forward
0 new messages